CodeQL library for Java/Kotlin
codeql/java-all 2.0.1-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; the root of the parse tree) or another regular expression term (a descendant of the root).

Import path

import semmle.code.java.regex.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.