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

Class ActiveResource::ModelClassNode

An ActiveResource class.

class Person < ActiveResource::Base
end

Import path

import codeql.ruby.frameworks.ActiveResource

Direct supertypes

Indirect supertypes

Predicates

disablesCertificateValidation

Holds if c sets a base URL which does not use HTTPS.

getASiteAssignment

Gets a call to site=, which sets the base URL for this model.

getAnInstanceReference

Gets an API node referring to an instance of this class.

Inherited predicates

getADeclaration

Gets a declaration of this module, if any.

from ModuleNode
getADescendent

Gets a module that transitively subclasses, includes, or prepends this module.

from ModuleNode
getAModuleLevelCall

Gets a call to method name on self in the module-level scope of this module.

from ModuleNode
getAPrependedModule

Gets a prepended module.

from ModuleNode
getASubClass

Gets an immediate sub class of this module, if any.

from ModuleNode
getAnAncestor

Gets a module that is transitively subclassed, included, or prepended by this module.

from ModuleNode
getAnAncestorExpr

Gets the expression node denoting the super class or an included or prepended module.

from ModuleNode
getAnImmediateAncestor

Gets the super class or an included or prepended module.

from ModuleNode
getAnImmediateDescendent

Gets a direct subclass or module including or prepending this one.

from ModuleNode
getAnImmediateReference

Gets a constant or self variable that refers to this module.

from ModuleNode
getAnIncludedModule

Gets an included module.

from ModuleNode
getAnInstanceMethod

Gets an instance method available in this module, including methods inherited from ancestors.

from ModuleNode
getAnInstanceSelf

Gets the self parameter of an instance method available in this module, including those inherited from ancestors.

from ModuleNode
getAnOwnInstanceMethod

Gets an instance method declared in this module.

from ModuleNode
getAnOwnInstanceSelf

Gets the self parameter of an instance method declared in this module.

from ModuleNode
getAnOwnInstanceVariableRead

Gets an access to the instance variable name in this module.

from ModuleNode
getAnOwnInstanceVariableWriteValue

Gets the right-hand side of an assignment to the instance variable name in this module.

from ModuleNode
getAnOwnModuleSelf

Gets self in the module declaration or in one of its singleton methods.

from ModuleNode
getAnOwnSingletonMethod

Gets a singleton method declared in this module (or in a singleton class augmenting this module).

from ModuleNode
getInstanceMethod

Gets the instance method named name available in this module, including methods inherited from ancestors.

from ModuleNode
getLocation

Gets the location of this module.

from ModuleNode
getModuleLevelSelf

Gets self in a declaration of this module.

from ModuleNode
getNestedModule

Gets a module named name declared inside this one (not aliased), provided that such a module is defined or reopened in the current codebase.

from ModuleNode
getOwnInstanceMethod

Gets an instance method named name declared in this module.

from ModuleNode
getOwnSingletonMethod

Gets the singleton method named name declared in this module (or in a singleton class augmenting this module).

from ModuleNode
getParentModule

Gets the enclosing module, as it appears in the qualified name of this module.

from ModuleNode
getQualifiedName

Gets the qualified name of this module, if any.

from ModuleNode
getSuperClass

Gets the super class of this module, if any.

from ModuleNode
isBuiltin

Holds if this is a built-in module, e.g. Object.

from ModuleNode
isClass

Holds if this module is a class.

from ModuleNode
toString

Gets a textual representation of this module.

from ModuleNode
trackInstance

Starts tracking instances of this module forward using API graphs.

from ModuleNode
trackModule

Starts tracking the module object using API graphs.

from ModuleNode

Charpred