Package psiprobe.tokenizer
Class Tokenizer.TokenizerToken
- java.lang.Object
-
- psiprobe.tokenizer.Tokenizer.TokenizerToken
-
-
Field Summary
Fields Modifier and Type Field Description (package private) int
col
The col.(package private) StringBuilder
innerText
The inner text.(package private) int
line
The line.(package private) String
name
The name.(package private) StringBuilder
text
The text.(package private) int
type
The type.
-
Constructor Summary
Constructors Constructor Description TokenizerToken()
Instantiates a new tokenizer token.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
assign(Tokenizer.TokenizerToken token)
Assign.int
getCol()
Gets the col.String
getInnerText()
Gets the inner text.int
getLine()
Gets the line.String
getName()
Gets the name.String
getText()
Gets the text.int
getType()
Gets the type.void
init()
Inits the.String
toString()
-
-
-
Field Detail
-
text
final StringBuilder text
The text.
-
innerText
final StringBuilder innerText
The inner text.
-
name
String name
The name.
-
type
int type
The type.
-
line
int line
The line.
-
col
int col
The col.
-
-
Method Detail
-
getInnerText
public String getInnerText()
Description copied from interface:Token
Gets the inner text.- Specified by:
getInnerText
in interfaceToken
- Returns:
- the inner text
-
getType
public int getType()
Description copied from interface:Token
Gets the type.
-
getLine
public int getLine()
Description copied from interface:Token
Gets the line.
-
getCol
public int getCol()
Description copied from interface:Token
Gets the col.
-
assign
public void assign(Tokenizer.TokenizerToken token)
Assign.- Parameters:
token
- the token
-
init
public void init()
Inits the.
-
-