CodeQL library for Ruby
codeql/ruby-all 3.0.1-dev (changelog, source)
Search

Class ExitNode

An exit node for a given scope.

Import path

import codeql.ruby.controlflow.CfgNodes

Direct supertypes

Indirect supertypes

Predicates

getAPrimaryQlClass

Gets the name of the primary QL class for this node.

Inherited predicates

getAPredecessor

Gets an immediate predecessor, if any.

from CfgNode
getAPredecessor

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

from CfgNode
getASuccessor

Gets an immediate successor, if any.

from CfgNode
getASuccessor

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

from CfgNode
getAstNode

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

from ExitNodeImpl
getBasicBlock

Gets the basic block that this control flow node belongs to.

from CfgNode
getFile

Gets the file of this control flow node.

from CfgNode
getLocation

Gets the location of this control flow node.

from ExitNodeImpl
getScope

Gets the scope of this node.

from NodeImpl
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 ExitNodeImpl