UNPKG

@mike-lischke/antlr-tgen

Version:

A generator for antlr-ng runtime test cases

17 lines (12 loc) 191 B
[type] Lexer [grammar] lexer grammar L; I : ~[ab \n] ~[ \ncd]* {<writeln("\"I\"")>} ; WS : [ \n\\u000D]+ -> skip ; [input] xaf [output] I [@0,0:2='xaf',<1>,1:0] [@1,3:2='<EOF>',<-1>,1:3]