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

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

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

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

Input() ::= <%
\ / \/ /\
%>

Output() ::= <<
[@0,0:0='\',\<1>,1:0]
[@1,2:2='/',\<2>,1:2]
[@2,4:5='\/',\<3>,1:4]
[@3,7:8='/\',\<4>,1:7]
[@4,9:8='\',\<-1>,1:9]<\n>
>>

Errors() ::= ""

grammar(grammarName) ::= <<
lexer grammar ;
Backslash : '\\\\';
Slash : '/';
Vee : '\\\\/';
Wedge : '/\\\\';
WS : [ \t] -> skip;
>>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy