A constant regular expression term, that is, a regular expression term matching a single string.
Gets the primary QL class for the Locatable.
Gets the single string this regular-expression term matches.
Gets the string matched by this constant term.
Holds if this constant represents a valid Unicode character (as opposed to a surrogate code point that does not correspond to a character by itself.)
Holds if this regular expression term can match the empty string.
Gets a child term of this term.
Gets a string that is matched by this regular-expression term.
Gets the line on which this element ends.
Gets the file this program element comes from.
Gets the last child term of this term.
Gets the regular expression literal this term belongs to, if any.
Gets this element’s location.
Gets the number of child terms of this term.
Gets the number of lines covered by this element.
Gets the parent term of this regular expression term, or the regular expression literal if this is the root term.
Gets the regular expression term that is matched (textually) before this one, if any.
Gets a comma-separated list of the names of the primary CodeQL classes to which this element belongs.
Gets the raw source text of this term.
Gets the outermost term of this regular expression.
Gets the line on which this element starts.
Gets the regular expression term that is matched (textually) after this one, if any.
Holds if this regular term is in a backward-matching context, that is, it has an enclosing lookbehind assertions.
Holds if this regular term is in a forward-matching context, that is, it has no enclosing lookbehind assertions.
Holds if this term occurs as part of a regular expression literal.
Holds if this term occurs as part of a string literal.
Holds if this is the root term of a regular expression.
Holds if this term is part of a regular expression literal, or a string literal that is interpreted as a regular expression.
Gets a textual representation of this element.