# RDoc::CodeObject - ri - phpman

= [**RDoc::CodeObject](https://www.chedong.com/phpMan.php/perldoc/RDoc%3A%3ACodeObject/markdown) < Object**

------------------------------------------------------------------------
= **Includes:**
(from gem rdoc-7.2.0)
  [RDoc::Text](https://www.chedong.com/phpMan.php/perldoc/RDoc%3A%3AText/markdown)
  [RDoc::Generator::Markup](https://www.chedong.com/phpMan.php/perldoc/RDoc%3A%3AGenerator%3A%3AMarkup/markdown)

(from gem rdoc-7.2.0)
------------------------------------------------------------------------
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](https://www.chedong.com/phpMan.php/perldoc/RDoc%3A%3AContext/markdown)
  * [RDoc::TopLevel](https://www.chedong.com/phpMan.php/perldoc/RDoc%3A%3ATopLevel/markdown)
  * [RDoc::ClassModule](https://www.chedong.com/phpMan.php/perldoc/RDoc%3A%3AClassModule/markdown)
    * [RDoc::AnonClass](https://www.chedong.com/phpMan.php/perldoc/RDoc%3A%3AAnonClass/markdown) (never used so far)
    * [RDoc::NormalClass](https://www.chedong.com/phpMan.php/perldoc/RDoc%3A%3ANormalClass/markdown)
    * [RDoc::NormalModule](https://www.chedong.com/phpMan.php/perldoc/RDoc%3A%3ANormalModule/markdown)
    * [RDoc::SingleClass](https://www.chedong.com/phpMan.php/perldoc/RDoc%3A%3ASingleClass/markdown)
* [RDoc::MethodAttr](https://www.chedong.com/phpMan.php/perldoc/RDoc%3A%3AMethodAttr/markdown)
  * [RDoc::Attr](https://www.chedong.com/phpMan.php/perldoc/RDoc%3A%3AAttr/markdown)
  * [RDoc::AnyMethod](https://www.chedong.com/phpMan.php/perldoc/RDoc%3A%3AAnyMethod/markdown)
    * [RDoc::GhostMethod](https://www.chedong.com/phpMan.php/perldoc/RDoc%3A%3AGhostMethod/markdown)
    * [RDoc::MetaMethod](https://www.chedong.com/phpMan.php/perldoc/RDoc%3A%3AMetaMethod/markdown)
* [RDoc::Alias](https://www.chedong.com/phpMan.php/perldoc/RDoc%3A%3AAlias/markdown)
* [RDoc::Constant](https://www.chedong.com/phpMan.php/perldoc/RDoc%3A%3AConstant/markdown)
* [RDoc::Require](https://www.chedong.com/phpMan.php/perldoc/RDoc%3A%3ARequire/markdown)
* [RDoc::Mixin](https://www.chedong.com/phpMan.php/perldoc/RDoc%3A%3AMixin/markdown)
  * [RDoc::Include](https://www.chedong.com/phpMan.php/perldoc/RDoc%3A%3AInclude/markdown)
  * [RDoc::Extend](https://www.chedong.com/phpMan.php/perldoc/RDoc%3A%3AExtend/markdown)

------------------------------------------------------------------------
= **Class methods:**

  new

= **Instance methods:**

  comment
  comment=
  display?
  document_children
  document_children=
  document_self
  document_self=
  documented?
  done_documenting
  done_documenting=
  file
  file_name
  force_documentation
  force_documentation=
  full_name=
  ignore
  ignored?
  line
  metadata
  mixin_from
  options
  parent
  parent_name
  received_nodoc
  record_location
  section
  start_doc
  stop_doc
  store
  store=
  suppress
  suppressed?

= **Attributes:**

  attr_accessor line
  attr_accessor mixin_from
  attr_reader comment
  attr_reader document_children
  attr_reader document_self
  attr_reader done_documenting
  attr_reader file
  attr_reader force_documentation
  attr_reader metadata
  attr_reader received_nodoc
  attr_reader store
  attr_writer parent
  attr_writer section

