| java.lang.Object xtc.parser.ParserBase xtc.parser.PParser
PParser | final public class PParser extends ParserBase (Code) | | Packrat parser for grammar xtc.parser.PGrammar .
This class has been generated by the Rats! parser
generator, version 1.13.1, (C) 2004-2007 Robert Grimm.
|
Inner Class :final static class Chunk1 | |
Inner Class :final static class Chunk2 | |
Inner Class :final static class Chunk3 | |
Inner Class :final static class Chunk4 | |
Inner Class :final static class PParserColumn extends Column | |
Method Summary | |
protected Column | newColumn() | public Result | pAttribute(int yyStart) Parse nonterminal xtc.parser.PGrammar.Attribute.
Parameters: yyStart - The index. | public Result | pModule(int yyStart) Parse nonterminal xtc.parser.PGrammar.Module.
Parameters: yyStart - The index. |
PParser | public PParser(Reader reader, String file)(Code) | | Create a new packrat parser.
Parameters: reader - The reader. Parameters: file - The file name. |
PParser | public PParser(Reader reader, String file, int size)(Code) | | Create a new packrat parser.
Parameters: reader - The file reader. Parameters: file - The file name. Parameters: size - The file size. |
pAttribute | public Result pAttribute(int yyStart) throws IOException(Code) | | Parse nonterminal xtc.parser.PGrammar.Attribute.
Parameters: yyStart - The index. The result. throws: IOException - Signals an I/O error. |
pModule | public Result pModule(int yyStart) throws IOException(Code) | | Parse nonterminal xtc.parser.PGrammar.Module.
Parameters: yyStart - The index. The result. throws: IOException - Signals an I/O error. |
Methods inherited from xtc.parser.ParserBase | final protected T apply(Pair<Action<T>> actions, T seed)(Code)(Java Doc) final protected T apply(Pair<Action<T>> actions, T seed, int index)(Code)(Java Doc) final protected static T cast(Object o)(Code)(Java Doc) final protected static Pair<T> cast(Pair> p)(Code)(Java Doc) final protected int character(int index) throws IOException(Code)(Java Doc) final protected Column column(int index)(Code)(Java Doc) final protected String difference(int start, int end)(Code)(Java Doc) final public String format(ParseError error) throws IOException(Code)(Java Doc) final public boolean isEOF(int index)(Code)(Java Doc) final public String lineAt(int index) throws IOException(Code)(Java Doc) final public Location location(int index)(Code)(Java Doc) abstract protected Column newColumn()(Code)(Java Doc) final protected String peek(int index)(Code)(Java Doc) final public void resetTo(int index)(Code)(Java Doc) final protected void setLocation(int index, String file, int line, int column)(Code)(Java Doc) final public void setLocation(Locatable locatable, int index)(Code)(Java Doc) final public void signal(ParseError error) throws ParseException, IOException(Code)(Java Doc) final public Object value(Result r) throws ParseException, IOException(Code)(Java Doc)
|
|
|