Constructor and Description |
---|
RuleRepeat(Rule rule,
boolean comma) |
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 RuleRepeat(Rule rule, boolean comma)
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.