File: code_object.rb [rdoc: Ruby Standard Library Documentation]

Last Modified
  2020-10-01 07:15:38 -0500
Requires

## Description

frozen_string_literal: true

Base class for the RDoc code tree.

We contain the common stuff for contexts (which are containers) and other elements (methods, attributes and so on)

Here’s the tree of the CodeObject subclasses:

- RDoc::Context

  - RDoc::TopLevel

  - RDoc::ClassModule

    - RDoc::AnonClass (never used so far)

    - RDoc::NormalClass

    - RDoc::NormalModule

    - RDoc::SingleClass

- RDoc::MethodAttr

  - RDoc::Attr

  - RDoc::AnyMethod

    - RDoc::GhostMethod

    - RDoc::MetaMethod

- RDoc::Alias

- RDoc::Constant

- RDoc::Mixin

  - RDoc::Require

  - RDoc::Include