|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.h2.bnf.RuleList
public class RuleList
Represents a sequence of BNF rules, or a list of alternative rules.
| Constructor Summary | |
|---|---|
RuleList(Rule first,
Rule next,
boolean or)
|
|
| Method Summary | |
|---|---|
void |
accept(BnfVisitor visitor)
Call the visit method in the given visitor. |
boolean |
autoComplete(Sentence sentence)
Add the next possible token(s). |
void |
setLinks(java.util.HashMap<java.lang.String,RuleHead> ruleMap)
Update cross references. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RuleList(Rule first,
Rule next,
boolean or)
| Method Detail |
|---|
public void accept(BnfVisitor visitor)
Rule
accept in interface Rulevisitor - the visitorpublic void setLinks(java.util.HashMap<java.lang.String,RuleHead> ruleMap)
Rule
setLinks in interface RuleruleMap - the reference mappublic boolean autoComplete(Sentence sentence)
Rule
autoComplete in interface Rulesentence - the sentence context
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||