public class DBEventCreateNode extends DBEvent
| Modifier and Type | Field and Description |
|---|---|
int |
id |
String |
text
A node can also be created with a text and token type.
|
int |
tokenIndex
A node with an index to a token in the input stream
|
int |
type |
ADD_CHILD, ALL, BECOME_ROOT, BEGIN_BACKTRACK, BEGIN_RESYNC, COMMENCE, CONSUME_HIDDEN_TOKEN, CONSUME_TOKEN, CREATE_NODE, END_BACKTRACK, END_RESYNC, ENTER_ALT, ENTER_DECISION, ENTER_RULE, ENTER_SUBRULE, ERROR_NODE, EXIT_DECISION, EXIT_RULE, EXIT_SUBRULE, ints, LOCATION, LT, MARK, negOne, NIL_NODE, NO_EVENT, NONE, RECOGNITION_EXCEPTION, REWIND, SET_TOKEN_BOUNDARIES, TERMINATE| Constructor and Description |
|---|
DBEventCreateNode(int id,
int tokenIndex) |
DBEventCreateNode(int id,
String text,
int type) |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
convertToInteger, getEventName, getEventType, getGrammarName, setEventType, setGrammarNamepublic int id
public int tokenIndex
public String text
public int type
public DBEventCreateNode(int id,
int tokenIndex)
public DBEventCreateNode(int id,
String text,
int type)
Copyright © 2013. All rights reserved.