|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Production | |
---|---|
grammar | |
grammar.cfg |
Uses of Production in grammar |
---|
Methods in grammar that return Production | |
---|---|
Production[] |
Grammar.getProductions()
Returns all productions in the grammar. |
Methods in grammar with parameters of type Production | |
---|---|
void |
Grammar.addProduction(Production production)
Adds a production to the set of productions in the grammar. |
void |
Grammar.addProductions(Production[] productions)
Adds productions to grammar |
abstract void |
Grammar.checkProduction(Production production)
Checks whether a production is invalid |
static boolean |
ProductionChecker.isTerminalProduction(Production production)
Returns true if a given production is a terminal production, whose RHS has no variables. |
static boolean |
ProductionChecker.isVariableProduction(Production production)
Returns true if a given production is a variable production, whose RHS has at least one variable. |
Uses of Production in grammar.cfg |
---|
Subclasses of Production in grammar.cfg | |
---|---|
class |
MyProduction
The class for productions of context-free grammars with index numbers. |
Methods in grammar.cfg with parameters of type Production | |
---|---|
void |
MyGrammar.addProduction(Production production)
|
void |
MyGrammar.checkProduction(Production production)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |