A regular expression term, that is, a syntactic part of a regular expression.
Regular expression terms may occur as part of a regular expression literal,
/[a-z]+/, or as part of a string literal, such as
Note that some terms will occur as part of a string literal that isn’t actually
interpreted as regular expression at runtime. Use
isUsedAsRegExp to check if a term is really used as a regular expression.
((ECMA|Java)[sS]cript)*$ ((ECMA|Java)[sS]cript)* (ECMA|Java) $
Known direct subtypes
Gets a child term of this term.
Gets a string that is matched by this regular-expression term.
Gets the single string this regular-expression term matches.
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 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 the raw source text of this term.
Gets the outermost term of this regular expression.
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 regular expression term can match the empty string.
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.
Gets the primary QL class for the Locatable.
Gets the line on which this element ends.
Gets the file this program element comes from.
Gets the number of lines covered by this element.
Gets the line on which this element starts.