# ri > RDoc::CrossReference

## [RDoc::CrossReference](https://www.chedong.com/phpMan.php/perldoc/RDoc%3A%3ACrossReference/markdown) < Object

(from gem rdoc-7.2.0)
------------------------------------------------------------------------
[RDoc::CrossReference](https://www.chedong.com/phpMan.php/perldoc/RDoc%3A%3ACrossReference/markdown) is a reusable way to create cross references for
names.
------------------------------------------------------------------------
## Constants:

ALL_CROSSREF_REGEXP:
  Version of CROSSREF_REGEXP used when --hyperlink-all is specified.

CLASS_REGEXP_STR:
  Regular expression to match class references

  1. There can be a '' in front of text to suppress the cross-reference
  2. There can be a '::' in front of class names to reference from the
     top-level namespace.
  3. The method can be followed by parenthesis (not recommended)

CROSSREF_REGEXP:
  Regular expressions matching text that should potentially have
  cross-reference links generated are passed to add_regexp_handling.
  Note that these expressions are meant to pick up text for which
  cross-references have been suppressed, since the suppression
  characters are removed by the code that is triggered.

METHOD_ARGS_REGEXP_STR:
  Regular expression to match method arguments.

METHOD_ARG_REGEXP_STR:
  Regular expression to match a single method argument.

METHOD_REGEXP_STR:
  Regular expression to match method references.

  See CLASS_REGEXP_STR


## Class methods:

  new

## Instance methods:

  resolve
  resolve_local_symbol
  seen

## Attributes:

  attr_accessor seen

