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