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

Class Impl::RegExpParent

An element containing a regular expression term, that is, either a string literal (parsed as a regular expression) or another regular expression term.

Import path

import semmle.python.regexp.RegexTreeView

Direct supertypes

Known direct subtypes

Predicates

getAChild

Gets a child term .

getChild

Gets the ith child term.

getLastChild

Gets the last child term of this element.

getNumChild

Gets the number of child terms.

getRegex

Gets the associated regex.

toString

Gets a textual representation of this element.