|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.h2.bnf.RuleElement
public class RuleElement
A single terminal rule in a BNF object.
| Constructor Summary | |
|---|---|
RuleElement(java.lang.String name,
java.lang.String topic)
|
|
| Method Summary | |
|---|---|
void |
accept(BnfVisitor visitor)
Call the visit method in the given visitor. |
boolean |
autoComplete(Sentence sentence)
Add the next possible token(s). |
void |
setLinks(java.util.HashMap<java.lang.String,RuleHead> ruleMap)
Update cross references. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RuleElement(java.lang.String name,
java.lang.String topic)
| Method Detail |
|---|
public void accept(BnfVisitor visitor)
Rule
accept in interface Rulevisitor - the visitorpublic void setLinks(java.util.HashMap<java.lang.String,RuleHead> ruleMap)
Rule
setLinks in interface RuleruleMap - the reference mappublic boolean autoComplete(Sentence sentence)
Rule
autoComplete in interface Rulesentence - the sentence context
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||