Package | Description |
---|---|
net.percederberg.grammatica.parser |
Modifier and Type | Method and Description |
---|---|
void |
ProductionPattern.addAlternative(ProductionPatternAlternative alt)
Adds a production pattern alternative.
|
void |
RecursiveDescentParser.addPattern(ProductionPattern pattern)
Adds a new production pattern to the parser.
|
void |
Parser.addPattern(ProductionPattern pattern)
Adds a new production pattern to the parser.
|
void |
Tokenizer.addPattern(TokenPattern pattern)
Adds a new token pattern to the tokenizer.
|
protected Tokenizer |
Parser.newTokenizer(java.io.Reader input)
Creates a new tokenizer for this parser.
|
Node |
Parser.parse()
Parses the token stream and returns a parse tree.
|
void |
RecursiveDescentParser.prepare()
Initializes the parser.
|
void |
Parser.prepare()
Initializes the parser.
|
Constructor and Description |
---|
RecursiveDescentParser(java.io.Reader input)
Creates a new parser.
|
RecursiveDescentParser(java.io.Reader input,
Analyzer analyzer)
Creates a new parser.
|