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

Predicate MakeWithSplitting::Cached::Public::getNodeCfgScope

Gets the CFG scope of node n. Unlike getCfgScope, this predicate is calculated based on reachability from an entry node, and it may yield different results for AST elements that are split into multiple scopes.

Import path

import codeql.controlflow.Cfg
CfgScope getNodeCfgScope(Node n)