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