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

Member predicate AstNode::getTopLevel

Gets the toplevel syntactic unit to which this element belongs.

TopLevel getTopLevel()