Class RuleList
java.lang.Object
org.h2.bnf.RuleList
- All Implemented Interfaces:
Rule
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(BnfVisitor visitor) Call the visit method in the given visitor.booleanautoComplete(Sentence sentence) Add the next possible token(s).voidUpdate cross references.toString()
-
Field Details
-
or
final boolean or -
list
-
mapSet
private boolean mapSet
-
-
Constructor Details
-
RuleList
-
-
Method Details
-
accept
Description copied from interface:RuleCall the visit method in the given visitor. -
setLinks
-
autoComplete
Description copied from interface:RuleAdd the next possible token(s). If there was a match, the query in the sentence is updated (the matched token is removed).- Specified by:
autoCompletein interfaceRule- Parameters:
sentence- the sentence context- Returns:
- true if a full match
-
toString
-