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

Member predicate StringOps::ConcatenationNode::getPreviousLeaf

Gets the leaf that is occurs immediately before this leaf in the concatenation tree, if any.

For example, y is the previous leaf from z in x + y + z.

ConcatenationLeaf getPreviousLeaf()