org.antlr.v4.test.runtime.templates.LexerExec.PositionAdjustingLexer.stg Maven / Gradle / Ivy
TestType() ::= "Lexer"
Grammar ::= [
"PositionAdjustingLexer": {}
]
Input() ::= <<
tokens
tokens {
notLabel
label1 =
label2 +=
notLabel<\n>
>>
TOKENS() ::= "\<4>"
LABEL() ::= "\<5>"
IDENTIFIER() ::= "\<6>"
Output() ::= <<
[@0,0:5='tokens',,1:0]
[@1,7:12='tokens',,2:0]
[@2,14:14='{',\<3>,2:7]
[@3,16:23='notLabel',,3:0]
[@4,25:30='label1', © 2015 - 2025 Weber Informatics LLC | Privacy Policy