module YARD::CodeObjects
A “code object” is defined as any entity in the Ruby language. Classes, modules, methods, class variables and constants are the major objects, but DSL languages can create their own by inheriting from {CodeObjects::Base}.
Constants
- BUILTIN_ALL
-
All builtin Ruby classes and modules.
- BUILTIN_CLASSES
-
All builtin Ruby classes for inheritance tree. @note MatchingData is a 1.8.x legacy class
- BUILTIN_EXCEPTIONS
-
All builtin Ruby exception classes for inheritance tree.
- BUILTIN_EXCEPTIONS_HASH
-
Hash
of {BUILTIN_EXCEPTIONS} as keys and true as value (for O(1) lookups) - BUILTIN_MODULES
-
All builtin Ruby modules for mixin handling.
- CONSTANTMATCH
-
Regular expression to match constant name
- CONSTANTSTART
-
Regular expression to match the beginning of a constant
- CSEP
-
Class method separator
- CSEPQ
-
Regex-quoted class method separator
- ISEP
-
Instance method separator
- ISEPQ
-
Regex-quoted instance method separator
- METHODMATCH
-
Regular expression to match a fully qualified method def (self.foo, Class.foo).
- METHODNAMEMATCH
-
Regular expression to match a method name
- NAMESPACEMATCH
-
Regular expression to match namespaces (const A or complex path A::B)
- NSEP
-
Namespace separator
- NSEPQ
-
Regex-quoted namespace separator
- PROXY_MATCH
-
@private