Constructor and Description |
---|
SingleToken(String word,
TokenType tokenType,
int line,
int start,
int end) |
Modifier and Type | Method and Description |
---|---|
int |
getEnd() |
int |
getLine() |
int |
getStart() |
TokenType |
getTokenType()
返回类型
|
String |
getWord()
返回文本
|
String |
toString() |
public TokenType getTokenType()
Token
getTokenType
in interface Token
public int getStart()
public int getEnd()
public int getLine()
Copyright © 2006–2018 TinyGroup. All rights reserved.