Class PunctuatorToken
A punctuator token.
Examples:
;
+
Import path
import javascript
Direct supertypes
Indirect supertypes
Inherited predicates
getAPrimaryQlClass | Gets the primary QL class for the Locatable. | from Locatable |
getEndLine | Gets the line on which this element ends. | from Locatable |
getFile | Gets the file this program element comes from. | from Locatable |
getIndex | Gets the index of the token inside its toplevel structure. | from Token |
getLocation | Gets this element’s location. | from Locatable |
getNextToken | Gets the token following this token inside the same toplevel structure, if any. | from Token |
getNumLines | Gets the number of lines covered by this element. | from Locatable |
getPreviousToken | Gets the token preceding this token inside the same toplevel structure, if any. | from Token |
getPrimaryQlClasses | Gets a comma-separated list of the names of the primary CodeQL classes to which this element belongs. | from Locatable |
getStartLine | Gets the line on which this element starts. | from Locatable |
getTopLevel | Gets the toplevel syntactic structure to which this token belongs. | from Token |
getValue | Gets the source text of this token. | from Token |
toString | Gets a textual representation of this element. | from Token |