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

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

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

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

Input() ::= <%
a x
%>

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

Errors() ::= ""

grammar(grammarName) ::= <<
lexer grammar ;
I : (~[ab \\n]|'a')  {} ;
WS : [ \n\u000D]+ -> skip ;
>>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy