CodeQL library for Java/Kotlin
codeql/java-all 1.1.0 (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.