| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private Rule | |
| private final String | |
| private final int |
| 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 |
| keyword | back to summary |
|---|---|
| private final boolean keyword | |
| link | back to summary |
|---|---|
| private Rule link | |
| name | back to summary |
|---|---|
| private final String name | |
| type | back to summary |
|---|---|
| private final int type | |
| RuleElement | back to summary |
|---|---|
| public RuleElement(String name, String topic) | |
| 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- | |