Class GrammarSerializerFoo

java.lang.Object
org.antlr.tool.GrammarSerializerFoo

public class GrammarSerializerFoo extends Object
Serialize a grammar into a highly compressed form with only the info needed to recognize sentences. FORMAT: file ::= $ANTLR<version:byte><grammartype:byte><name:string>;<numRules:short> rule ::= R<rulename:string>;B<nalts:short>. alt ::= A; elem ::= t<tokentype:short> | r<ruleIndex:short> | -<char:uchar><char:uchar> | ~ | w