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

Class ViewComponent::ComponentClass

A subclass of ViewComponent::Base.

Import path

import codeql.ruby.frameworks.ViewComponent

Direct supertypes

Indirect supertypes

Predicates

getTemplate

Returns the template file for this component.

Inherited predicates

getADeclaration

Gets a declaration of this module, if any.

from Module
getADescendent

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

from Module
getAPrependedModule

Gets a prepended module.

from Module
getASingletonClass

Gets a singleton class that augments this module object.

from Module
getASubClass

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

from Module
getAnAncestor

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

from Module
getAnImmediateAncestor

Gets the super class or an included or prepended module.

from Module
getAnImmediateDescendent

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

from Module
getAnImmediateReference

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

from Module
getAnIncludedModule

Gets an included module.

from Module
getAnInstanceMethod

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

from Module
getAnOwnInstanceMethod

Gets an instance method declared in this module.

from Module
getAnOwnSingletonMethod

Gets a singleton method on this module, either declared as a singleton method or an instance method on a singleton class.

from Module
getInstanceMethod

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

from Module
getLocation

Gets the location of this module.

from Module
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 Module
getOwnInstanceMethod

Gets an instance method named name declared in this module.

from Module
getParentModule

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

from Module
getQualifiedName

Gets the qualified name of this module, if any.

from Module
getSuperClass

Gets the super class of this module, if any.

from Module
isBuiltin

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

from Module
isClass

Holds if this module is a class.

from Module
toString

Gets a textual representation of this module.

from Module

Charpred