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

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

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

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

Input() ::= <%
ab
%>

Output() ::= <<
a
b
[@0,0:0='a',\<1>,1:0]
[@1,1:1='b',\<3>,1:1]
[@2,2:1='\',\<-1>,1:2]<\n>
>>

Errors() ::= ""

grammar(grammarName) ::= <<
lexer grammar ;
I : .*? ('a' | 'ab') {} ;
WS : (' '|'\n') -> skip ;
J : . {};
>>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy