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

Last Modified
  2019-10-01 04:02:30 -0700
Requires

## Description

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`