| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | accept(BnfVisitor
the visitor visitor)Implements org. Call the visit method in the given visitor. |
| public boolean | autoComplete(Sentence
the sentence context sentence)Implements org. Add the next possible token(s). |
| public void | setLinks(HashMap<String, RuleHead>
the reference map ruleMap)Implements org. Update cross references. |
| public String |
| mapSet | back to summary |
|---|---|
| private boolean mapSet | |
| rule | back to summary |
|---|---|
| private final Rule rule | |
| RuleOptional | back to summary |
|---|---|
| public RuleOptional(Rule rule) | |
| accept | back to summary |
|---|---|
| public void accept(BnfVisitor visitor) Implements org. Doc from org. Call the visit method in the given visitor.
| |
| autoComplete | back to summary |
|---|---|
| public boolean autoComplete(Sentence sentence) Implements org. Doc from org. Add the next possible token(s). If there was a match, the query in the sentence is updated (the matched token is removed). | |
| setLinks | back to summary |
|---|---|
| public void setLinks(HashMap<String, RuleHead> ruleMap) Implements org. Doc from org. Update cross references. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |