orc.parser
Class OrcParserRats

java.lang.Object
  extended by xtc.parser.ParserBase
      extended by orc.parser.OrcParserRats

public final class OrcParserRats
extends xtc.parser.ParserBase

Packrat parser for grammar orc.parser.OrcParserRats.

This class has been generated by the Rats! parser generator, version 1.14.0, (C) 2004-2008 Robert Grimm.


Field Summary
 
Fields inherited from class xtc.parser.ParserBase
FIRST_COLUMN, FIRST_LINE, INCR_SIZE, INIT_SIZE, NEWLINE, yyColumns, yyCount, yyData, yyEOF, yyReader
 
Constructor Summary
OrcParserRats(java.io.Reader reader, java.lang.String file)
          Create a new packrat parser.
OrcParserRats(java.io.Reader reader, java.lang.String file, int size)
          Create a new packrat parser.
 
Method Summary
protected  xtc.parser.Column newColumn()
           
 xtc.parser.Result pLiteralValue(int yyStart)
          Parse nonterminal orc.parser.OrcParserRats.LiteralValue.
 xtc.parser.Result pModule(int yyStart)
          Parse nonterminal orc.parser.OrcParserRats.Module.
 xtc.parser.Result pProgram(int yyStart)
          Parse nonterminal orc.parser.OrcParserRats.Program.
 
Methods inherited from class xtc.parser.ParserBase
apply, apply, cast, cast, character, column, difference, format, isEOF, lineAt, location, peek, resetTo, setLocation, setLocation, signal, value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OrcParserRats

public OrcParserRats(java.io.Reader reader,
                     java.lang.String file)
Create a new packrat parser.

Parameters:
reader - The reader.
file - The file name.

OrcParserRats

public OrcParserRats(java.io.Reader reader,
                     java.lang.String file,
                     int size)
Create a new packrat parser.

Parameters:
reader - The file reader.
file - The file name.
size - The file size.
Method Detail

newColumn

protected xtc.parser.Column newColumn()
Specified by:
newColumn in class xtc.parser.ParserBase

pProgram

public xtc.parser.Result pProgram(int yyStart)
                           throws java.io.IOException
Parse nonterminal orc.parser.OrcParserRats.Program.

Parameters:
yyStart - The index.
Returns:
The result.
Throws:
java.io.IOException - Signals an I/O error.

pModule

public xtc.parser.Result pModule(int yyStart)
                          throws java.io.IOException
Parse nonterminal orc.parser.OrcParserRats.Module.

Parameters:
yyStart - The index.
Returns:
The result.
Throws:
java.io.IOException - Signals an I/O error.

pLiteralValue

public xtc.parser.Result pLiteralValue(int yyStart)
                                throws java.io.IOException
Parse nonterminal orc.parser.OrcParserRats.LiteralValue.

Parameters:
yyStart - The index.
Returns:
The result.
Throws:
java.io.IOException - Signals an I/O error.