|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.h2.bnf.RuleFixed
public class RuleFixed
Represents a hard coded terminal rule in a BNF object.
Field Summary | |
---|---|
static int |
AF
|
static int |
ANY_EXCEPT_2_DOLLAR
|
static int |
ANY_EXCEPT_DOUBLE_QUOTE
|
static int |
ANY_EXCEPT_SINGLE_QUOTE
|
static int |
ANY_UNTIL_END
|
static int |
ANY_UNTIL_EOL
|
static int |
ANY_WORD
|
static int |
AZ_UNDERSCORE
|
static int |
CLOSE_BRACKET
|
static int |
CONCAT
|
static int |
DIGIT
|
static int |
HEX_START
|
static int |
HMS
|
static int |
NANOS
|
static int |
OPEN_BRACKET
|
static int |
YMD
|
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 |
Field Detail |
---|
public static final int YMD
public static final int HMS
public static final int NANOS
public static final int ANY_EXCEPT_SINGLE_QUOTE
public static final int ANY_EXCEPT_DOUBLE_QUOTE
public static final int ANY_UNTIL_EOL
public static final int ANY_UNTIL_END
public static final int ANY_WORD
public static final int ANY_EXCEPT_2_DOLLAR
public static final int HEX_START
public static final int CONCAT
public static final int AZ_UNDERSCORE
public static final int AF
public static final int DIGIT
public static final int OPEN_BRACKET
public static final int CLOSE_BRACKET
Method Detail |
---|
public void accept(BnfVisitor visitor)
Rule
accept
in interface Rule
visitor
- the visitorpublic void setLinks(java.util.HashMap<java.lang.String,RuleHead> ruleMap)
Rule
setLinks
in interface Rule
ruleMap
- the reference mappublic boolean autoComplete(Sentence sentence)
Rule
autoComplete
in interface Rule
sentence
- the sentence context
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |