orc.parser
Class OrcLiteralParser
java.lang.Object
xtc.parser.ParserBase
orc.parser.OrcLiteralParser
public final class OrcLiteralParser
- extends xtc.parser.ParserBase
Packrat parser for grammar orc.parser.OrcLiteralParser
.
This class has been generated by the Rats! parser
generator, version 1.14.0, (C) 2004-2008 Robert Grimm.
Fields inherited from class xtc.parser.ParserBase |
FIRST_COLUMN, FIRST_LINE, INCR_SIZE, INIT_SIZE, NEWLINE, yyColumns, yyCount, yyData, yyEOF, yyReader |
Constructor Summary |
OrcLiteralParser(java.io.Reader reader,
java.lang.String file)
Create a new packrat parser. |
OrcLiteralParser(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.OrcLiteralParser.LiteralValue. |
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 |
OrcLiteralParser
public OrcLiteralParser(java.io.Reader reader,
java.lang.String file)
- Create a new packrat parser.
- Parameters:
reader
- The reader.file
- The file name.
OrcLiteralParser
public OrcLiteralParser(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.
newColumn
protected xtc.parser.Column newColumn()
- Specified by:
newColumn
in class xtc.parser.ParserBase
pLiteralValue
public xtc.parser.Result pLiteralValue(int yyStart)
throws java.io.IOException
- Parse nonterminal orc.parser.OrcLiteralParser.LiteralValue.
- Parameters:
yyStart
- The index.
- Returns:
- The result.
- Throws:
java.io.IOException
- Signals an I/O error.