Class Request::UrlRegex

Direct supertypes

Indirect supertypes

Inherited predicates

alternation

Whether the text in the range start,end is an alternation

from RegexString
alternationOption

Whether the text in the range start,end is an alternation and the text in part_start, part_end is one of the options in that alternation.

from RegexString
backreference

Whether the text in the range start,end is a back reference

from RegexString
charSet

Whether there is a character class, between start (inclusive) and end (exclusive)

from RegexString
char_set_startfrom RegexString
characterfrom RegexString
contains

Whether this contains inner syntactically

from AstNode
containsInScope

Whether this contains inner syntactically and inner has the same scope as this

from AstNode
defines

Whether this expression defines variable v If doing dataflow, then consider using SsaVariable.getDefinition() for more precision.

from Expr
escapingCharfrom RegexString
failedToParsefrom RegexString
firstItem

Whether the item at [start, end) is one of the first items to be matched.

from RegexString
getAChildNode

Gets a child node of this node in the AST. This predicate exists to aid exploration of the AST and other experiments. The child-parent relation may not be meaningful. For a more meaningful relation in terms of dependency use Expr.getASubExpression(), Stmt.getASubStatement(), Stmt.getASubExpression() or Scope.getAStmt().

from Expr
getAFlowNode

Gets a flow node corresponding directly to this node. NOTE: For some statements and other purely syntactic elements, there may not be a ControlFlowNode

from AstNode
getASubExpression

Gets an immediate (non-nested) sub-expression of this expression

from Expr
getBackrefName

Gets the name, if it has one, of the back reference in start,end

from RegexString
getBackrefNumber

Gets the number of the back reference in start,end

from RegexString
getCharfrom RegexString
getEnclosingModule

Gets the module in which this expression occurs

from Expr
getGroupName

Gets the name, if it has one, of the group in start,end

from RegexString
getGroupNumber

Gets the number of the group in start,end

from RegexString
getLocationfrom Expr
getModeFromPrefix

Gets the mode of this regular expression string if it is defined by a prefix.

from RegexString
getParentfrom Expr_
getParentNode

Gets the parent node of this node in the AST. This predicate exists to aid exploration of the AST and other experiments. The child-parent relation may not be meaningful. For a more meaningful relation in terms of dependency use Expr.getASubExpression(), Stmt.getASubStatement(), Stmt.getASubExpression() or Scope.getAStmt() applied to the parent.

from AstNode
getScope

Gets the scope of this expression

from Expr
getText

Gets the text of this regex

from RegexString
group

Whether the text in the range start,end is a group

from RegexString
groupContentsfrom RegexString
hasSideEffects

Whether this expression may have a side effect (as determined purely from its syntax)

from Expr
isArtificial

Whether this syntactic element is artificial, that is it is generated by the compiler and is not present in the source

from AstNode
isConstant

Whether this expression is a constant

from Expr
isParenthesised

Use isParenthesized instead.

from Expr
isParenthesized

Whether the parenthesized property of this expression is true.

from Expr
lastItem

Whether the item at [start, end) is one of the last items to be matched.

from RegexString
nonEscapedCharAtfrom RegexString
normalCharacterfrom RegexString
qualifiedItem

Whether the text in the range start,end is a qualified item, where item is a character, a character set or a group.

from RegexString
refersTo

Gets what this expression might “refer-to”. Performs a combination of localized (intra-procedural) points-to analysis and global module-level analysis. This points-to analysis favours precision over recall. It is highly precise, but may not provide information for a significant number of flow-nodes. If the class is unimportant then use refersTo(value) or refersTo(value, origin) instead. NOTE: For complex dataflow, involving multiple stages of points-to analysis, it may be more precise to use ControlFlowNode.refersTo(...) instead.

from Expr
refersTo

Gets what this expression might “refer-to” in the given context.

from Expr
refersTo

Whether this expression might “refer-to” to value which is from origin Unlike this.refersTo(value, _, origin), this predicate includes results where the class cannot be inferred.

from Expr
refersTo

Equivalent to this.refersTo(value, _)

from Expr
sequence

Whether the text in the range start,end is a sequence of 1 or more items, where an item is a character, a character set or a group.

from RegexString
specialCharacterfrom RegexString
strValue

Use StrConst.getText() instead

from Expr
toStringfrom Expr
zeroWidthMatch

Whether the text in the range start, end is a group and can match the empty string.

from RegexString

Charpred