CodeQL library for JavaScript
codeql/javascript-all 0.7.5 ( changelog , source )

Member predicate StmtContainer :: getStart

Gets the (unique) CFG node at which execution of this toplevel or function begins.

Unlike the entry node, which is a synthetic construct, the start node corresponds to an actual program element, such as the first statement of a toplevel or the first parameter of a function.

Empty toplevels do not have a start node.

ConcreteControlFlowNode getStart ( )