CodeQL library for Python
codeql/python-all 0.11.13 (changelog, source)
Search

Class Make::EmptyPositiveSubPattern

A lookahead/lookbehind that matches the empty string.

Import path

import codeql.regex.nfa.NfaUtils

Direct supertypes

Indirect supertypes

Inherited predicates

getAChild

Gets a child term of this term.

from RegExpTerm
getChild

Gets the ith child term of this term.

from RegExpTerm
getLastChild

Gets the last child term of this element.

from RegExpTerm
getNumChild

Gets the number of child terms of this term.

from RegExpTerm
getOperand

Gets the lookahead term.

from RegExpSubPattern
getParent

Gets the parent term of this regular expression term, or the regular expression literal if this is the root term.

from RegExpTerm
getRawValue

Gets the raw source text of this term.

from RegExpTerm
getRootTerm

Gets the outermost term of this regular expression.

from RegExpTerm
getSuccessor

Gets the regular expression term that is matched (textually) after this one, if any.

from RegExpTerm
hasLocationInfofrom RegExpTerm
isRootTerm

Holds if this is the root term of a regular expression.

from RegExpTerm
isUsedAsRegExp

Holds if this term is part of a regular expression literal, or a string literal that is interpreted as a regular expression.

from RegExpTerm
toStringfrom RegExpTerm

Charpred