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

Member predicate StmtContainer::getEntry

Gets the (unique) entry node of the control flow graph for this toplevel or function.

For most purposes, the start node should be used instead of the entry node; see predicate getStart().

ControlFlowEntryNode getEntry()