Package org.sonar.python.tree
Class TokenImpl
java.lang.Object
org.sonar.python.tree.PyTree
org.sonar.python.tree.TokenImpl
-
Nested Class Summary
-
Field Summary
Fields inherited from class org.sonar.python.tree.PyTree
firstToken, lastToken -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
TokenImpl
public TokenImpl(com.sonar.sslr.api.Token token) -
TokenImpl
-
-
Method Details
-
value
-
line
public int line() -
column
public int column() -
pythonLine
- Specified by:
pythonLinein interfaceToken
-
includedEscapeChars
public int includedEscapeChars()- Specified by:
includedEscapeCharsin interfaceToken
-
pythonColumn
public int pythonColumn()- Specified by:
pythonColumnin interfaceToken
-
trivia
-
type
public com.sonar.sslr.api.TokenType type() -
accept
-
computeChildren
-
getKind
-
firstToken
- Specified by:
firstTokenin interfaceTree- Overrides:
firstTokenin classPyTree
-
lastToken
-
valueLength
public int valueLength()- Specified by:
valueLengthin interfaceToken
-
isCompressed
public boolean isCompressed()- Specified by:
isCompressedin interfaceToken
-