| Constructor and Description |
|---|
RuleList(Rule first,
Rule next,
boolean or) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public void accept(BnfVisitor visitor)
Rulepublic void setLinks(java.util.HashMap<java.lang.String,RuleHead> ruleMap)
Rulepublic boolean autoComplete(Sentence sentence)
RuleautoComplete in interface Rulesentence - the sentence context