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

Member predicate Token::getPreviousToken

Gets the token preceding this token inside the same toplevel structure, if any.

Token getPreviousToken()