
org.antlr.v4.test.runtime.templates.SemPredEvalLexer.RuleSempredFunction.stg Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of runtime-testsuite Show documentation
Show all versions of runtime-testsuite Show documentation
A collection of tests for ANTLR 4 Runtime libraries.
The newest version!
TestType() ::= "Lexer"
Options ::= [
"ShowDFA": false
]
Grammar ::= [
"L": {}
]
Input() ::= "aaa"
Output() ::= <<
[@0,0:0='a',\<1>,1:0]
[@1,1:1='a',\<1>,1:1]
[@2,2:2='a',\<1>,1:2]
[@3,3:2='\',\<-1>,1:3]<\n>
>>
Errors() ::= ""
grammar(grammarName) ::= <<
lexer grammar ;
T : 'a' {}? ;
>>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy