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

Class AngularJS::NgAst

The root node of an abstract syntax tree.

Import path

import javascript

Direct supertypes

Indirect supertypes

Predicates

at

Holds if the node spans the tokens from start to end (inclusive).

getChild

Gets the nth child node.

isOneTime

Holds if this is a “one time binding” (i.e. ::-prefixed, e.g. {{::myId}}).

pp

Pretty-prints this node.

Inherited predicates

ppChildren

Pretty prints the child nodes.

from NgAstNode
toString

Gets a textual representation of this element.

from NgAstNode