org.antlr.runtime.SerializedGrammar Class Reference

List of all members.

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


Detailed Description

Definition at line 38 of file SerializedGrammar.java.


Constructor & Destructor Documentation

org.antlr.runtime.SerializedGrammar.SerializedGrammar ( String  filename  )  throws IOException

Definition at line 89 of file SerializedGrammar.java.


Member Function Documentation

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.


Member Data Documentation

final String org.antlr.runtime.SerializedGrammar.COOKIE = "$ANTLR" [static]

Definition at line 39 of file SerializedGrammar.java.

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.


The documentation for this class was generated from the following file:

Generated on Tue Jul 19 11:42:05 2011 for ANTLR API by  doxygen 1.5.5