org.antlr.v4.test.runtime.templates.LexerExec.CharSet.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.
TestType() ::= "Lexer"
Grammar ::= [
"L": {}
]
Input() ::= "34<\n> 34"
Output() ::= <<
I
I
[@0,0:1='34',\<1>,1:0]
[@1,4:5='34',\<1>,2:1]
[@2,6:5='\',\<-1>,2:3]<\n>
>>
Errors() ::= ""
grammar(grammarName) ::= <<
lexer grammar ;
I : '0'..'9'+ {} ;
WS : [ \n\u000D] -> skip ;
>>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy