CodeQL library for JavaScript/TypeScript
codeql/javascript-all 1.1.2-dev (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()