Interface SyntaxToken
-
- All Superinterfaces:
Tree
- All Known Subinterfaces:
SyntaxTrivia
- All Known Implementing Classes:
InternalSyntaxToken,InternalSyntaxTrivia
@Beta public interface SyntaxToken extends Tree
Represents a token in the syntax tree.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intcolumn()intendColumn()intendLine()intline()Stringtext()List<SyntaxTrivia>trivias()-
Methods inherited from interface org.sonar.plugins.javascript.api.tree.Tree
accept, childrenStream, descendants, firstToken, is, isAncestorOf, lastToken, parent
-
-
-
-
Method Detail
-
text
String text()
-
trivias
List<SyntaxTrivia> trivias()
-
line
int line()
-
column
int column()
-
endLine
int endLine()
-
endColumn
int endColumn()
-
-