Import path
import codeql.ruby.ast.internal.Module
Predicates
| getAPrependedModule | |
| getAnIncludedModule | |
| getSuperClass | |
| lookupConst | |
| lookupMethod | Gets a method named name that is available in module m. This includes methods that are included/prepended into m and methods available on base classes of m.
|
| lookupMethodInSubClasses | Gets a method named name that is available in a sub class of module m. This includes methods that are included/prepended into any of the sub classes of m, but not methods inherited from base classes.
|
| namespaceDeclaration | |
| resolveConstant | Resolve constant access (class, module or otherwise) to a qualified module name. resolveConstantReadAccess/1 picks the best (lowest priority number) result of resolveConstantReadAccess/2 that resolves to a constant definition. If the constant definition is a Namespace then it is returned, if it’s a constant assignment then the right-hand side of the assignment is resolved.
|
| resolveConstantReadAccess | Resolve class or module read access to a qualified module name.
|
| resolveConstantWrite | |