CodeQL library for Rust
codeql/rust-all 0.1.11 (changelog, source)
Search

Class CallExprBaseCfgNode

A function or method call expression. See CallExpr and MethodCallExpr for further details.

Import path

import codeql.rust.controlflow.CfgNodes

Direct supertypes

Indirect supertypes

Predicates

getArgument

Gets the ith argument of this call.

Inherited predicates

getAPredecessor

Gets an immediate predecessor, if any.

from NodeImpl
getAPredecessor

Gets an immediate predecessor node of a given flow type, if any.

from NodeImpl
getASplit

Gets a split for this control flow node, if any.

from AstCfgNodeImpl
getASuccessor

Gets an immediate successor, if any.

from NodeImpl
getASuccessor

Gets a successor node of a given type, if any.

from NodeImpl
getAnArg

Gets any of the arguments of this call expression base.

from CallExprBaseCfgNode
getAnAttr

Gets any of the attrs of this call expression base.

from CallExprBaseCfgNode
getArg

Gets the indexth argument of this call expression base (0-based).

from CallExprBaseCfgNode
getArgList

Gets the argument list of this call expression base, if it exists.

from CallExprBaseCfgNode
getAstNode

Gets the AST node that this node corresponds to, if any.

from AstCfgNodeImpl
getAttr

Gets the indexth attr of this call expression base (0-based).

from CallExprBaseCfgNode
getCallExprBase

Gets the underlying CallExprBase.

from CallExprBaseCfgNode
getExpr

Gets the underlying Expr.

from ExprCfgNode
getLocation

Gets the location of this control flow node.

from AstCfgNodeImpl
getNumberOfArgs

Gets the number of arguments of this call expression base.

from CallExprBaseCfgNode
getNumberOfAttrs

Gets the number of attrs of this call expression base.

from CallExprBaseCfgNode
getScope

Gets the scope of this node.

from NodeImpl
getSplitsString

Gets a comma-separated list of strings for each split in this node, if any.

from AstCfgNodeImpl
hasArgList

Holds if getArgList() exists.

from CallExprBaseCfgNode
isBranch

Holds if this node has more than one successor.

from NodeImpl
isCondition

Holds if this control flow node has conditional successors.

from NodeImpl
isJoin

Holds if this node has more than one predecessor.

from NodeImpl
toString

Gets a textual representation of this control flow node.

from AstCfgNodeImpl

Charpred