CodeQL library for JavaScript/TypeScript
codeql/javascript-all 2.7.0 (changelog, source)
Search

Class MakeImpl::Impl::MkStage::Stage::Graph::Public::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.

isSink

Holds if this node is a sink.

isSource

Holds if this node is a source.

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