|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.antlr.runtime.CommonToken
org.drools.lang.DroolsToken
public class DroolsToken
An extension of the CommonToken class that keeps the char offset information
Field Summary |
---|
Fields inherited from class org.antlr.runtime.CommonToken |
---|
channel, charPositionInLine, index, input, line, start, stop, text, type |
Fields inherited from interface org.antlr.runtime.Token |
---|
DEFAULT_CHANNEL, DOWN, EOF, EOF_TOKEN, EOR_TOKEN_TYPE, HIDDEN_CHANNEL, INVALID_TOKEN, INVALID_TOKEN_TYPE, MIN_TOKEN_TYPE, SKIP_TOKEN, UP |
Constructor Summary | |
---|---|
DroolsToken(org.antlr.runtime.CharStream input,
int type,
int channel,
int start,
int stop)
|
|
DroolsToken(int type)
|
|
DroolsToken(int type,
String text)
|
|
DroolsToken(org.antlr.runtime.Token oldToken)
Constructor that preserves the char offset |
Method Summary | |
---|---|
DroolsEditorType |
getEditorType()
getter of editor type |
void |
setEditorType(DroolsEditorType editorType)
setter of editor type |
Methods inherited from class org.antlr.runtime.CommonToken |
---|
getChannel, getCharPositionInLine, getInputStream, getLine, getStartIndex, getStopIndex, getText, getTokenIndex, getType, setChannel, setCharPositionInLine, setInputStream, setLine, setStartIndex, setStopIndex, setText, setTokenIndex, setType, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DroolsToken(int type)
public DroolsToken(org.antlr.runtime.CharStream input, int type, int channel, int start, int stop)
public DroolsToken(int type, String text)
public DroolsToken(org.antlr.runtime.Token oldToken)
oldToken
- Method Detail |
---|
public DroolsEditorType getEditorType()
DroolsEditorType
public void setEditorType(DroolsEditorType editorType)
editorElementType
- editor typeDroolsEditorType
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |