|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Rule | |
---|---|
org.ourgrid.common.spec.grammar | |
org.ourgrid.common.spec.syntactical |
Uses of Rule in org.ourgrid.common.spec.grammar |
---|
Methods in org.ourgrid.common.spec.grammar that return Rule | |
---|---|
Rule |
Grammar.getRule(int ruleNumber)
Returns the rule defined by a given number. |
Rule |
CommonGrammar.getRule(int id)
|
Rule |
Grammar.getRule(Symbol stackTop,
Symbol nextSymbol)
At a syntactical compilation ( considering a predictor LL(n) grammar) this is one of the principal operations, that is: at one certain moment, where the next symbol from source and the stack top are non-terminals, it is necessary to know what rule from grammar has to be used to continue with the process. |
Rule |
CommonGrammar.getRule(Symbol stackTop,
Symbol nextSymbol)
|
Methods in org.ourgrid.common.spec.grammar that return types with arguments of type Rule | |
---|---|
java.util.Iterator<Rule> |
CommonGrammar.getRules()
Gets all the rules of the grammar. |
Methods in org.ourgrid.common.spec.grammar with parameters of type Rule | |
---|---|
void |
Grammar.addRule(Rule newRule)
Adds a new rule to the grammar. |
void |
CommonGrammar.addRule(Rule rule)
|
Uses of Rule in org.ourgrid.common.spec.syntactical |
---|
Methods in org.ourgrid.common.spec.syntactical with parameters of type Rule | |
---|---|
void |
SyntacticalDerivationTree.pushRule(Rule rule)
Pushes (insert) a given rule at the top of the derivation stack. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |