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

Member predicate AstNode::getTopLevel

Gets the toplevel syntactic unit to which this element belongs.

TopLevel getTopLevel()