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

Class MakeImpl::Impl::PathNode

A Node augmented with a call context (except for sinks) and an access path. Only those PathNodes that are reachable from a source, and which can reach a sink, are generated.

Import path

import codeql.dataflow.internal.DataFlowImpl

Predicates

asParameterReturnNode

Gets the parameter node through which data is returned, if any.

getASuccessor

Gets a successor of this node, if any.

getLocation

Gets the location of this node.

getNode

Gets the underlying Node.

getState

Gets the FlowState 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.

isSinkGroup

Holds if this node is a grouping of sink nodes.

isSource

Holds if this node is a source.

isSourceGroup

Holds if this node is a grouping of source nodes.

toString

Gets a textual representation of this element.

toStringWithContext

Gets a textual representation of this element, including a textual representation of the call context.

Charpred