Package org.antlr.runtime
Class SerializedGrammar
java.lang.Object
org.antlr.runtime.SerializedGrammar
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) class
(package private) class
(package private) class
(package private) class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected List
protected SerializedGrammar.Block
protected void
protected SerializedGrammar.Rule
protected List
readRules
(DataInputStream in, int numRules) protected String
toString()
-
Field Details
-
COOKIE
- See Also:
-
FORMAT_VERSION
public static final int FORMAT_VERSION- See Also:
-
name
-
type
public char type -
rules
-
-
Constructor Details
-
SerializedGrammar
- Throws:
IOException
-
-
Method Details
-
readFile
- Throws:
IOException
-
readRules
- Throws:
IOException
-
readRule
- Throws:
IOException
-
readBlock
- Throws:
IOException
-
readAlt
- Throws:
IOException
-
readString
- Throws:
IOException
-
toString
-