Package | Description |
---|---|
net.percederberg.grammatica.parser |
Modifier and Type | Method and Description |
---|---|
ProductionPattern |
ProductionPatternAlternative.getPattern()
Returns the production pattern containing this alternative.
|
ProductionPattern |
Production.getPattern()
Returns the production pattern for this production.
|
Modifier and Type | Method and Description |
---|---|
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.
|
protected Production |
Parser.newProduction(ProductionPattern pattern)
Factory method to create a new production node.
|
protected Production |
Analyzer.newProduction(ProductionPattern pattern)
Factory method to create a new production node.
|
Constructor and Description |
---|
Production(ProductionPattern pattern)
Creates a new production node.
|