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

Member predicate ConstantAccess::getScopeExpr

Gets the expression used in the access’s scope resolution operation, if any. In the following example, the result is the Call expression for foo().

foo()::MESSAGE

However, there is no result for the following example, since there is no scope resolution operation.

MESSAGE
Expr getScopeExpr()