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