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(HashMap<String,RuleHead> ruleMap)
Update cross references.
|
public void accept(BnfVisitor visitor)
Rule
public void setLinks(HashMap<String,RuleHead> ruleMap)
Rule
public boolean autoComplete(Sentence sentence)
Rule
autoComplete
in interface Rule
sentence
- the sentence contextCopyright © 2017 JBoss by Red Hat. All rights reserved.