Class Token.BasicToken
- java.lang.Object
-
- com.inductiveautomation.snap.parse.Token.BasicToken
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.inductiveautomation.snap.parse.Token
Token.BasicToken
-
-
Constructor Summary
Constructors Constructor Description BasicToken()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
createString()
Creates the string.int
getColumnIndex()
Returns the column index.int
getInputEnd()
Returns the char end.int
getInputStart()
Returns the char start.int
getLineIndex()
Returns the line index.int
getLineStart()
Returns the line start.java.lang.String
getName()
Returns the name.java.lang.String
getPattern()
Returns the pattern.Token
getSpecialToken()
Returns the special token.java.lang.String
getString()
Returns the string.Tokenizer
getTokenizer()
The Tokenizer that provided this token.java.lang.String
toString()
Returns the string.
-
-
-
Method Detail
-
getTokenizer
public Tokenizer getTokenizer()
The Tokenizer that provided this token.- Specified by:
getTokenizer
in interfaceToken
-
getName
public java.lang.String getName()
Returns the name.
-
getPattern
public java.lang.String getPattern()
Returns the pattern.- Specified by:
getPattern
in interfaceToken
-
getInputStart
public int getInputStart()
Returns the char start.- Specified by:
getInputStart
in interfaceToken
-
getInputEnd
public int getInputEnd()
Returns the char end.- Specified by:
getInputEnd
in interfaceToken
-
getLineIndex
public int getLineIndex()
Returns the line index.- Specified by:
getLineIndex
in interfaceToken
-
getLineStart
public int getLineStart()
Returns the line start.- Specified by:
getLineStart
in interfaceToken
-
getColumnIndex
public int getColumnIndex()
Returns the column index.- Specified by:
getColumnIndex
in interfaceToken
-
getSpecialToken
public Token getSpecialToken()
Returns the special token.- Specified by:
getSpecialToken
in interfaceToken
-
getString
public java.lang.String getString()
Returns the string.
-
createString
protected java.lang.String createString()
Creates the string.
-
toString
public java.lang.String toString()
Returns the string.- Overrides:
toString
in classjava.lang.Object
-
-