UNPKG

@mike-lischke/antlr-tgen

Version:

A generator for antlr-ng runtime test cases

22 lines (17 loc) 268 B
[type] Lexer [grammar] lexer grammar L; Backslash : '\\\\'; Slash : '/'; Vee : '\\\\/'; Wedge : '/\\\\'; WS : [ \t] -> skip; [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='<EOF>',<-1>,1:9]