Public Member Functions | |
| SerializedGrammar (String filename) throws IOException | |
| String | toString () |
Public Attributes | |
| String | name |
| char | type |
| List | rules |
Static Public Attributes | |
| static final String | COOKIE = "$ANTLR" |
| static final int | FORMAT_VERSION = 1 |
Protected Member Functions | |
| void | readFile (DataInputStream in) throws IOException |
| List | readRules (DataInputStream in, int numRules) throws IOException |
| Rule | readRule (DataInputStream in) throws IOException |
| Block | readBlock (DataInputStream in) throws IOException |
| List | readAlt (DataInputStream in) throws IOException |
| String | readString (DataInputStream in) throws IOException |
Classes | |
| class | Block |
| class | Rule |
| class | RuleRef |
| class | TokenRef |
Definition at line 38 of file SerializedGrammar.java.
| org.antlr.runtime.SerializedGrammar.SerializedGrammar | ( | String | filename | ) | throws IOException |
Definition at line 89 of file SerializedGrammar.java.
| void org.antlr.runtime.SerializedGrammar.readFile | ( | DataInputStream | in | ) | throws IOException [protected] |
Definition at line 98 of file SerializedGrammar.java.
| List org.antlr.runtime.SerializedGrammar.readRules | ( | DataInputStream | in, | |
| int | numRules | |||
| ) | throws IOException [protected] |
Definition at line 112 of file SerializedGrammar.java.
| Rule org.antlr.runtime.SerializedGrammar.readRule | ( | DataInputStream | in | ) | throws IOException [protected] |
Definition at line 121 of file SerializedGrammar.java.
| Block org.antlr.runtime.SerializedGrammar.readBlock | ( | DataInputStream | in | ) | throws IOException [protected] |
Definition at line 133 of file SerializedGrammar.java.
| List org.antlr.runtime.SerializedGrammar.readAlt | ( | DataInputStream | in | ) | throws IOException [protected] |
Definition at line 145 of file SerializedGrammar.java.
| String org.antlr.runtime.SerializedGrammar.readString | ( | DataInputStream | in | ) | throws IOException [protected] |
Definition at line 182 of file SerializedGrammar.java.
| String org.antlr.runtime.SerializedGrammar.toString | ( | ) |
Definition at line 192 of file SerializedGrammar.java.
final String org.antlr.runtime.SerializedGrammar.COOKIE = "$ANTLR" [static] |
Definition at line 39 of file SerializedGrammar.java.
final int org.antlr.runtime.SerializedGrammar.FORMAT_VERSION = 1 [static] |
Definition at line 40 of file SerializedGrammar.java.
Definition at line 43 of file SerializedGrammar.java.
Definition at line 44 of file SerializedGrammar.java.
Definition at line 45 of file SerializedGrammar.java.
1.5.5