CodeQL library for C#
codeql/csharp-all 3.1.2-dev (changelog, source)
Search

Class DataFlow::Node

An element, viewed as a node in a data flow graph. Either an expression (ExprNode) or a parameter (ParameterNode).

Import path

import csharp

Direct supertypes

Known direct subtypes

Predicates

asDefinition

Gets the definition corresponding to this node, if any.

asDefinitionAtNode

Gets the definition corresponding to this node, at control flow node cfn, if any.

asExpr

Gets the expression corresponding to this node, if any.

asExprAtNode

Gets the expression corresponding to this node, at control flow node cfn, if any.

asParameter

Gets the parameter corresponding to this node, if any.

getControlFlowNode

Gets the control flow node corresponding to this node, if any.

getEnclosingCallable

Gets the enclosing callable of this node.

getLocation

Gets the location of this node.

getType

Gets the type of this node.

hasLocationInfo

Holds if this element is at the specified location. The location spans column startcolumn of line startline to column endcolumn of line endline in file filepath. For more information, see Locations.

toString

Gets a textual representation of this node.