CodeQL library for Java
codeql/java-all 0.6.1 ( changelog , source )
Search

Datatype TRegExpParent

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).

For sequences and alternations, we require at least two children. Otherwise, we wish to represent the term differently. This avoids multiple representations of the same term.

Import path

import semmle.code.java.regex.RegexTreeView

Known direct subtypes