class

CRDoc::Index

Inherits Reference < Object

The set of sources in play for one invocation, after -s/-x filtering.

Constructors

new(sources : Array(Source), include includes : Array(String) = [] of String, exclude excludes : Array(String) = [] of String)
Source

Instance methods

entries
Source
members_by_owner

Non-type entries keyed by owner; nil holds the top level.

Source
members_of(full_name : String | Nil) : Array(Entry)

Every member entry of the type full_name, across sources; nil gives the top level. The array is shared, so don't mutate it.

Source
sources
Source
types
Source
types_by_name

Type entries keyed by full name, one per source that defines the type.

Source
types_named(full_name : String) : Array(Entry)

Type entries whose full name equals full_name, one per source that defines it. The array is shared, so don't mutate it.

Source