CodeQL library for JavaScript/TypeScript
codeql/javascript-all 0.8.15-dev (changelog, source)
Search

Module Tokens

Provides classes for working with the token-based representation of JavaScript programs.

Import path

import semmle.javascript.Tokens

Imports

javascript

Provides classes for working with JavaScript programs, as well as JSON, YAML and HTML.

Classes

BooleanLiteralToken

A Boolean literal token.

EOFToken

An end-of-file token.

IdentifierToken

An identifier token.

KeywordToken

A keyword token.

NullLiteralToken

A null literal token.

NumericLiteralToken

A numeric literal token.

PunctuatorToken

A punctuator token.

RegularExpressionToken

A regular expression literal token.

StringLiteralToken

A string literal token.

Token

A token occurring in a piece of JavaScript source code.