Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
CodeQL library for Ruby
codeql/ruby-all 4.1.6 (changelog, source)

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()