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

Member predicate AstNode::getTopLevel

Gets the toplevel syntactic unit to which this element belongs.

TopLevel getTopLevel()