|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectxtc.parser.ParserBase
orc.parser.OrcParserRats
public final class OrcParserRats
Packrat parser for grammar orc.parser.OrcParserRats.
| 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 |
|---|
public OrcParserRats(java.io.Reader reader,
java.lang.String file)
reader - The reader.file - The file name.
public OrcParserRats(java.io.Reader reader,
java.lang.String file,
int size)
reader - The file reader.file - The file name.size - The file size.| Method Detail |
|---|
protected xtc.parser.Column newColumn()
newColumn in class xtc.parser.ParserBase
public xtc.parser.Result pProgram(int yyStart)
throws java.io.IOException
yyStart - The index.
java.io.IOException - Signals an I/O error.
public xtc.parser.Result pModule(int yyStart)
throws java.io.IOException
yyStart - The index.
java.io.IOException - Signals an I/O error.
public xtc.parser.Result pLiteralValue(int yyStart)
throws java.io.IOException
yyStart - The index.
java.io.IOException - Signals an I/O error.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||