public interface Rule
| 限定符和类型 | 方法和说明 |
|---|---|
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 © 2017. All rights reserved.