All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.antlr.v4.test.runtime.templates.LexerExec.GreedyClosure.stg Maven / Gradle / Ivy

There is a newer version: 4.9.0
Show newest version
TestType() ::= "Lexer"

Grammar ::= [
	"L": {}
]

Input() ::= <<
//blah
//blah<\n>
>>

Output() ::= <<
[@0,0:13='//blah\n//blah\n',\<1>,1:0]
[@1,14:13='\',\<-1>,3:0]<\n>
>>

Errors() ::= ""

grammar(grammarName) ::= <<
lexer grammar ;
CMT : '//' .*? '\n' CMT*;
WS : (' '|'\t')+;
>>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy