diff --git a/Gemfile.lock b/Gemfile.lock
index c06caa1a9..147b9b942 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -283,7 +283,7 @@ GEM
rbi (0.1.9)
prism (>= 0.18.0, < 0.25)
sorbet-runtime (>= 0.5.9204)
- rdoc (6.6.2)
+ rdoc (6.6.3.1)
psych (>= 4.0.0)
redis (5.0.8)
redis-client (>= 0.17.0)
diff --git a/sorbet/rbi/gems/rdoc@6.6.2.rbi b/sorbet/rbi/gems/rdoc@6.6.3.1.rbi
similarity index 71%
rename from sorbet/rbi/gems/rdoc@6.6.2.rbi
rename to sorbet/rbi/gems/rdoc@6.6.3.1.rbi
index 3ca3de9e7..130ee1a63 100644
--- a/sorbet/rbi/gems/rdoc@6.6.2.rbi
+++ b/sorbet/rbi/gems/rdoc@6.6.3.1.rbi
@@ -64,6 +64,8 @@ end
# * The Ruby parser in rdoc/parse.rb is based heavily on the outstanding
# work of Keiju ISHITSUKA of Nippon Rational Inc, who produced the Ruby
# parser for irb and the rtags package.
+#
+# source://rdoc//lib/rdoc.rb#58
module RDoc
class << self
# Seaches and returns the directory for settings.
@@ -76,12 +78,12 @@ module RDoc
# Other than the home directory, the containing directory will be
# created automatically.
#
- # source://rdoc//rdoc.rb#134
+ # source://rdoc//lib/rdoc.rb#134
def home; end
# Loads the best available YAML library.
#
- # source://rdoc//rdoc.rb#107
+ # source://rdoc//lib/rdoc.rb#107
def load_yaml; end
end
end
@@ -91,93 +93,97 @@ end
# --
# TODO implement Alias as a proxy to a method/attribute, inheriting from
# MethodAttr
+#
+# source://rdoc//lib/rdoc/alias.rb#9
class RDoc::Alias < ::RDoc::CodeObject
# Creates a new Alias with a token stream of +text+ that aliases +old_name+
# to +new_name+, has +comment+ and is a +singleton+ context.
#
# @return [Alias] a new instance of Alias
#
- # source://rdoc//rdoc/alias.rb#37
+ # source://rdoc//lib/rdoc/alias.rb#37
def initialize(text, old_name, new_name, comment, singleton = T.unsafe(nil)); end
# Order by #singleton then #new_name
#
- # source://rdoc//rdoc/alias.rb#50
+ # source://rdoc//lib/rdoc/alias.rb#50
def <=>(other); end
# HTML fragment reference for this alias
#
- # source://rdoc//rdoc/alias.rb#57
+ # source://rdoc//lib/rdoc/alias.rb#57
def aref; end
# Full old name including namespace
#
- # source://rdoc//rdoc/alias.rb#65
+ # source://rdoc//lib/rdoc/alias.rb#65
def full_old_name; end
# HTML id-friendly version of +#new_name+.
#
- # source://rdoc//rdoc/alias.rb#72
+ # source://rdoc//lib/rdoc/alias.rb#72
def html_name; end
- # source://rdoc//rdoc/alias.rb#76
+ # source://rdoc//lib/rdoc/alias.rb#76
def inspect; end
# Aliased method's name
#
- # source://rdoc//rdoc/alias.rb#14
+ # source://rdoc//lib/rdoc/alias.rb#14
def name; end
# '::' for the alias of a singleton method/attribute, '#' for instance-level.
#
- # source://rdoc//rdoc/alias.rb#87
+ # source://rdoc//lib/rdoc/alias.rb#87
def name_prefix; end
# Aliased method's name
#
- # source://rdoc//rdoc/alias.rb#14
+ # source://rdoc//lib/rdoc/alias.rb#14
def new_name; end
# Aliasee method's name
#
- # source://rdoc//rdoc/alias.rb#21
+ # source://rdoc//lib/rdoc/alias.rb#21
def old_name; end
# New name with prefix '::' or '#'.
#
- # source://rdoc//rdoc/alias.rb#101
+ # source://rdoc//lib/rdoc/alias.rb#101
def pretty_name; end
# New name with prefix '::' or '#'.
#
- # source://rdoc//rdoc/alias.rb#101
+ # source://rdoc//lib/rdoc/alias.rb#101
def pretty_new_name; end
# Old name with prefix '::' or '#'.
#
- # source://rdoc//rdoc/alias.rb#94
+ # source://rdoc//lib/rdoc/alias.rb#94
def pretty_old_name; end
# Is this an alias declared in a singleton context?
#
- # source://rdoc//rdoc/alias.rb#26
+ # source://rdoc//lib/rdoc/alias.rb#26
def singleton; end
# Is this an alias declared in a singleton context?
#
- # source://rdoc//rdoc/alias.rb#26
+ # source://rdoc//lib/rdoc/alias.rb#26
def singleton=(_arg0); end
# Source file token stream
#
- # source://rdoc//rdoc/alias.rb#31
+ # source://rdoc//lib/rdoc/alias.rb#31
def text; end
- # source://rdoc//rdoc/alias.rb#107
+ # source://rdoc//lib/rdoc/alias.rb#107
def to_s; end
end
# AnyMethod is the base class for objects representing methods
+#
+# source://rdoc//lib/rdoc/any_method.rb#5
class RDoc::AnyMethod < ::RDoc::MethodAttr
include ::RDoc::TokenStream
@@ -185,39 +191,39 @@ class RDoc::AnyMethod < ::RDoc::MethodAttr
#
# @return [AnyMethod] a new instance of AnyMethod
#
- # source://rdoc//rdoc/any_method.rb#46
+ # source://rdoc//lib/rdoc/any_method.rb#46
def initialize(text, name); end
# Adds +an_alias+ as an alias for this method in +context+.
#
- # source://rdoc//rdoc/any_method.rb#59
+ # source://rdoc//lib/rdoc/any_method.rb#59
def add_alias(an_alias, context = T.unsafe(nil)); end
# Prefix for +aref+ is 'method'.
#
- # source://rdoc//rdoc/any_method.rb#76
+ # source://rdoc//lib/rdoc/any_method.rb#76
def aref_prefix; end
# The call_seq or the param_seq with method name, if there is no call_seq.
#
# Use this for displaying a method's argument lists.
#
- # source://rdoc//rdoc/any_method.rb#85
+ # source://rdoc//lib/rdoc/any_method.rb#85
def arglists; end
# The C function that implements this method (if it was defined in a C file)
#
- # source://rdoc//rdoc/any_method.rb#27
+ # source://rdoc//lib/rdoc/any_method.rb#27
def c_function; end
# The C function that implements this method (if it was defined in a C file)
#
- # source://rdoc//rdoc/any_method.rb#27
+ # source://rdoc//lib/rdoc/any_method.rb#27
def c_function=(_arg0); end
# Different ways to call this method
#
- # source://rdoc//rdoc/any_method.rb#96
+ # source://rdoc//lib/rdoc/any_method.rb#96
def call_seq; end
# Sets the different ways you can call this method. If an empty +call_seq+
@@ -225,45 +231,45 @@ class RDoc::AnyMethod < ::RDoc::MethodAttr
#
# See also #param_seq
#
- # source://rdoc//rdoc/any_method.rb#112
+ # source://rdoc//lib/rdoc/any_method.rb#112
def call_seq=(call_seq); end
# If true this method uses +super+ to call a superclass version
#
- # source://rdoc//rdoc/any_method.rb#39
+ # source://rdoc//lib/rdoc/any_method.rb#39
def calls_super; end
# If true this method uses +super+ to call a superclass version
#
- # source://rdoc//rdoc/any_method.rb#39
+ # source://rdoc//lib/rdoc/any_method.rb#39
def calls_super=(_arg0); end
# Don't rename \#initialize to \::new
#
- # source://rdoc//rdoc/any_method.rb#22
+ # source://rdoc//lib/rdoc/any_method.rb#22
def dont_rename_initialize; end
# Don't rename \#initialize to \::new
#
- # source://rdoc//rdoc/any_method.rb#22
+ # source://rdoc//lib/rdoc/any_method.rb#22
def dont_rename_initialize=(_arg0); end
# Whether the method has a call-seq.
#
# @return [Boolean]
#
- # source://rdoc//rdoc/any_method.rb#121
+ # source://rdoc//lib/rdoc/any_method.rb#121
def has_call_seq?; end
# Loads is_alias_for from the internal name. Returns nil if the alias
# cannot be found.
#
- # source://rdoc//rdoc/any_method.rb#129
+ # source://rdoc//lib/rdoc/any_method.rb#129
def is_alias_for; end
# Dumps this AnyMethod for use by ri. See also #marshal_load
#
- # source://rdoc//rdoc/any_method.rb#147
+ # source://rdoc//lib/rdoc/any_method.rb#147
def marshal_dump; end
# Loads this AnyMethod from +array+. For a loaded AnyMethod the following
@@ -272,46 +278,46 @@ class RDoc::AnyMethod < ::RDoc::MethodAttr
# * #full_name
# * #parent_name
#
- # source://rdoc//rdoc/any_method.rb#184
+ # source://rdoc//lib/rdoc/any_method.rb#184
def marshal_load(array); end
# Method name
#
# If the method has no assigned name, it extracts it from #call_seq.
#
- # source://rdoc//rdoc/any_method.rb#233
+ # source://rdoc//lib/rdoc/any_method.rb#233
def name; end
# A list of this method's method and yield parameters. +call-seq+ params
# are preferred over parsed method and block params.
#
- # source://rdoc//rdoc/any_method.rb#246
+ # source://rdoc//lib/rdoc/any_method.rb#246
def param_list; end
# Pretty parameter list for this method. If the method's parameters were
# given by +call-seq+ it is preferred over the parsed values.
#
- # source://rdoc//rdoc/any_method.rb#278
+ # source://rdoc//lib/rdoc/any_method.rb#278
def param_seq; end
# Parameters for this method
#
- # source://rdoc//rdoc/any_method.rb#34
+ # source://rdoc//lib/rdoc/any_method.rb#34
def params; end
# Parameters for this method
#
- # source://rdoc//rdoc/any_method.rb#34
+ # source://rdoc//lib/rdoc/any_method.rb#34
def params=(_arg0); end
# The section title of the method (if defined in a C file via +:category:+)
#
- # source://rdoc//rdoc/any_method.rb#30
+ # source://rdoc//lib/rdoc/any_method.rb#30
def section_title; end
# The section title of the method (if defined in a C file via +:category:+)
#
- # source://rdoc//rdoc/any_method.rb#30
+ # source://rdoc//lib/rdoc/any_method.rb#30
def section_title=(_arg0); end
# Whether to skip the method description, true for methods that have
@@ -319,24 +325,24 @@ class RDoc::AnyMethod < ::RDoc::MethodAttr
#
# @return [Boolean]
#
- # source://rdoc//rdoc/any_method.rb#310
+ # source://rdoc//lib/rdoc/any_method.rb#310
def skip_description?; end
# Sets the store for this method and its referenced code objects.
#
- # source://rdoc//rdoc/any_method.rb#317
+ # source://rdoc//lib/rdoc/any_method.rb#317
def store=(store); end
# For methods that +super+, find the superclass method that would be called.
#
- # source://rdoc//rdoc/any_method.rb#326
+ # source://rdoc//lib/rdoc/any_method.rb#326
def superclass_method; end
protected
# call_seq without deduplication and alias lookup.
#
- # source://rdoc//rdoc/any_method.rb#345
+ # source://rdoc//lib/rdoc/any_method.rb#345
def _call_seq; end
private
@@ -344,34 +350,36 @@ class RDoc::AnyMethod < ::RDoc::MethodAttr
# call_seq with alias examples information removed, if this
# method is an alias method.
#
- # source://rdoc//rdoc/any_method.rb#355
+ # source://rdoc//lib/rdoc/any_method.rb#355
def deduplicate_call_seq(call_seq); end
end
# An attribute created by \#attr, \#attr_reader, \#attr_writer or
# \#attr_accessor
+#
+# source://rdoc//lib/rdoc/attr.rb#6
class RDoc::Attr < ::RDoc::MethodAttr
# Creates a new Attr with body +text+, +name+, read/write status +rw+ and
# +comment+. +singleton+ marks this as a class attribute.
#
# @return [Attr] a new instance of Attr
#
- # source://rdoc//rdoc/attr.rb#25
+ # source://rdoc//lib/rdoc/attr.rb#25
def initialize(text, name, rw, comment, singleton = T.unsafe(nil)); end
# Attributes are equal when their names, singleton and rw are identical
#
- # source://rdoc//rdoc/attr.rb#36
+ # source://rdoc//lib/rdoc/attr.rb#36
def ==(other); end
# Add +an_alias+ as an attribute in +context+.
#
- # source://rdoc//rdoc/attr.rb#46
+ # source://rdoc//lib/rdoc/attr.rb#46
def add_alias(an_alias, context); end
# The #aref prefix for attributes
#
- # source://rdoc//rdoc/attr.rb#61
+ # source://rdoc//lib/rdoc/attr.rb#61
def aref_prefix; end
# Attributes never call super. See RDoc::AnyMethod#calls_super
@@ -379,20 +387,20 @@ class RDoc::Attr < ::RDoc::MethodAttr
# An RDoc::Attr can show up in the method list in some situations (see
# Gem::ConfigFile)
#
- # source://rdoc//rdoc/attr.rb#71
+ # source://rdoc//lib/rdoc/attr.rb#71
def calls_super; end
# Returns attr_reader, attr_writer or attr_accessor as appropriate.
#
- # source://rdoc//rdoc/attr.rb#78
+ # source://rdoc//lib/rdoc/attr.rb#78
def definition; end
- # source://rdoc//rdoc/attr.rb#86
+ # source://rdoc//lib/rdoc/attr.rb#86
def inspect; end
# Dumps this Attr for use by ri. See also #marshal_load
#
- # source://rdoc//rdoc/attr.rb#102
+ # source://rdoc//lib/rdoc/attr.rb#102
def marshal_dump; end
# Loads this Attr from +array+. For a loaded Attr the following
@@ -401,23 +409,23 @@ class RDoc::Attr < ::RDoc::MethodAttr
# * #full_name
# * #parent_name
#
- # source://rdoc//rdoc/attr.rb#124
+ # source://rdoc//lib/rdoc/attr.rb#124
def marshal_load(array); end
- # source://rdoc//rdoc/attr.rb#151
+ # source://rdoc//lib/rdoc/attr.rb#151
def pretty_print(q); end
# Is the attribute readable ('R'), writable ('W') or both ('RW')?
#
- # source://rdoc//rdoc/attr.rb#19
+ # source://rdoc//lib/rdoc/attr.rb#19
def rw; end
# Is the attribute readable ('R'), writable ('W') or both ('RW')?
#
- # source://rdoc//rdoc/attr.rb#19
+ # source://rdoc//lib/rdoc/attr.rb#19
def rw=(_arg0); end
- # source://rdoc//rdoc/attr.rb#162
+ # source://rdoc//lib/rdoc/attr.rb#162
def to_s; end
# Attributes do not have token streams.
@@ -425,12 +433,14 @@ class RDoc::Attr < ::RDoc::MethodAttr
# An RDoc::Attr can show up in the method list in some situations (see
# Gem::ConfigFile)
#
- # source://rdoc//rdoc/attr.rb#172
+ # source://rdoc//lib/rdoc/attr.rb#172
def token_stream; end
end
# ClassModule is the base class for objects representing either a class or a
# module.
+#
+# source://rdoc//lib/rdoc/class_module.rb#6
class RDoc::ClassModule < ::RDoc::Context
# Creates a new ClassModule with +name+ with optional +superclass+
#
@@ -438,17 +448,17 @@ class RDoc::ClassModule < ::RDoc::Context
#
# @return [ClassModule] a new instance of ClassModule
#
- # source://rdoc//rdoc/class_module.rb#111
+ # source://rdoc//lib/rdoc/class_module.rb#111
def initialize(name, superclass = T.unsafe(nil)); end
# Adds +comment+ to this ClassModule's list of comments at +location+. This
# method is preferred over #comment= since it allows ri data to be updated
# across multiple runs.
#
- # source://rdoc//rdoc/class_module.rb#127
+ # source://rdoc//lib/rdoc/class_module.rb#127
def add_comment(comment, location); end
- # source://rdoc//rdoc/class_module.rb#148
+ # source://rdoc//lib/rdoc/class_module.rb#148
def add_things(my_things, other_things); end
# Ancestors list for this ClassModule: the list of included modules
@@ -462,23 +472,23 @@ class RDoc::ClassModule < ::RDoc::Context
# which is the order suitable for searching methods/attributes
# in the ancestors. The superclass, if any, comes last.
#
- # source://rdoc//rdoc/class_module.rb#171
+ # source://rdoc//lib/rdoc/class_module.rb#171
def ancestors; end
# HTML fragment reference for this module or class. See
# RDoc::NormalClass#aref and RDoc::NormalModule#aref
#
- # source://rdoc//rdoc/class_module.rb#183
+ # source://rdoc//lib/rdoc/class_module.rb#183
def aref; end
# @raise [NotImplementedError]
#
- # source://rdoc//rdoc/class_module.rb#175
+ # source://rdoc//lib/rdoc/class_module.rb#175
def aref_prefix; end
# Clears the comment. Used by the Ruby parser.
#
- # source://rdoc//rdoc/class_module.rb#195
+ # source://rdoc//lib/rdoc/class_module.rb#195
def clear_comment; end
# This method is deprecated, use #add_comment instead.
@@ -486,45 +496,45 @@ class RDoc::ClassModule < ::RDoc::Context
# Appends +comment+ to the current comment, but separated by a rule. Works
# more like +=.
#
- # source://rdoc//rdoc/class_module.rb#205
+ # source://rdoc//lib/rdoc/class_module.rb#205
def comment=(comment); end
# Comment and the location it came from. Use #add_comment to add comments
#
- # source://rdoc//rdoc/class_module.rb#35
+ # source://rdoc//lib/rdoc/class_module.rb#35
def comment_location; end
# Comment and the location it came from. Use #add_comment to add comments
#
- # source://rdoc//rdoc/class_module.rb#35
+ # source://rdoc//lib/rdoc/class_module.rb#35
def comment_location=(_arg0); end
# Prepares this ClassModule for use by a generator.
#
# See RDoc::Store#complete
#
- # source://rdoc//rdoc/class_module.rb#223
+ # source://rdoc//lib/rdoc/class_module.rb#223
def complete(min_visibility); end
# Constants that are aliases for this class or module
#
- # source://rdoc//rdoc/class_module.rb#30
+ # source://rdoc//lib/rdoc/class_module.rb#30
def constant_aliases; end
# Constants that are aliases for this class or module
#
- # source://rdoc//rdoc/class_module.rb#30
+ # source://rdoc//lib/rdoc/class_module.rb#30
def constant_aliases=(_arg0); end
# Handy wrapper for marking up this class or module's comment
#
- # source://rdoc//rdoc/generator/markup.rb#131
+ # source://rdoc//lib/rdoc/generator/markup.rb#131
def description; end
- # source://rdoc//rdoc/class_module.rb#37
+ # source://rdoc//lib/rdoc/class_module.rb#37
def diagram; end
- # source://rdoc//rdoc/class_module.rb#37
+ # source://rdoc//lib/rdoc/class_module.rb#37
def diagram=(_arg0); end
# Ancestors list for this ClassModule: the list of included modules
@@ -540,12 +550,12 @@ class RDoc::ClassModule < ::RDoc::Context
#
# Ancestors of this class or module only
#
- # source://rdoc//rdoc/class_module.rb#171
+ # source://rdoc//lib/rdoc/class_module.rb#171
def direct_ancestors; end
# Does this ClassModule or any of its methods have document_self set?
#
- # source://rdoc//rdoc/class_module.rb#233
+ # source://rdoc//lib/rdoc/class_module.rb#233
def document_self_or_methods; end
# Does this class or module have a comment with content or is
@@ -553,53 +563,53 @@ class RDoc::ClassModule < ::RDoc::Context
#
# @return [Boolean]
#
- # source://rdoc//rdoc/class_module.rb#241
+ # source://rdoc//lib/rdoc/class_module.rb#241
def documented?; end
# Iterates the ancestors of this class or module for which an
# RDoc::ClassModule exists.
#
- # source://rdoc//rdoc/class_module.rb#251
+ # source://rdoc//lib/rdoc/class_module.rb#251
def each_ancestor; end
# Looks for a symbol in the #ancestors. See Context#find_local_symbol.
#
- # source://rdoc//rdoc/class_module.rb#264
+ # source://rdoc//lib/rdoc/class_module.rb#264
def find_ancestor_local_symbol(symbol); end
# Finds a class or module with +name+ in this namespace or its descendants
#
- # source://rdoc//rdoc/class_module.rb#276
+ # source://rdoc//lib/rdoc/class_module.rb#276
def find_class_named(name); end
# Return the fully qualified name of this class or module
#
- # source://rdoc//rdoc/class_module.rb#289
+ # source://rdoc//lib/rdoc/class_module.rb#289
def full_name; end
# Class or module this constant is an alias for
#
- # source://rdoc//rdoc/class_module.rb#42
+ # source://rdoc//lib/rdoc/class_module.rb#42
def is_alias_for; end
# Class or module this constant is an alias for
#
- # source://rdoc//rdoc/class_module.rb#42
+ # source://rdoc//lib/rdoc/class_module.rb#42
def is_alias_for=(_arg0); end
# TODO: filter included items by #display?
#
- # source://rdoc//rdoc/class_module.rb#300
+ # source://rdoc//lib/rdoc/class_module.rb#300
def marshal_dump; end
- # source://rdoc//rdoc/class_module.rb#346
+ # source://rdoc//lib/rdoc/class_module.rb#346
def marshal_load(array); end
# Merges +class_module+ into this ClassModule.
#
# The data in +class_module+ is preferred over the receiver.
#
- # source://rdoc//rdoc/class_module.rb#435
+ # source://rdoc//lib/rdoc/class_module.rb#435
def merge(class_module); end
# Merges collection +mine+ with +other+ preferring other. +other_files+ is
@@ -616,52 +626,52 @@ class RDoc::ClassModule < ::RDoc::Context
# end
# end
#
- # source://rdoc//rdoc/class_module.rb#519
+ # source://rdoc//lib/rdoc/class_module.rb#519
def merge_collections(mine, other, other_files, &block); end
# Merges the comments in this ClassModule with the comments in the other
# ClassModule +cm+.
#
- # source://rdoc//rdoc/class_module.rb#531
+ # source://rdoc//lib/rdoc/class_module.rb#531
def merge_sections(cm); end
# Does this object represent a module?
#
# @return [Boolean]
#
- # source://rdoc//rdoc/class_module.rb#570
+ # source://rdoc//lib/rdoc/class_module.rb#570
def module?; end
# Allows overriding the initial name.
#
# Used for modules and classes that are constant aliases.
#
- # source://rdoc//rdoc/class_module.rb#579
+ # source://rdoc//lib/rdoc/class_module.rb#579
def name=(new_name); end
# Name to use to generate the url:
# modules and classes that are aliases for another
# module or class return the name of the latter.
#
- # source://rdoc//rdoc/class_module.rb#622
+ # source://rdoc//lib/rdoc/class_module.rb#622
def name_for_path; end
# Returns the classes and modules that are not constants
# aliasing another class or module. For use by formatters
# only (caches its result).
#
- # source://rdoc//rdoc/class_module.rb#631
+ # source://rdoc//lib/rdoc/class_module.rb#631
def non_aliases; end
# Parses +comment_location+ into an RDoc::Markup::Document composed of
# multiple RDoc::Markup::Documents with their file set.
#
- # source://rdoc//rdoc/class_module.rb#587
+ # source://rdoc//lib/rdoc/class_module.rb#587
def parse(comment_location); end
# Path to this class or module for use with HTML generator output.
#
- # source://rdoc//rdoc/class_module.rb#613
+ # source://rdoc//lib/rdoc/class_module.rb#613
def path; end
# Updates the child modules or classes of class/module +parent+ by
@@ -671,41 +681,41 @@ class RDoc::ClassModule < ::RDoc::Context
# parent.classes_hash and +all_hash+ is ::all_modules_hash or
# ::all_classes_hash.
#
- # source://rdoc//rdoc/class_module.rb#643
+ # source://rdoc//lib/rdoc/class_module.rb#643
def remove_nodoc_children; end
- # source://rdoc//rdoc/class_module.rb#657
+ # source://rdoc//lib/rdoc/class_module.rb#657
def remove_things(my_things, other_files); end
# Search record used by RDoc::Generator::JsonIndex
#
- # source://rdoc//rdoc/class_module.rb#672
+ # source://rdoc//lib/rdoc/class_module.rb#672
def search_record; end
# Sets the store for this class or module and its contained code objects.
#
- # source://rdoc//rdoc/class_module.rb#687
+ # source://rdoc//lib/rdoc/class_module.rb#687
def store=(store); end
# Get the superclass of this class. Attempts to retrieve the superclass
# object, returns the name if it is not known.
#
- # source://rdoc//rdoc/class_module.rb#701
+ # source://rdoc//lib/rdoc/class_module.rb#701
def superclass; end
# Set the superclass of this class to +superclass+
#
# @raise [NoMethodError]
#
- # source://rdoc//rdoc/class_module.rb#708
+ # source://rdoc//lib/rdoc/class_module.rb#708
def superclass=(superclass); end
- # source://rdoc//rdoc/class_module.rb#713
+ # source://rdoc//lib/rdoc/class_module.rb#713
def to_s; end
# 'module' or 'class'
#
- # source://rdoc//rdoc/class_module.rb#724
+ # source://rdoc//lib/rdoc/class_module.rb#724
def type; end
# Updates the child modules & classes by replacing the ones that are
@@ -722,7 +732,7 @@ class RDoc::ClassModule < ::RDoc::Context
# the aliased modules are included in the constants of the class/module,
# that are listed separately.
#
- # source://rdoc//rdoc/class_module.rb#743
+ # source://rdoc//lib/rdoc/class_module.rb#743
def update_aliases; end
# Deletes from #extends those whose module has been removed from the
@@ -730,7 +740,7 @@ class RDoc::ClassModule < ::RDoc::Context
# --
# FIXME: like update_includes, extends are not reliably removed
#
- # source://rdoc//rdoc/class_module.rb#791
+ # source://rdoc//lib/rdoc/class_module.rb#791
def update_extends; end
# Deletes from #includes those whose module has been removed from the
@@ -738,7 +748,7 @@ class RDoc::ClassModule < ::RDoc::Context
# --
# FIXME: includes are not reliably removed, see _possible_bug test case
#
- # source://rdoc//rdoc/class_module.rb#776
+ # source://rdoc//lib/rdoc/class_module.rb#776
def update_includes; end
class << self
@@ -747,7 +757,7 @@ class RDoc::ClassModule < ::RDoc::Context
# --
# TODO move to RDoc::NormalClass (I think)
#
- # source://rdoc//rdoc/class_module.rb#50
+ # source://rdoc//lib/rdoc/class_module.rb#50
def from_module(class_type, mod); end
end
end
@@ -776,6 +786,8 @@ end
# * RDoc::Mixin
# * RDoc::Require
# * RDoc::Include
+#
+# source://rdoc//lib/rdoc/code_object.rb#28
class RDoc::CodeObject
include ::RDoc::Text
include ::RDoc::Generator::Markup
@@ -784,17 +796,17 @@ class RDoc::CodeObject
#
# @return [CodeObject] a new instance of CodeObject
#
- # source://rdoc//rdoc/code_object.rb#102
+ # source://rdoc//lib/rdoc/code_object.rb#102
def initialize; end
# Our comment
#
- # source://rdoc//rdoc/code_object.rb#35
+ # source://rdoc//lib/rdoc/code_object.rb#35
def comment; end
# Replaces our comment with +comment+, unless it is empty.
#
- # source://rdoc//rdoc/code_object.rb#135
+ # source://rdoc//lib/rdoc/code_object.rb#135
def comment=(comment); end
# Should this CodeObject be displayed in output?
@@ -807,41 +819,41 @@ class RDoc::CodeObject
#
# @return [Boolean]
#
- # source://rdoc//rdoc/code_object.rb#163
+ # source://rdoc//lib/rdoc/code_object.rb#163
def display?; end
# Do we document our children?
#
- # source://rdoc//rdoc/code_object.rb#40
+ # source://rdoc//lib/rdoc/code_object.rb#40
def document_children; end
# Enables or disables documentation of this CodeObject's children unless it
# has been turned off by :enddoc:
#
- # source://rdoc//rdoc/code_object.rb#172
+ # source://rdoc//lib/rdoc/code_object.rb#172
def document_children=(document_children); end
# Do we document ourselves?
#
- # source://rdoc//rdoc/code_object.rb#45
+ # source://rdoc//lib/rdoc/code_object.rb#45
def document_self; end
# Enables or disables documentation of this CodeObject unless it has been
# turned off by :enddoc:. If the argument is +nil+ it means the
#
- # source://rdoc//rdoc/code_object.rb#183
+ # source://rdoc//lib/rdoc/code_object.rb#183
def document_self=(document_self); end
# Does this object have a comment with content or is #received_nodoc true?
#
# @return [Boolean]
#
- # source://rdoc//rdoc/code_object.rb#194
+ # source://rdoc//lib/rdoc/code_object.rb#194
def documented?; end
# Are we done documenting (ie, did we come across a :enddoc:)?
#
- # source://rdoc//rdoc/code_object.rb#50
+ # source://rdoc//lib/rdoc/code_object.rb#50
def done_documenting; end
# Turns documentation on/off, and turns on/off #document_self
@@ -851,30 +863,30 @@ class RDoc::CodeObject
# the object will refuse to turn #document_self or
# will have no effect in the current file.
#
- # source://rdoc//rdoc/code_object.rb#207
+ # source://rdoc//lib/rdoc/code_object.rb#207
def done_documenting=(value); end
# Yields each parent of this CodeObject. See also
# RDoc::ClassModule#each_ancestor
#
- # source://rdoc//rdoc/code_object.rb#218
+ # source://rdoc//lib/rdoc/code_object.rb#218
def each_parent; end
# Which file this code object was defined in
#
- # source://rdoc//rdoc/code_object.rb#55
+ # source://rdoc//lib/rdoc/code_object.rb#55
def file; end
# File name where this CodeObject was found.
#
# See also RDoc::Context#in_files
#
- # source://rdoc//rdoc/code_object.rb#233
+ # source://rdoc//lib/rdoc/code_object.rb#233
def file_name; end
# Force documentation of this CodeObject
#
- # source://rdoc//rdoc/code_object.rb#60
+ # source://rdoc//lib/rdoc/code_object.rb#60
def force_documentation; end
# Force the documentation of this object unless documentation
@@ -882,14 +894,14 @@ class RDoc::CodeObject
# --
# HACK untested, was assigning to an ivar
#
- # source://rdoc//rdoc/code_object.rb#245
+ # source://rdoc//lib/rdoc/code_object.rb#245
def force_documentation=(value); end
# Sets the full_name overriding any computed full name.
#
# Set to +nil+ to clear RDoc's cached value
#
- # source://rdoc//rdoc/code_object.rb#254
+ # source://rdoc//lib/rdoc/code_object.rb#254
def full_name=(full_name); end
# Use this to ignore a CodeObject and all its children until found again
@@ -907,7 +919,7 @@ class RDoc::CodeObject
# reopened it should not be displayed. The ignore flag allows this to
# occur.
#
- # source://rdoc//rdoc/code_object.rb#274
+ # source://rdoc//lib/rdoc/code_object.rb#274
def ignore; end
# Has this class been ignored?
@@ -916,27 +928,27 @@ class RDoc::CodeObject
#
# @return [Boolean]
#
- # source://rdoc//rdoc/code_object.rb#287
+ # source://rdoc//lib/rdoc/code_object.rb#287
def ignored?; end
# Initializes state for visibility of this CodeObject and its children.
#
- # source://rdoc//rdoc/code_object.rb#121
+ # source://rdoc//lib/rdoc/code_object.rb#121
def initialize_visibility; end
# Line in #file where this CodeObject was defined
#
- # source://rdoc//rdoc/code_object.rb#65
+ # source://rdoc//lib/rdoc/code_object.rb#65
def line; end
# Line in #file where this CodeObject was defined
#
- # source://rdoc//rdoc/code_object.rb#65
+ # source://rdoc//lib/rdoc/code_object.rb#65
def line=(_arg0); end
# Hash of arbitrary metadata for this CodeObject
#
- # source://rdoc//rdoc/code_object.rb#70
+ # source://rdoc//lib/rdoc/code_object.rb#70
def metadata; end
# The options instance from the store this CodeObject is attached to, or a
@@ -944,68 +956,68 @@ class RDoc::CodeObject
#
# This is used by Text#snippet
#
- # source://rdoc//rdoc/code_object.rb#297
+ # source://rdoc//lib/rdoc/code_object.rb#297
def options; end
# Our parent CodeObject. The parent may be missing for classes loaded from
# legacy RI data stores.
#
- # source://rdoc//rdoc/code_object.rb#309
+ # source://rdoc//lib/rdoc/code_object.rb#309
def parent; end
# Sets the parent CodeObject
#
- # source://rdoc//rdoc/code_object.rb#75
+ # source://rdoc//lib/rdoc/code_object.rb#75
def parent=(_arg0); end
# File name of our parent
#
- # source://rdoc//rdoc/code_object.rb#331
+ # source://rdoc//lib/rdoc/code_object.rb#331
def parent_file_name; end
# Name of our parent
#
- # source://rdoc//rdoc/code_object.rb#338
+ # source://rdoc//lib/rdoc/code_object.rb#338
def parent_name; end
- # source://rdoc//rdoc/code_object.rb#80
+ # source://rdoc//lib/rdoc/code_object.rb#80
def received_nodoc; end
# Records the RDoc::TopLevel (file) where this code object was defined
#
- # source://rdoc//rdoc/code_object.rb#345
+ # source://rdoc//lib/rdoc/code_object.rb#345
def record_location(top_level); end
# The section this CodeObject is in. Sections allow grouping of constants,
# attributes and methods inside a class or module.
#
- # source://rdoc//rdoc/code_object.rb#355
+ # source://rdoc//lib/rdoc/code_object.rb#355
def section; end
# Set the section this CodeObject is in
#
- # source://rdoc//rdoc/code_object.rb#85
+ # source://rdoc//lib/rdoc/code_object.rb#85
def section=(_arg0); end
# Enable capture of documentation unless documentation has been
# turned off by :enddoc:
#
- # source://rdoc//rdoc/code_object.rb#365
+ # source://rdoc//lib/rdoc/code_object.rb#365
def start_doc; end
# Disable capture of documentation
#
- # source://rdoc//rdoc/code_object.rb#377
+ # source://rdoc//lib/rdoc/code_object.rb#377
def stop_doc; end
# The RDoc::Store for this object.
#
- # source://rdoc//rdoc/code_object.rb#90
+ # source://rdoc//lib/rdoc/code_object.rb#90
def store; end
# Sets the +store+ that contains this CodeObject
#
- # source://rdoc//rdoc/code_object.rb#387
+ # source://rdoc//lib/rdoc/code_object.rb#387
def store=(store); end
# Use this to suppress a CodeObject and all its children until the next file
@@ -1013,7 +1025,7 @@ class RDoc::CodeObject
# documentation will be displayed while an ignored item with documentation
# may not be displayed.
#
- # source://rdoc//rdoc/code_object.rb#404
+ # source://rdoc//lib/rdoc/code_object.rb#404
def suppress; end
# Has this class been suppressed?
@@ -1022,24 +1034,25 @@ class RDoc::CodeObject
#
# @return [Boolean]
#
- # source://rdoc//rdoc/code_object.rb#417
+ # source://rdoc//lib/rdoc/code_object.rb#417
def suppressed?; end
# We are the model of the code, but we know that at some point we will be
# worked on by viewers. By implementing the Viewable protocol, viewers can
# associated themselves with these objects.
#
- # source://rdoc//rdoc/code_object.rb#97
+ # source://rdoc//lib/rdoc/code_object.rb#97
def viewer; end
# We are the model of the code, but we know that at some point we will be
# worked on by viewers. By implementing the Viewable protocol, viewers can
# associated themselves with these objects.
#
- # source://rdoc//rdoc/code_object.rb#97
+ # source://rdoc//lib/rdoc/code_object.rb#97
def viewer=(_arg0); end
end
+# source://rdoc//lib/rdoc/comment.rb#12
class RDoc::Comment
include ::RDoc::Text
@@ -1048,28 +1061,28 @@ class RDoc::Comment
#
# @return [Comment] a new instance of Comment
#
- # source://rdoc//rdoc/comment.rb#56
+ # source://rdoc//lib/rdoc/comment.rb#56
def initialize(text = T.unsafe(nil), location = T.unsafe(nil), language = T.unsafe(nil)); end
- # source://rdoc//rdoc/comment.rb#74
+ # source://rdoc//lib/rdoc/comment.rb#74
def ==(other); end
# Overrides the content returned by #parse. Use when there is no #text
# source for this comment
#
- # source://rdoc//rdoc/comment.rb#50
+ # source://rdoc//lib/rdoc/comment.rb#50
def document=(_arg0); end
# A comment is empty if its text String is empty.
#
# @return [Boolean]
#
- # source://rdoc//rdoc/comment.rb#128
+ # source://rdoc//lib/rdoc/comment.rb#128
def empty?; end
# HACK dubious
#
- # source://rdoc//rdoc/comment.rb#135
+ # source://rdoc//lib/rdoc/comment.rb#135
def encode!(encoding); end
# Look for a 'call-seq' in the comment to override the normal parameter
@@ -1087,65 +1100,65 @@ class RDoc::Comment
# # ARGF.to_a(limit) -> array
# # ARGF.to_a(sep, limit) -> array
#
- # source://rdoc//rdoc/comment.rb#95
+ # source://rdoc//lib/rdoc/comment.rb#95
def extract_call_seq(method); end
# The RDoc::TopLevel this comment was found in
#
# For duck-typing when merging classes at load time
#
- # source://rdoc//rdoc/comment.rb#24
+ # source://rdoc//lib/rdoc/comment.rb#24
def file; end
# The format of this comment. Defaults to RDoc::Markup
#
- # source://rdoc//rdoc/comment.rb#19
+ # source://rdoc//lib/rdoc/comment.rb#19
def format; end
# Sets the format of this comment and resets any parsed document
#
- # source://rdoc//rdoc/comment.rb#143
+ # source://rdoc//lib/rdoc/comment.rb#143
def format=(format); end
- # source://rdoc//rdoc/comment.rb#148
+ # source://rdoc//lib/rdoc/comment.rb#148
def inspect; end
# Line where this Comment was written
#
- # source://rdoc//rdoc/comment.rb#29
+ # source://rdoc//lib/rdoc/comment.rb#29
def line; end
# Line where this Comment was written
#
- # source://rdoc//rdoc/comment.rb#29
+ # source://rdoc//lib/rdoc/comment.rb#29
def line=(_arg0); end
# The RDoc::TopLevel this comment was found in
#
- # source://rdoc//rdoc/comment.rb#24
+ # source://rdoc//lib/rdoc/comment.rb#24
def location; end
# The RDoc::TopLevel this comment was found in
#
- # source://rdoc//rdoc/comment.rb#24
+ # source://rdoc//lib/rdoc/comment.rb#24
def location=(_arg0); end
# Normalizes the text. See RDoc::Text#normalize_comment for details
#
- # source://rdoc//rdoc/comment.rb#157
+ # source://rdoc//lib/rdoc/comment.rb#157
def normalize; end
# Was this text normalized?
#
# @return [Boolean]
#
- # source://rdoc//rdoc/comment.rb#171
+ # source://rdoc//lib/rdoc/comment.rb#171
def normalized?; end
# Parses the comment into an RDoc::Markup::Document. The parsed document is
# cached until the text is changed.
#
- # source://rdoc//rdoc/comment.rb#179
+ # source://rdoc//lib/rdoc/comment.rb#179
def parse; end
# Removes private sections from this comment. Private sections are flush to
@@ -1160,12 +1173,12 @@ class RDoc::Comment
# * public
# */
#
- # source://rdoc//rdoc/comment.rb#200
+ # source://rdoc//lib/rdoc/comment.rb#200
def remove_private; end
# The text for this comment
#
- # source://rdoc//rdoc/comment.rb#39
+ # source://rdoc//lib/rdoc/comment.rb#39
def text; end
# Replaces this comment's text with +text+ and resets the parsed document.
@@ -1174,21 +1187,21 @@ class RDoc::Comment
#
# @raise [RDoc::Error]
#
- # source://rdoc//rdoc/comment.rb#214
+ # source://rdoc//lib/rdoc/comment.rb#214
def text=(text); end
# The text for this comment
#
# Alias for text
#
- # source://rdoc//rdoc/comment.rb#39
+ # source://rdoc//lib/rdoc/comment.rb#39
def to_s; end
# Returns true if this comment is in TomDoc format.
#
# @return [Boolean]
#
- # source://rdoc//rdoc/comment.rb#225
+ # source://rdoc//lib/rdoc/comment.rb#225
def tomdoc?; end
private
@@ -1196,27 +1209,29 @@ class RDoc::Comment
# --
# TODO deep copy @document
#
- # source://rdoc//rdoc/comment.rb#70
+ # source://rdoc//lib/rdoc/comment.rb#70
def initialize_copy(copy); end
end
# A constant
+#
+# source://rdoc//lib/rdoc/constant.rb#5
class RDoc::Constant < ::RDoc::CodeObject
# Creates a new constant with +name+, +value+ and +comment+
#
# @return [Constant] a new instance of Constant
#
- # source://rdoc//rdoc/constant.rb#32
+ # source://rdoc//lib/rdoc/constant.rb#32
def initialize(name, value, comment); end
# Constants are ordered by name
#
- # source://rdoc//rdoc/constant.rb#47
+ # source://rdoc//lib/rdoc/constant.rb#47
def <=>(other); end
# Constants are equal when their #parent and #name is the same
#
- # source://rdoc//rdoc/constant.rb#56
+ # source://rdoc//lib/rdoc/constant.rb#56
def ==(other); end
# A constant is documented if it has a comment, or is an alias
@@ -1224,30 +1239,30 @@ class RDoc::Constant < ::RDoc::CodeObject
#
# @return [Boolean]
#
- # source://rdoc//rdoc/constant.rb#66
+ # source://rdoc//lib/rdoc/constant.rb#66
def documented?; end
# Full constant name including namespace
#
- # source://rdoc//rdoc/constant.rb#81
+ # source://rdoc//lib/rdoc/constant.rb#81
def full_name; end
- # source://rdoc//rdoc/constant.rb#99
+ # source://rdoc//lib/rdoc/constant.rb#99
def inspect; end
# The module or class this constant is an alias for
#
- # source://rdoc//rdoc/constant.rb#88
+ # source://rdoc//lib/rdoc/constant.rb#88
def is_alias_for; end
# Sets the module or class this is constant is an alias for.
#
- # source://rdoc//rdoc/constant.rb#12
+ # source://rdoc//lib/rdoc/constant.rb#12
def is_alias_for=(_arg0); end
# Dumps this Constant for use by ri. See also #marshal_load
#
- # source://rdoc//rdoc/constant.rb#109
+ # source://rdoc//lib/rdoc/constant.rb#109
def marshal_dump; end
# Loads this Constant from +array+. For a loaded Constant the following
@@ -1256,59 +1271,61 @@ class RDoc::Constant < ::RDoc::CodeObject
# * #full_name
# * #parent_name
#
- # source://rdoc//rdoc/constant.rb#135
+ # source://rdoc//lib/rdoc/constant.rb#135
def marshal_load(array); end
# The constant's name
#
- # source://rdoc//rdoc/constant.rb#17
+ # source://rdoc//lib/rdoc/constant.rb#17
def name; end
# The constant's name
#
- # source://rdoc//rdoc/constant.rb#17
+ # source://rdoc//lib/rdoc/constant.rb#17
def name=(_arg0); end
# Path to this constant for use with HTML generator output.
#
- # source://rdoc//rdoc/constant.rb#153
+ # source://rdoc//lib/rdoc/constant.rb#153
def path; end
- # source://rdoc//rdoc/constant.rb#157
+ # source://rdoc//lib/rdoc/constant.rb#157
def pretty_print(q); end
# Sets the store for this class or module and its contained code objects.
#
- # source://rdoc//rdoc/constant.rb#171
+ # source://rdoc//lib/rdoc/constant.rb#171
def store=(store); end
- # source://rdoc//rdoc/constant.rb#177
+ # source://rdoc//lib/rdoc/constant.rb#177
def to_s; end
# The constant's value
#
- # source://rdoc//rdoc/constant.rb#22
+ # source://rdoc//lib/rdoc/constant.rb#22
def value; end
# The constant's value
#
- # source://rdoc//rdoc/constant.rb#22
+ # source://rdoc//lib/rdoc/constant.rb#22
def value=(_arg0); end
# The constant's visibility
#
- # source://rdoc//rdoc/constant.rb#27
+ # source://rdoc//lib/rdoc/constant.rb#27
def visibility; end
# The constant's visibility
#
- # source://rdoc//rdoc/constant.rb#27
+ # source://rdoc//lib/rdoc/constant.rb#27
def visibility=(_arg0); end
end
# A Context is something that can hold modules, classes, methods, attributes,
# aliases, requires, and includes. Classes, modules, and files are all
# Contexts.
+#
+# source://rdoc//lib/rdoc/context.rb#7
class RDoc::Context < ::RDoc::CodeObject
include ::Comparable
@@ -1316,12 +1333,12 @@ class RDoc::Context < ::RDoc::CodeObject
#
# @return [Context] a new instance of Context
#
- # source://rdoc//rdoc/context.rb#123
+ # source://rdoc//lib/rdoc/context.rb#123
def initialize; end
# Contexts are sorted by full_name
#
- # source://rdoc//rdoc/context.rb#171
+ # source://rdoc//lib/rdoc/context.rb#171
def <=>(other); end
# Adds an item of type +klass+ with the given +name+ and +comment+ to the
@@ -1329,12 +1346,12 @@ class RDoc::Context < ::RDoc::CodeObject
#
# Currently only RDoc::Extend and RDoc::Include are supported.
#
- # source://rdoc//rdoc/context.rb#183
+ # source://rdoc//lib/rdoc/context.rb#183
def add(klass, name, comment); end
# Adds +an_alias+ that is automatically resolved
#
- # source://rdoc//rdoc/context.rb#198
+ # source://rdoc//lib/rdoc/context.rb#198
def add_alias(an_alias); end
# Adds +attribute+ if not already there. If it is (as method(s) or attribute),
@@ -1345,7 +1362,7 @@ class RDoc::Context < ::RDoc::CodeObject
# if method +foo+ exists, but attr_accessor :foo will be registered
# if method +foo+ exists, but foo= does not.
#
- # source://rdoc//rdoc/context.rb#225
+ # source://rdoc//lib/rdoc/context.rb#225
def add_attribute(attribute); end
# Adds a class named +given_name+ with +superclass+.
@@ -1362,7 +1379,7 @@ class RDoc::Context < ::RDoc::CodeObject
# unless it later sees class Container. +add_class+ automatically
# upgrades +given_name+ to a class in this case.
#
- # source://rdoc//rdoc/context.rb#288
+ # source://rdoc//lib/rdoc/context.rb#288
def add_class(class_type, given_name, superclass = T.unsafe(nil)); end
# Adds the class or module +mod+ to the modules or
@@ -1371,51 +1388,51 @@ class RDoc::Context < ::RDoc::CodeObject
# unless #done_documenting is +true+. Sets the #parent of +mod+
# to +self+, and its #section to #current_section. Returns +mod+.
#
- # source://rdoc//rdoc/context.rb#404
+ # source://rdoc//lib/rdoc/context.rb#404
def add_class_or_module(mod, self_hash, all_hash); end
# Adds +constant+ if not already there. If it is, updates the comment,
# value and/or is_alias_for of the known constant if they were empty/nil.
#
- # source://rdoc//rdoc/context.rb#429
+ # source://rdoc//lib/rdoc/context.rb#429
def add_constant(constant); end
# Adds extension module +ext+ which should be an RDoc::Extend
#
- # source://rdoc//rdoc/context.rb#463
+ # source://rdoc//lib/rdoc/context.rb#463
def add_extend(ext); end
# Adds included module +include+ which should be an RDoc::Include
#
- # source://rdoc//rdoc/context.rb#454
+ # source://rdoc//lib/rdoc/context.rb#454
def add_include(include); end
# Adds +method+ if not already there. If it is (as method or attribute),
# updates the comment if it was empty.
#
- # source://rdoc//rdoc/context.rb#473
+ # source://rdoc//lib/rdoc/context.rb#473
def add_method(method); end
# Adds a module named +name+. If RDoc already knows +name+ is a class then
# that class is returned instead. See also #add_class.
#
- # source://rdoc//rdoc/context.rb#506
+ # source://rdoc//lib/rdoc/context.rb#506
def add_module(class_type, name); end
# Adds an alias from +from+ (a class or module) to +name+ which was defined
# in +file+.
#
- # source://rdoc//rdoc/context.rb#527
+ # source://rdoc//lib/rdoc/context.rb#527
def add_module_alias(from, from_name, to, file); end
# Adds a module by +RDoc::NormalModule+ instance. See also #add_module.
#
- # source://rdoc//rdoc/context.rb#519
+ # source://rdoc//lib/rdoc/context.rb#519
def add_module_by_normal_module(mod); end
# Adds +require+ to this context's top level
#
- # source://rdoc//rdoc/context.rb#568
+ # source://rdoc//lib/rdoc/context.rb#568
def add_require(require); end
# Returns a section with +title+, creating it if it doesn't already exist.
@@ -1425,17 +1442,17 @@ class RDoc::Context < ::RDoc::CodeObject
#
# See also RDoc::Context::Section
#
- # source://rdoc//rdoc/context.rb#586
+ # source://rdoc//lib/rdoc/context.rb#586
def add_section(title, comment = T.unsafe(nil)); end
# Adds +thing+ to the collection +array+
#
- # source://rdoc//rdoc/context.rb#600
+ # source://rdoc//lib/rdoc/context.rb#600
def add_to(array, thing); end
# Class/module aliases
#
- # source://rdoc//rdoc/context.rb#25
+ # source://rdoc//lib/rdoc/context.rb#25
def aliases; end
# Is there any content?
@@ -1445,88 +1462,88 @@ class RDoc::Context < ::RDoc::CodeObject
#
# Includes and extends are also checked unless includes == false.
#
- # source://rdoc//rdoc/context.rb#616
+ # source://rdoc//lib/rdoc/context.rb#616
def any_content(includes = T.unsafe(nil)); end
# All attr* methods
#
- # source://rdoc//rdoc/context.rb#30
+ # source://rdoc//lib/rdoc/context.rb#30
def attributes; end
# Block params to be used in the next MethodAttr parsed under this context
#
- # source://rdoc//rdoc/context.rb#35
+ # source://rdoc//lib/rdoc/context.rb#35
def block_params; end
# Block params to be used in the next MethodAttr parsed under this context
#
- # source://rdoc//rdoc/context.rb#35
+ # source://rdoc//lib/rdoc/context.rb#35
def block_params=(_arg0); end
# Creates the full name for a child with +name+
#
- # source://rdoc//rdoc/context.rb#632
+ # source://rdoc//lib/rdoc/context.rb#632
def child_name(name); end
# Class attributes
#
- # source://rdoc//rdoc/context.rb#645
+ # source://rdoc//lib/rdoc/context.rb#645
def class_attributes; end
# Class methods
#
- # source://rdoc//rdoc/context.rb#652
+ # source://rdoc//lib/rdoc/context.rb#652
def class_method_list; end
# Array of classes in this context
#
- # source://rdoc//rdoc/context.rb#659
+ # source://rdoc//lib/rdoc/context.rb#659
def classes; end
# All classes and modules in this namespace
#
- # source://rdoc//rdoc/context.rb#666
+ # source://rdoc//lib/rdoc/context.rb#666
def classes_and_modules; end
# Hash of classes keyed by class name
#
- # source://rdoc//rdoc/context.rb#673
+ # source://rdoc//lib/rdoc/context.rb#673
def classes_hash; end
# Constants defined
#
- # source://rdoc//rdoc/context.rb#40
+ # source://rdoc//lib/rdoc/context.rb#40
def constants; end
# Hash of registered constants.
#
- # source://rdoc//rdoc/context.rb#118
+ # source://rdoc//lib/rdoc/context.rb#118
def constants_hash; end
# Current visibility of this line
#
- # source://rdoc//rdoc/context.rb#102
+ # source://rdoc//lib/rdoc/context.rb#102
def current_line_visibility=(_arg0); end
# The current documentation section that new items will be added to. If
# temporary_section is available it will be used.
#
- # source://rdoc//rdoc/context.rb#681
+ # source://rdoc//lib/rdoc/context.rb#681
def current_section; end
# Sets the current documentation section of documentation
#
- # source://rdoc//rdoc/context.rb#45
+ # source://rdoc//lib/rdoc/context.rb#45
def current_section=(_arg0); end
# Is part of this thing was defined in +file+?
#
# @return [Boolean]
#
- # source://rdoc//rdoc/context.rb#694
+ # source://rdoc//lib/rdoc/context.rb#694
def defined_in?(file); end
- # source://rdoc//rdoc/context.rb#698
+ # source://rdoc//lib/rdoc/context.rb#698
def display(method_attr); end
# Iterator for ancestors for duck-typing. Does nothing. See
@@ -1535,37 +1552,37 @@ class RDoc::Context < ::RDoc::CodeObject
# This method exists to make it easy to work with Context subclasses that
# aren't part of RDoc.
#
- # source://rdoc//rdoc/context.rb#713
+ # source://rdoc//lib/rdoc/context.rb#713
def each_ancestor; end
# Iterator for attributes
#
- # source://rdoc//rdoc/context.rb#719
+ # source://rdoc//lib/rdoc/context.rb#719
def each_attribute; end
# Iterator for classes and modules
#
- # source://rdoc//rdoc/context.rb#726
+ # source://rdoc//lib/rdoc/context.rb#726
def each_classmodule(&block); end
# Iterator for constants
#
- # source://rdoc//rdoc/context.rb#733
+ # source://rdoc//lib/rdoc/context.rb#733
def each_constant; end
# Iterator for extension modules
#
- # source://rdoc//rdoc/context.rb#747
+ # source://rdoc//lib/rdoc/context.rb#747
def each_extend; end
# Iterator for included modules
#
- # source://rdoc//rdoc/context.rb#740
+ # source://rdoc//lib/rdoc/context.rb#740
def each_include; end
# Iterator for methods
#
- # source://rdoc//rdoc/context.rb#754
+ # source://rdoc//lib/rdoc/context.rb#754
def each_method; end
# Iterator for each section's contents sorted by title. The +section+, the
@@ -1577,98 +1594,98 @@ class RDoc::Context < ::RDoc::CodeObject
#
# NOTE: Do not edit collections yielded by this method
#
- # source://rdoc//rdoc/context.rb#770
+ # source://rdoc//lib/rdoc/context.rb#770
def each_section; end
# Modules this context is extended with
#
- # source://rdoc//rdoc/context.rb#60
+ # source://rdoc//lib/rdoc/context.rb#60
def extends; end
# Aliases that could not be resolved.
#
- # source://rdoc//rdoc/context.rb#92
+ # source://rdoc//lib/rdoc/context.rb#92
def external_aliases; end
# Finds an attribute +name+ with singleton value +singleton+.
#
- # source://rdoc//rdoc/context.rb#787
+ # source://rdoc//lib/rdoc/context.rb#787
def find_attribute(name, singleton); end
# Finds an attribute with +name+ in this context
#
- # source://rdoc//rdoc/context.rb#795
+ # source://rdoc//lib/rdoc/context.rb#795
def find_attribute_named(name); end
# Finds a class method with +name+ in this context
#
- # source://rdoc//rdoc/context.rb#809
+ # source://rdoc//lib/rdoc/context.rb#809
def find_class_method_named(name); end
# Finds a constant with +name+ in this context
#
- # source://rdoc//rdoc/context.rb#816
+ # source://rdoc//lib/rdoc/context.rb#816
def find_constant_named(name); end
# Find a module at a higher scope
#
- # source://rdoc//rdoc/context.rb#825
+ # source://rdoc//lib/rdoc/context.rb#825
def find_enclosing_module_named(name); end
# Finds an external alias +name+ with singleton value +singleton+.
#
- # source://rdoc//rdoc/context.rb#832
+ # source://rdoc//lib/rdoc/context.rb#832
def find_external_alias(name, singleton); end
# Finds an external alias with +name+ in this context
#
- # source://rdoc//rdoc/context.rb#839
+ # source://rdoc//lib/rdoc/context.rb#839
def find_external_alias_named(name); end
# Finds a file with +name+ in this context
#
- # source://rdoc//rdoc/context.rb#853
+ # source://rdoc//lib/rdoc/context.rb#853
def find_file_named(name); end
# Finds an instance method with +name+ in this context
#
- # source://rdoc//rdoc/context.rb#860
+ # source://rdoc//lib/rdoc/context.rb#860
def find_instance_method_named(name); end
# Finds a method, constant, attribute, external alias, module or file
# named +symbol+ in this context.
#
- # source://rdoc//rdoc/context.rb#868
+ # source://rdoc//lib/rdoc/context.rb#868
def find_local_symbol(symbol); end
# Finds a method named +name+ with singleton value +singleton+.
#
- # source://rdoc//rdoc/context.rb#880
+ # source://rdoc//lib/rdoc/context.rb#880
def find_method(name, singleton); end
# Finds a instance or module method with +name+ in this context
#
- # source://rdoc//rdoc/context.rb#893
+ # source://rdoc//lib/rdoc/context.rb#893
def find_method_named(name); end
# Find a module with +name+ using ruby's scoping rules
#
- # source://rdoc//rdoc/context.rb#907
+ # source://rdoc//lib/rdoc/context.rb#907
def find_module_named(name); end
# Look up +symbol+, first as a module, then as a local symbol.
#
- # source://rdoc//rdoc/context.rb#917
+ # source://rdoc//lib/rdoc/context.rb#917
def find_symbol(symbol); end
# Look up a module named +symbol+.
#
- # source://rdoc//rdoc/context.rb#924
+ # source://rdoc//lib/rdoc/context.rb#924
def find_symbol_module(symbol); end
# The full name for this context. This method is overridden by subclasses.
#
- # source://rdoc//rdoc/context.rb#957
+ # source://rdoc//lib/rdoc/context.rb#957
def full_name; end
# Does this context and its methods and constants all have documentation?
@@ -1677,49 +1694,49 @@ class RDoc::Context < ::RDoc::CodeObject
#
# @return [Boolean]
#
- # source://rdoc//rdoc/context.rb#966
+ # source://rdoc//lib/rdoc/context.rb#966
def fully_documented?; end
# URL for this with a +prefix+
#
- # source://rdoc//rdoc/context.rb#976
+ # source://rdoc//lib/rdoc/context.rb#976
def http_url(prefix); end
# Files this context is found in
#
- # source://rdoc//rdoc/context.rb#50
+ # source://rdoc//lib/rdoc/context.rb#50
def in_files; end
# Modules this context includes
#
- # source://rdoc//rdoc/context.rb#55
+ # source://rdoc//lib/rdoc/context.rb#55
def includes; end
# Sets the defaults for methods and so-forth
#
- # source://rdoc//rdoc/context.rb#145
+ # source://rdoc//lib/rdoc/context.rb#145
def initialize_methods_etc; end
# Instance attributes
#
- # source://rdoc//rdoc/context.rb#987
+ # source://rdoc//lib/rdoc/context.rb#987
def instance_attributes; end
# Instance methods
# --
# TODO remove this later
#
- # source://rdoc//rdoc/context.rb#1003
+ # source://rdoc//lib/rdoc/context.rb#1003
def instance_method_list; end
# Instance methods
#
- # source://rdoc//rdoc/context.rb#994
+ # source://rdoc//lib/rdoc/context.rb#994
def instance_methods; end
# Methods defined in this context
#
- # source://rdoc//rdoc/context.rb#65
+ # source://rdoc//lib/rdoc/context.rb#65
def method_list; end
# Breaks method_list into a nested hash by type ('class' or
@@ -1728,59 +1745,59 @@ class RDoc::Context < ::RDoc::CodeObject
# If +section+ is provided only methods in that RDoc::Context::Section will
# be returned.
#
- # source://rdoc//rdoc/context.rb#1015
+ # source://rdoc//lib/rdoc/context.rb#1015
def methods_by_type(section = T.unsafe(nil)); end
# Hash of registered methods. Attributes are also registered here,
# twice if they are RW.
#
- # source://rdoc//rdoc/context.rb#108
+ # source://rdoc//lib/rdoc/context.rb#108
def methods_hash; end
# Yields AnyMethod and Attr entries matching the list of names in +methods+.
#
- # source://rdoc//rdoc/context.rb#1038
+ # source://rdoc//lib/rdoc/context.rb#1038
def methods_matching(methods, singleton = T.unsafe(nil), &block); end
# Array of modules in this context
#
- # source://rdoc//rdoc/context.rb#1051
+ # source://rdoc//lib/rdoc/context.rb#1051
def modules; end
# Hash of modules keyed by module name
#
- # source://rdoc//rdoc/context.rb#1058
+ # source://rdoc//lib/rdoc/context.rb#1058
def modules_hash; end
# Name of this class excluding namespace. See also full_name
#
- # source://rdoc//rdoc/context.rb#70
+ # source://rdoc//lib/rdoc/context.rb#70
def name; end
# Name to use to generate the url.
# #full_name by default.
#
- # source://rdoc//rdoc/context.rb#1066
+ # source://rdoc//lib/rdoc/context.rb#1066
def name_for_path; end
# Changes the visibility for new methods to +visibility+
#
- # source://rdoc//rdoc/context.rb#1073
+ # source://rdoc//lib/rdoc/context.rb#1073
def ongoing_visibility=(visibility); end
# Params to be used in the next MethodAttr parsed under this context
#
- # source://rdoc//rdoc/context.rb#113
+ # source://rdoc//lib/rdoc/context.rb#113
def params; end
# Params to be used in the next MethodAttr parsed under this context
#
- # source://rdoc//rdoc/context.rb#113
+ # source://rdoc//lib/rdoc/context.rb#113
def params=(_arg0); end
# Record +top_level+ as a file +self+ is in.
#
- # source://rdoc//rdoc/context.rb#1080
+ # source://rdoc//lib/rdoc/context.rb#1080
def record_location(top_level); end
# Should we remove this context from the documentation?
@@ -1794,80 +1811,80 @@ class RDoc::Context < ::RDoc::CodeObject
#
# @return [Boolean]
#
- # source://rdoc//rdoc/context.rb#1094
+ # source://rdoc//lib/rdoc/context.rb#1094
def remove_from_documentation?; end
# Removes methods and attributes with a visibility less than +min_visibility+.
# --
# TODO mark the visibility of attributes in the template (if not public?)
#
- # source://rdoc//rdoc/context.rb#1107
+ # source://rdoc//lib/rdoc/context.rb#1107
def remove_invisible(min_visibility); end
# Only called when min_visibility == :public or :private
#
- # source://rdoc//rdoc/context.rb#1117
+ # source://rdoc//lib/rdoc/context.rb#1117
def remove_invisible_in(array, min_visibility); end
# Files this context requires
#
- # source://rdoc//rdoc/context.rb#75
+ # source://rdoc//lib/rdoc/context.rb#75
def requires; end
# Tries to resolve unmatched aliases when a method or attribute has just
# been added.
#
- # source://rdoc//rdoc/context.rb#1133
+ # source://rdoc//lib/rdoc/context.rb#1133
def resolve_aliases(added); end
# Returns RDoc::Context::Section objects referenced in this context for use
# in a table of contents.
#
- # source://rdoc//rdoc/context.rb#1149
+ # source://rdoc//lib/rdoc/context.rb#1149
def section_contents; end
# Sections in this context
#
- # source://rdoc//rdoc/context.rb#1173
+ # source://rdoc//lib/rdoc/context.rb#1173
def sections; end
- # source://rdoc//rdoc/context.rb#1177
+ # source://rdoc//lib/rdoc/context.rb#1177
def sections_hash; end
# Given an array +names+ of constants, set the visibility of each constant to
# +visibility+
#
- # source://rdoc//rdoc/context.rb#1202
+ # source://rdoc//lib/rdoc/context.rb#1202
def set_constant_visibility_for(names, visibility); end
# Sets the current section to a section with +title+. See also #add_section
#
- # source://rdoc//rdoc/context.rb#1184
+ # source://rdoc//lib/rdoc/context.rb#1184
def set_current_section(title, comment); end
# Given an array +methods+ of method names, set the visibility of each to
# +visibility+
#
- # source://rdoc//rdoc/context.rb#1192
+ # source://rdoc//lib/rdoc/context.rb#1192
def set_visibility_for(methods, visibility, singleton = T.unsafe(nil)); end
# Sorts sections alphabetically (default) or in TomDoc fashion (none,
# Public, Internal, Deprecated)
#
- # source://rdoc//rdoc/context.rb#1213
+ # source://rdoc//lib/rdoc/context.rb#1213
def sort_sections; end
# Use this section for the next method, attribute or constant added.
#
- # source://rdoc//rdoc/context.rb#80
+ # source://rdoc//lib/rdoc/context.rb#80
def temporary_section; end
# Use this section for the next method, attribute or constant added.
#
- # source://rdoc//rdoc/context.rb#80
+ # source://rdoc//lib/rdoc/context.rb#80
def temporary_section=(_arg0); end
- # source://rdoc//rdoc/context.rb#1229
+ # source://rdoc//lib/rdoc/context.rb#1229
def to_s; end
# Return the TopLevel that owns us
@@ -1875,36 +1892,36 @@ class RDoc::Context < ::RDoc::CodeObject
# FIXME we can be 'owned' by several TopLevel (see #record_location &
# #in_files)
#
- # source://rdoc//rdoc/context.rb#1239
+ # source://rdoc//lib/rdoc/context.rb#1239
def top_level; end
# Hash old_name => [aliases], for aliases
# that haven't (yet) been resolved to a method/attribute.
# (Not to be confused with the aliases of the context.)
#
- # source://rdoc//rdoc/context.rb#87
+ # source://rdoc//lib/rdoc/context.rb#87
def unmatched_alias_lists; end
# Hash old_name => [aliases], for aliases
# that haven't (yet) been resolved to a method/attribute.
# (Not to be confused with the aliases of the context.)
#
- # source://rdoc//rdoc/context.rb#87
+ # source://rdoc//lib/rdoc/context.rb#87
def unmatched_alias_lists=(_arg0); end
# Upgrades NormalModule +mod+ in +enclosing+ to a +class_type+
#
- # source://rdoc//rdoc/context.rb#1249
+ # source://rdoc//lib/rdoc/context.rb#1249
def upgrade_to_class(mod, class_type, enclosing); end
# Current visibility of this context
#
- # source://rdoc//rdoc/context.rb#97
+ # source://rdoc//lib/rdoc/context.rb#97
def visibility; end
# Current visibility of this context
#
- # source://rdoc//rdoc/context.rb#97
+ # source://rdoc//lib/rdoc/context.rb#97
def visibility=(_arg0); end
end
@@ -1915,6 +1932,8 @@ end
#
# Sections can be referenced multiple times and will be collapsed into a
# single section.
+#
+# source://rdoc//lib/rdoc/context/section.rb#13
class RDoc::Context::Section
include ::RDoc::Text
include ::RDoc::Generator::Markup
@@ -1923,37 +1942,37 @@ class RDoc::Context::Section
#
# @return [Section] a new instance of Section
#
- # source://rdoc//rdoc/context/section.rb#42
+ # source://rdoc//lib/rdoc/context/section.rb#42
def initialize(parent, title, comment); end
# Sections are equal when they have the same #title
#
- # source://rdoc//rdoc/context/section.rb#54
+ # source://rdoc//lib/rdoc/context/section.rb#54
def ==(other); end
# Adds +comment+ to this section
#
- # source://rdoc//rdoc/context/section.rb#63
+ # source://rdoc//lib/rdoc/context/section.rb#63
def add_comment(comment); end
# Anchor reference for linking to this section
#
- # source://rdoc//rdoc/context/section.rb#83
+ # source://rdoc//lib/rdoc/context/section.rb#83
def aref; end
# Section comment
#
- # source://rdoc//rdoc/context/section.rb#22
+ # source://rdoc//lib/rdoc/context/section.rb#22
def comment; end
# Section comments
#
- # source://rdoc//rdoc/context/section.rb#27
+ # source://rdoc//lib/rdoc/context/section.rb#27
def comments; end
# Sections are equal when they have the same #title
#
- # source://rdoc//rdoc/context/section.rb#54
+ # source://rdoc//lib/rdoc/context/section.rb#54
def eql?(other); end
# Extracts the comment for this section from the original comment block.
@@ -1964,69 +1983,71 @@ class RDoc::Context::Section
# # :section: The title
# # The body
#
- # source://rdoc//rdoc/context/section.rb#98
+ # source://rdoc//lib/rdoc/context/section.rb#98
def extract_comment(comment); end
- # source://rdoc//rdoc/context/section.rb#130
+ # source://rdoc//lib/rdoc/context/section.rb#130
def hash; end
# The files comments in this section come from
#
- # source://rdoc//rdoc/context/section.rb#137
+ # source://rdoc//lib/rdoc/context/section.rb#137
def in_files; end
- # source://rdoc//rdoc/context/section.rb#126
+ # source://rdoc//lib/rdoc/context/section.rb#126
def inspect; end
# Serializes this Section. The title and parsed comment are saved, but not
# the section parent which must be restored manually.
#
- # source://rdoc//rdoc/context/section.rb#158
+ # source://rdoc//lib/rdoc/context/section.rb#158
def marshal_dump; end
# De-serializes this Section. The section parent must be restored manually.
#
- # source://rdoc//rdoc/context/section.rb#169
+ # source://rdoc//lib/rdoc/context/section.rb#169
def marshal_load(array); end
# Context this Section lives in
#
- # source://rdoc//rdoc/context/section.rb#32
+ # source://rdoc//lib/rdoc/context/section.rb#32
def parent; end
# Parses +comment_location+ into an RDoc::Markup::Document composed of
# multiple RDoc::Markup::Documents with their file set.
#
- # source://rdoc//rdoc/context/section.rb#180
+ # source://rdoc//lib/rdoc/context/section.rb#180
def parse; end
# The section's title, or 'Top Section' if the title is nil.
#
# This is used by the table of contents template so the name is silly.
#
- # source://rdoc//rdoc/context/section.rb#208
+ # source://rdoc//lib/rdoc/context/section.rb#208
def plain_html; end
# Removes a comment from this section if it is from the same file as
# +comment+
#
- # source://rdoc//rdoc/context/section.rb#216
+ # source://rdoc//lib/rdoc/context/section.rb#216
def remove_comment(comment); end
# Section title
#
- # source://rdoc//rdoc/context/section.rb#37
+ # source://rdoc//lib/rdoc/context/section.rb#37
def title; end
end
# RDoc::CrossReference is a reusable way to create cross references for names.
+#
+# source://rdoc//lib/rdoc/cross_reference.rb#8
class RDoc::CrossReference
# Allows cross-references to be created based on the given +context+
# (RDoc::Context).
#
# @return [CrossReference] a new instance of CrossReference
#
- # source://rdoc//rdoc/cross_reference.rb#127
+ # source://rdoc//lib/rdoc/cross_reference.rb#127
def initialize(context); end
# Returns a reference to +name+.
@@ -2035,33 +2056,33 @@ class RDoc::CrossReference
# returned. If +name+ is escaped +name+ is returned. If +name+ is not
# found +text+ is returned.
#
- # source://rdoc//rdoc/cross_reference.rb#190
+ # source://rdoc//lib/rdoc/cross_reference.rb#190
def resolve(name, text); end
# Returns a method reference to +name+.
#
- # source://rdoc//rdoc/cross_reference.rb#137
+ # source://rdoc//lib/rdoc/cross_reference.rb#137
def resolve_method(name); end
# Hash of references that have been looked-up to their replacements
#
- # source://rdoc//rdoc/cross_reference.rb#121
+ # source://rdoc//lib/rdoc/cross_reference.rb#121
def seen; end
# Hash of references that have been looked-up to their replacements
#
- # source://rdoc//rdoc/cross_reference.rb#121
+ # source://rdoc//lib/rdoc/cross_reference.rb#121
def seen=(_arg0); end
end
# Regular expression to match method arguments.
#
-# source://rdoc//rdoc/cross_reference.rb#28
+# source://rdoc//lib/rdoc/cross_reference.rb#28
RDoc::CrossReference::METHOD_ARGS_REGEXP_STR = T.let(T.unsafe(nil), String)
# Regular expression to match a single method argument.
#
-# source://rdoc//rdoc/cross_reference.rb#23
+# source://rdoc//lib/rdoc/cross_reference.rb#23
RDoc::CrossReference::METHOD_ARG_REGEXP_STR = T.let(T.unsafe(nil), String)
# A subclass of ERB that writes directly to an IO. Credit to Aaron Patterson
@@ -2076,43 +2097,49 @@ RDoc::CrossReference::METHOD_ARG_REGEXP_STR = T.let(T.unsafe(nil), String)
# end
#
# Note that binding must enclose the io you wish to output on.
+#
+# source://rdoc//lib/rdoc/erbio.rb#18
class RDoc::ERBIO < ::ERB
# Defaults +eoutvar+ to 'io', otherwise is identical to ERB's initialize
#
# @return [ERBIO] a new instance of ERBIO
#
- # source://rdoc//rdoc/erbio.rb#23
+ # source://rdoc//lib/rdoc/erbio.rb#23
def initialize(str, trim_mode: T.unsafe(nil), eoutvar: T.unsafe(nil)); end
# Instructs +compiler+ how to write to +io_variable+
#
- # source://rdoc//rdoc/erbio.rb#30
+ # source://rdoc//lib/rdoc/erbio.rb#30
def set_eoutvar(compiler, io_variable); end
end
# Allows an ERB template to be rendered in the context (binding) of an
# existing ERB template evaluation.
+#
+# source://rdoc//lib/rdoc/erb_partial.rb#6
class RDoc::ERBPartial < ::ERB
# Overrides +compiler+ startup to set the +eoutvar+ to an empty string only
# if it isn't already set.
#
- # source://rdoc//rdoc/erb_partial.rb#12
+ # source://rdoc//lib/rdoc/erb_partial.rb#12
def set_eoutvar(compiler, eoutvar = T.unsafe(nil)); end
end
# This class is a wrapper around File IO and Encoding that helps RDoc load
# files and convert them to the correct encoding.
+#
+# source://rdoc//lib/rdoc/encoding.rb#8
module RDoc::Encoding
class << self
# Changes encoding based on +encoding+ without converting and returns new
# string
#
- # source://rdoc//rdoc/encoding.rb#112
+ # source://rdoc//lib/rdoc/encoding.rb#112
def change_encoding(text, encoding); end
# Detects the encoding of +string+ based on the magic comment
#
- # source://rdoc//rdoc/encoding.rb#92
+ # source://rdoc//lib/rdoc/encoding.rb#92
def detect_encoding(string); end
# Reads the contents of +filename+ and handles any encoding directives in
@@ -2124,19 +2151,20 @@ module RDoc::Encoding
# If +force_transcode+ is true the document will be transcoded and any
# unknown character in the target encoding will be replaced with '?'
#
- # source://rdoc//rdoc/encoding.rb#32
+ # source://rdoc//lib/rdoc/encoding.rb#32
def read_file(filename, encoding, force_transcode = T.unsafe(nil)); end
# Removes magic comments and shebang
#
- # source://rdoc//rdoc/encoding.rb#102
+ # source://rdoc//lib/rdoc/encoding.rb#102
def remove_magic_comment(string); end
end
end
-# source://rdoc//rdoc/encoding.rb#10
+# source://rdoc//lib/rdoc/encoding.rb#10
RDoc::Encoding::HEADER_REGEXP = T.let(T.unsafe(nil), Regexp)
+# source://rdoc//lib/rdoc/generator/darkfish.rb#55
class RDoc::Generator::Darkfish
include ::ERB::Escape
include ::ERB::Util
@@ -2147,7 +2175,7 @@ class RDoc::Generator::Darkfish
#
# @return [Darkfish] a new instance of Darkfish
#
- # source://rdoc//rdoc/generator/darkfish.rb#159
+ # source://rdoc//lib/rdoc/generator/darkfish.rb#159
def initialize(store, options); end
# Creates a template from its components and the +body_file+.
@@ -2155,174 +2183,174 @@ class RDoc::Generator::Darkfish
# For backwards compatibility, if +body_file+ contains "--op from the
# options for a full path.
#
- # source://rdoc//rdoc/generator/darkfish.rb#102
+ # source://rdoc//lib/rdoc/generator/darkfish.rb#102
def base_dir; end
# Directory where generated class HTML files live relative to the output
# dir.
#
- # source://rdoc//rdoc/generator/darkfish.rb#191
+ # source://rdoc//lib/rdoc/generator/darkfish.rb#191
def class_dir; end
# Classes and modules to be used by this generator, not necessarily
# displayed. See also #modsort
#
- # source://rdoc//rdoc/generator/darkfish.rb#108
+ # source://rdoc//lib/rdoc/generator/darkfish.rb#108
def classes; end
# Copies static files from the static_path into the output directory
#
- # source://rdoc//rdoc/generator/darkfish.rb#265
+ # source://rdoc//lib/rdoc/generator/darkfish.rb#265
def copy_static; end
# Output progress information if debugging is enabled
#
- # source://rdoc//rdoc/generator/darkfish.rb#182
+ # source://rdoc//lib/rdoc/generator/darkfish.rb#182
def debug_msg(*msg); end
# No files will be written when dry_run is true.
#
- # source://rdoc//rdoc/generator/darkfish.rb#113
+ # source://rdoc//lib/rdoc/generator/darkfish.rb#113
def dry_run; end
# No files will be written when dry_run is true.
#
- # source://rdoc//rdoc/generator/darkfish.rb#113
+ # source://rdoc//lib/rdoc/generator/darkfish.rb#113
def dry_run=(_arg0); end
# Directory where generated class HTML files live relative to the output
# dir.
#
- # source://rdoc//rdoc/generator/darkfish.rb#199
+ # source://rdoc//lib/rdoc/generator/darkfish.rb#199
def file_dir; end
# When false the generate methods return a String instead of writing to a
# file. The default is true.
#
- # source://rdoc//rdoc/generator/darkfish.rb#119
+ # source://rdoc//lib/rdoc/generator/darkfish.rb#119
def file_output; end
# When false the generate methods return a String instead of writing to a
# file. The default is true.
#
- # source://rdoc//rdoc/generator/darkfish.rb#119
+ # source://rdoc//lib/rdoc/generator/darkfish.rb#119
def file_output=(_arg0); end
# Files to be displayed by this generator
#
- # source://rdoc//rdoc/generator/darkfish.rb#124
+ # source://rdoc//lib/rdoc/generator/darkfish.rb#124
def files; end
# Create the directories the generated docs will live in if they don't
# already exist.
#
- # source://rdoc//rdoc/generator/darkfish.rb#207
+ # source://rdoc//lib/rdoc/generator/darkfish.rb#207
def gen_sub_directories; end
# Build the initial indices and output objects based on an array of TopLevel
# objects containing the extracted information.
#
- # source://rdoc//rdoc/generator/darkfish.rb#241
+ # source://rdoc//lib/rdoc/generator/darkfish.rb#241
def generate; end
# Generates a class file for +klass+
#
- # source://rdoc//rdoc/generator/darkfish.rb#337
+ # source://rdoc//lib/rdoc/generator/darkfish.rb#337
def generate_class(klass, template_file = T.unsafe(nil)); end
# Generate a documentation file for each class and module
#
- # source://rdoc//rdoc/generator/darkfish.rb#368
+ # source://rdoc//lib/rdoc/generator/darkfish.rb#368
def generate_class_files; end
# Generate a documentation file for each file
#
- # source://rdoc//rdoc/generator/darkfish.rb#395
+ # source://rdoc//lib/rdoc/generator/darkfish.rb#395
def generate_file_files; end
# Generate an index page which lists all the classes which are documented.
#
- # source://rdoc//rdoc/generator/darkfish.rb#303
+ # source://rdoc//lib/rdoc/generator/darkfish.rb#303
def generate_index; end
# Generate a page file for +file+
#
- # source://rdoc//rdoc/generator/darkfish.rb#464
+ # source://rdoc//lib/rdoc/generator/darkfish.rb#464
def generate_page(file); end
# Generates the 404 page for the RDoc servlet
#
- # source://rdoc//rdoc/generator/darkfish.rb#493
+ # source://rdoc//lib/rdoc/generator/darkfish.rb#493
def generate_servlet_not_found(message); end
# Generates the servlet root page for the RDoc servlet
#
- # source://rdoc//rdoc/generator/darkfish.rb#526
+ # source://rdoc//lib/rdoc/generator/darkfish.rb#526
def generate_servlet_root(installed); end
# Generate an index page which lists all the classes which are documented.
#
- # source://rdoc//rdoc/generator/darkfish.rb#553
+ # source://rdoc//lib/rdoc/generator/darkfish.rb#553
def generate_table_of_contents; end
# Return a list of the documented modules sorted by salience first, then
# by name.
#
- # source://rdoc//rdoc/generator/darkfish.rb#294
+ # source://rdoc//lib/rdoc/generator/darkfish.rb#294
def get_sorted_module_list(classes); end
# Try to extract Subversion information out of the first constant whose
# value looks like a subversion Id tag. If no matching constant is found,
# and empty hash is returned.
#
- # source://rdoc//rdoc/generator/darkfish.rb#652
+ # source://rdoc//lib/rdoc/generator/darkfish.rb#652
def get_svninfo(klass); end
- # source://rdoc//rdoc/generator/darkfish.rb#584
+ # source://rdoc//lib/rdoc/generator/darkfish.rb#584
def install_rdoc_static_file(source, destination, options); end
# The JSON index generator for this Darkfish generator
#
- # source://rdoc//rdoc/generator/darkfish.rb#129
+ # source://rdoc//lib/rdoc/generator/darkfish.rb#129
def json_index; end
# Methods to be displayed by this generator
#
- # source://rdoc//rdoc/generator/darkfish.rb#134
+ # source://rdoc//lib/rdoc/generator/darkfish.rb#134
def methods; end
# Sorted list of classes and modules to be displayed by this generator
#
- # source://rdoc//rdoc/generator/darkfish.rb#139
+ # source://rdoc//lib/rdoc/generator/darkfish.rb#139
def modsort; end
# The output directory
#
- # source://rdoc//rdoc/generator/darkfish.rb#154
+ # source://rdoc//lib/rdoc/generator/darkfish.rb#154
def outputdir; end
# Renders the ERb contained in +file_name+ relative to the template
# directory and returns the result based on the current context.
#
- # source://rdoc//rdoc/generator/darkfish.rb#699
+ # source://rdoc//lib/rdoc/generator/darkfish.rb#699
def render(file_name); end
# Load and render the erb template in the given +template_file+ and write
@@ -2332,48 +2360,49 @@ class RDoc::Generator::Darkfish
#
# An io will be yielded which must be captured by binding in the caller.
#
- # source://rdoc//rdoc/generator/darkfish.rb#717
+ # source://rdoc//lib/rdoc/generator/darkfish.rb#717
def render_template(template_file, out_file = T.unsafe(nil)); end
# Prepares for generation of output from the current directory
#
- # source://rdoc//rdoc/generator/darkfish.rb#604
+ # source://rdoc//lib/rdoc/generator/darkfish.rb#604
def setup; end
# The RDoc::Store that is the source of the generated content
#
- # source://rdoc//rdoc/generator/darkfish.rb#144
+ # source://rdoc//lib/rdoc/generator/darkfish.rb#144
def store; end
# The directory where the template files live
#
- # source://rdoc//rdoc/generator/darkfish.rb#149
+ # source://rdoc//lib/rdoc/generator/darkfish.rb#149
def template_dir; end
# Retrieves a cache template for +file+, if present, or fills the cache.
#
- # source://rdoc//rdoc/generator/darkfish.rb#764
+ # source://rdoc//lib/rdoc/generator/darkfish.rb#764
def template_for(file, page = T.unsafe(nil), klass = T.unsafe(nil)); end
# Creates the result for +template+ with +context+. If an error is raised a
# Pathname +template_file+ will indicate the file where the error occurred.
#
- # source://rdoc//rdoc/generator/darkfish.rb#751
+ # source://rdoc//lib/rdoc/generator/darkfish.rb#751
def template_result(template, context, template_file); end
# Return a string describing the amount of time in the given number of
# seconds in terms a human can understand easily.
#
- # source://rdoc//rdoc/generator/darkfish.rb#621
+ # source://rdoc//lib/rdoc/generator/darkfish.rb#621
def time_delta_string(seconds); end
# Copy over the stylesheet into the appropriate place in the output
# directory.
#
- # source://rdoc//rdoc/generator/darkfish.rb#215
+ # source://rdoc//lib/rdoc/generator/darkfish.rb#215
def write_style_sheet; end
end
+# source://rdoc//lib/rdoc/generator/json_index.rb#77
class RDoc::Generator::JsonIndex
include ::RDoc::Text
@@ -2384,63 +2413,63 @@ class RDoc::Generator::JsonIndex
#
# @return [JsonIndex] a new instance of JsonIndex
#
- # source://rdoc//rdoc/generator/json_index.rb#94
+ # source://rdoc//lib/rdoc/generator/json_index.rb#94
def initialize(parent_generator, options); end
# Builds the JSON index as a Hash.
#
- # source://rdoc//rdoc/generator/json_index.rb#110
+ # source://rdoc//lib/rdoc/generator/json_index.rb#110
def build_index; end
# The directory classes are written to
#
- # source://rdoc//rdoc/generator/json_index.rb#271
+ # source://rdoc//lib/rdoc/generator/json_index.rb#271
def class_dir; end
# Output progress information if debugging is enabled
#
- # source://rdoc//rdoc/generator/json_index.rb#123
+ # source://rdoc//lib/rdoc/generator/json_index.rb#123
def debug_msg(*msg); end
# The directory files are written to
#
- # source://rdoc//rdoc/generator/json_index.rb#278
+ # source://rdoc//lib/rdoc/generator/json_index.rb#278
def file_dir; end
# Writes the JSON index to disk
#
- # source://rdoc//rdoc/generator/json_index.rb#131
+ # source://rdoc//lib/rdoc/generator/json_index.rb#131
def generate; end
# Compress the search_index.js file using gzip
#
- # source://rdoc//rdoc/generator/json_index.rb#166
+ # source://rdoc//lib/rdoc/generator/json_index.rb#166
def generate_gzipped; end
- # source://rdoc//rdoc/generator/json_index.rb#86
+ # source://rdoc//lib/rdoc/generator/json_index.rb#86
def index; end
# Adds classes and modules to the index
#
- # source://rdoc//rdoc/generator/json_index.rb#211
+ # source://rdoc//lib/rdoc/generator/json_index.rb#211
def index_classes; end
# Adds methods to the index
#
- # source://rdoc//rdoc/generator/json_index.rb#230
+ # source://rdoc//lib/rdoc/generator/json_index.rb#230
def index_methods; end
# Adds pages to the index
#
- # source://rdoc//rdoc/generator/json_index.rb#251
+ # source://rdoc//lib/rdoc/generator/json_index.rb#251
def index_pages; end
- # source://rdoc//rdoc/generator/json_index.rb#282
+ # source://rdoc//lib/rdoc/generator/json_index.rb#282
def reset(files, classes); end
# Removes whitespace and downcases +string+
#
- # source://rdoc//rdoc/generator/json_index.rb#296
+ # source://rdoc//lib/rdoc/generator/json_index.rb#296
def search_string(string); end
end
@@ -2496,178 +2525,188 @@ end
# % rmsgmerge --update locale/ja/rdoc.po doc/rdoc.pot
#
# You edit locale/ja/rdoc.po to translate new messages.
+#
+# source://rdoc//lib/rdoc/generator/pot.rb#56
class RDoc::Generator::POT
# Set up a new .pot generator
#
# @return [POT] a new instance of POT
#
- # source://rdoc//rdoc/generator/pot.rb#68
+ # source://rdoc//lib/rdoc/generator/pot.rb#68
def initialize(store, options); end
- # source://rdoc//rdoc/generator/pot.rb#85
+ # source://rdoc//lib/rdoc/generator/pot.rb#85
def class_dir; end
# Writes .pot to disk.
#
- # source://rdoc//rdoc/generator/pot.rb#76
+ # source://rdoc//lib/rdoc/generator/pot.rb#76
def generate; end
private
- # source://rdoc//rdoc/generator/pot.rb#90
+ # source://rdoc//lib/rdoc/generator/pot.rb#90
def extract_messages; end
end
# Extracts message from RDoc::Store
+#
+# source://rdoc//lib/rdoc/generator/pot/message_extractor.rb#5
class RDoc::Generator::POT::MessageExtractor
# Creates a message extractor for +store+.
#
# @return [MessageExtractor] a new instance of MessageExtractor
#
- # source://rdoc//rdoc/generator/pot/message_extractor.rb#10
+ # source://rdoc//lib/rdoc/generator/pot/message_extractor.rb#10
def initialize(store); end
# Extracts messages from +store+, stores them into
# RDoc::Generator::POT::PO and returns it.
#
- # source://rdoc//rdoc/generator/pot/message_extractor.rb#19
+ # source://rdoc//lib/rdoc/generator/pot/message_extractor.rb#19
def extract; end
private
- # source://rdoc//rdoc/generator/pot/message_extractor.rb#64
+ # source://rdoc//lib/rdoc/generator/pot/message_extractor.rb#64
def entry(msgid, options); end
- # source://rdoc//rdoc/generator/pot/message_extractor.rb#28
+ # source://rdoc//lib/rdoc/generator/pot/message_extractor.rb#28
def extract_from_klass(klass); end
- # source://rdoc//rdoc/generator/pot/message_extractor.rb#51
+ # source://rdoc//lib/rdoc/generator/pot/message_extractor.rb#51
def extract_text(text, comment, location = T.unsafe(nil)); end
end
# Generates a PO format text
+#
+# source://rdoc//lib/rdoc/generator/pot/po.rb#5
class RDoc::Generator::POT::PO
# Creates an object that represents PO format.
#
# @return [PO] a new instance of PO
#
- # source://rdoc//rdoc/generator/pot/po.rb#10
+ # source://rdoc//lib/rdoc/generator/pot/po.rb#10
def initialize; end
# Adds a PO entry to the PO.
#
- # source://rdoc//rdoc/generator/pot/po.rb#18
+ # source://rdoc//lib/rdoc/generator/pot/po.rb#18
def add(entry); end
# Returns PO format text for the PO.
#
- # source://rdoc//rdoc/generator/pot/po.rb#29
+ # source://rdoc//lib/rdoc/generator/pot/po.rb#29
def to_s; end
private
- # source://rdoc//rdoc/generator/pot/po.rb#40
+ # source://rdoc//lib/rdoc/generator/pot/po.rb#40
def add_header; end
- # source://rdoc//rdoc/generator/pot/po.rb#44
+ # source://rdoc//lib/rdoc/generator/pot/po.rb#44
def header_entry; end
- # source://rdoc//rdoc/generator/pot/po.rb#73
+ # source://rdoc//lib/rdoc/generator/pot/po.rb#73
def sort_entries; end
end
# A PO entry in PO
+#
+# source://rdoc//lib/rdoc/generator/pot/po_entry.rb#5
class RDoc::Generator::POT::POEntry
# Creates a PO entry for +msgid+. Other valus can be specified by
# +options+.
#
# @return [POEntry] a new instance of POEntry
#
- # source://rdoc//rdoc/generator/pot/po_entry.rb#29
+ # source://rdoc//lib/rdoc/generator/pot/po_entry.rb#29
def initialize(msgid, options = T.unsafe(nil)); end
# The comment content extracted from source file
#
- # source://rdoc//rdoc/generator/pot/po_entry.rb#17
+ # source://rdoc//lib/rdoc/generator/pot/po_entry.rb#17
def extracted_comment; end
# The flags of the PO entry
#
- # source://rdoc//rdoc/generator/pot/po_entry.rb#23
+ # source://rdoc//lib/rdoc/generator/pot/po_entry.rb#23
def flags; end
# Merges the PO entry with +other_entry+.
#
- # source://rdoc//rdoc/generator/pot/po_entry.rb#56
+ # source://rdoc//lib/rdoc/generator/pot/po_entry.rb#56
def merge(other_entry); end
# The msgid content
#
- # source://rdoc//rdoc/generator/pot/po_entry.rb#8
+ # source://rdoc//lib/rdoc/generator/pot/po_entry.rb#8
def msgid; end
# The msgstr content
#
- # source://rdoc//rdoc/generator/pot/po_entry.rb#11
+ # source://rdoc//lib/rdoc/generator/pot/po_entry.rb#11
def msgstr; end
# The locations where the PO entry is extracted
#
- # source://rdoc//rdoc/generator/pot/po_entry.rb#20
+ # source://rdoc//lib/rdoc/generator/pot/po_entry.rb#20
def references; end
# Returns the PO entry in PO format.
#
- # source://rdoc//rdoc/generator/pot/po_entry.rb#41
+ # source://rdoc//lib/rdoc/generator/pot/po_entry.rb#41
def to_s; end
# The comment content created by translator (PO editor)
#
- # source://rdoc//rdoc/generator/pot/po_entry.rb#14
+ # source://rdoc//lib/rdoc/generator/pot/po_entry.rb#14
def translator_comment; end
private
- # source://rdoc//rdoc/generator/pot/po_entry.rb#120
+ # source://rdoc//lib/rdoc/generator/pot/po_entry.rb#120
def escape(string); end
- # source://rdoc//rdoc/generator/pot/po_entry.rb#72
+ # source://rdoc//lib/rdoc/generator/pot/po_entry.rb#72
def format_comment(mark, comment); end
- # source://rdoc//rdoc/generator/pot/po_entry.rb#88
+ # source://rdoc//lib/rdoc/generator/pot/po_entry.rb#88
def format_extracted_comment; end
- # source://rdoc//rdoc/generator/pot/po_entry.rb#102
+ # source://rdoc//lib/rdoc/generator/pot/po_entry.rb#102
def format_flags; end
- # source://rdoc//rdoc/generator/pot/po_entry.rb#109
+ # source://rdoc//lib/rdoc/generator/pot/po_entry.rb#109
def format_message(message); end
- # source://rdoc//rdoc/generator/pot/po_entry.rb#92
+ # source://rdoc//lib/rdoc/generator/pot/po_entry.rb#92
def format_references; end
- # source://rdoc//rdoc/generator/pot/po_entry.rb#84
+ # source://rdoc//lib/rdoc/generator/pot/po_entry.rb#84
def format_translator_comment; end
- # source://rdoc//rdoc/generator/pot/po_entry.rb#137
+ # source://rdoc//lib/rdoc/generator/pot/po_entry.rb#137
def merge_array(array1, array2); end
- # source://rdoc//rdoc/generator/pot/po_entry.rb#133
+ # source://rdoc//lib/rdoc/generator/pot/po_entry.rb#133
def merge_string(string1, string2); end
end
# Generates ri data files
+#
+# source://rdoc//lib/rdoc/generator/ri.rb#5
class RDoc::Generator::RI
# Set up a new ri generator
#
# @return [RI] a new instance of RI
#
- # source://rdoc//rdoc/generator/ri.rb#17
+ # source://rdoc//lib/rdoc/generator/ri.rb#17
def initialize(store, options); end
# Writes the parsed data store to disk for use by ri.
#
- # source://rdoc//rdoc/generator/ri.rb#26
+ # source://rdoc//lib/rdoc/generator/ri.rb#26
def generate; end
end
@@ -2677,13 +2716,15 @@ end
#
# * Loads translated messages from .po file.
# * Translates a message into the locale.
+#
+# source://rdoc//lib/rdoc/i18n/locale.rb#10
class RDoc::I18n::Locale
# Creates a new locale object for +name+ locale. +name+ must
# follow IETF language tag format.
#
# @return [Locale] a new instance of Locale
#
- # source://rdoc//rdoc/i18n/locale.rb#48
+ # source://rdoc//lib/rdoc/i18n/locale.rb#48
def initialize(name); end
# Loads translation messages from +locale_directory+/+@name+/rdoc.po
@@ -2695,7 +2736,7 @@ class RDoc::I18n::Locale
#
# Returns +true+ if succeeded, +false+ otherwise.
#
- # source://rdoc//rdoc/i18n/locale.rb#63
+ # source://rdoc//lib/rdoc/i18n/locale.rb#63
def load(locale_directory); end
# The name of the locale. It uses IETF language tag format
@@ -2704,19 +2745,19 @@ class RDoc::I18n::Locale
# See also {BCP 47 - Tags for Identifying
# Languages}[http://tools.ietf.org/rfc/bcp/bcp47.txt].
#
- # source://rdoc//rdoc/i18n/locale.rb#42
+ # source://rdoc//lib/rdoc/i18n/locale.rb#42
def name; end
# Translates the +message+ into locale. If there is no translation
# messages for +message+ in locale, +message+ itself is returned.
#
- # source://rdoc//rdoc/i18n/locale.rb#98
+ # source://rdoc//lib/rdoc/i18n/locale.rb#98
def translate(message); end
class << self
# Returns the locale object for +locale_name+.
#
- # source://rdoc//rdoc/i18n/locale.rb#19
+ # source://rdoc//lib/rdoc/i18n/locale.rb#19
def [](locale_name); end
# Sets the locale object for +locale_name+.
@@ -2724,7 +2765,7 @@ class RDoc::I18n::Locale
# Normally, this method is not used. This method is useful for
# testing.
#
- # source://rdoc//rdoc/i18n/locale.rb#29
+ # source://rdoc//lib/rdoc/i18n/locale.rb#29
def []=(locale_name, locale); end
end
end
@@ -2737,12 +2778,14 @@ end
# * Translates wrapped raw text in specified locale.
#
# Wrapped raw text is one of String, RDoc::Comment or Array of them.
+#
+# source://rdoc//lib/rdoc/i18n/text.rb#12
class RDoc::I18n::Text
# Creates a new i18n supported text for +raw+ text.
#
# @return [Text] a new instance of Text
#
- # source://rdoc//rdoc/i18n/text.rb#17
+ # source://rdoc//lib/rdoc/i18n/text.rb#17
def initialize(raw); end
# Extracts translation target messages and yields each message.
@@ -2755,1320 +2798,1321 @@ class RDoc::I18n::Text
#
# The above content may be added in the future.
#
- # source://rdoc//rdoc/i18n/text.rb#32
+ # source://rdoc//lib/rdoc/i18n/text.rb#32
def extract_messages; end
# Translates raw text into +locale+.
#
- # source://rdoc//rdoc/i18n/text.rb#44
+ # source://rdoc//lib/rdoc/i18n/text.rb#44
def translate(locale); end
private
- # source://rdoc//rdoc/i18n/text.rb#88
+ # source://rdoc//lib/rdoc/i18n/text.rb#88
def each_line(raw, &block); end
# @yield [part]
#
- # source://rdoc//rdoc/i18n/text.rb#101
+ # source://rdoc//lib/rdoc/i18n/text.rb#101
def emit_empty_line_event(line, line_no); end
- # source://rdoc//rdoc/i18n/text.rb#110
+ # source://rdoc//lib/rdoc/i18n/text.rb#110
def emit_paragraph_event(paragraph, paragraph_start_line, line_no, &block); end
- # source://rdoc//rdoc/i18n/text.rb#60
+ # source://rdoc//lib/rdoc/i18n/text.rb#60
def parse(&block); end
end
+# source://rdoc//lib/rdoc/markdown.rb#182
class RDoc::Markdown
# Creates a new markdown parser that enables the given +extensions+.
#
# @return [Markdown] a new instance of Markdown
#
- # source://rdoc//rdoc/markdown.rb#668
+ # source://rdoc//lib/rdoc/markdown.rb#668
def initialize(extensions = T.unsafe(nil), debug = T.unsafe(nil)); end
# Alphanumeric = %literals.Alphanumeric
#
- # source://rdoc//rdoc/markdown.rb#14705
+ # source://rdoc//lib/rdoc/markdown.rb#14705
def _Alphanumeric; end
# AlphanumericAscii = %literals.AlphanumericAscii
#
- # source://rdoc//rdoc/markdown.rb#14712
+ # source://rdoc//lib/rdoc/markdown.rb#14712
def _AlphanumericAscii; end
# AtxHeading = AtxStart:s @Sp AtxInline+:a (@Sp /#*/ @Sp)? @Newline { RDoc::Markup::Heading.new(s, a.join) }
#
- # source://rdoc//rdoc/markdown.rb#1162
+ # source://rdoc//lib/rdoc/markdown.rb#1162
def _AtxHeading; end
# AtxInline = !@Newline !(@Sp /#*/ @Sp @Newline) Inline
#
- # source://rdoc//rdoc/markdown.rb#1080
+ # source://rdoc//lib/rdoc/markdown.rb#1080
def _AtxInline; end
# AtxStart = < /\#{1,6}/ > { text.length }
#
- # source://rdoc//rdoc/markdown.rb#1136
+ # source://rdoc//lib/rdoc/markdown.rb#1136
def _AtxStart; end
# AutoLink = (AutoLinkUrl | AutoLinkEmail)
#
- # source://rdoc//rdoc/markdown.rb#11574
+ # source://rdoc//lib/rdoc/markdown.rb#11574
def _AutoLink; end
# AutoLinkEmail = "<" "mailto:"? < /[\w+.\/!%~$-]+/i "@" (!@Newline !">" .)+ > ">" { "mailto:#{text}" }
#
- # source://rdoc//rdoc/markdown.rb#11707
+ # source://rdoc//lib/rdoc/markdown.rb#11707
def _AutoLinkEmail; end
# AutoLinkUrl = "<" < /[A-Za-z]+/ "://" (!@Newline !">" .)+ > ">" { text }
#
- # source://rdoc//rdoc/markdown.rb#11592
+ # source://rdoc//lib/rdoc/markdown.rb#11592
def _AutoLinkUrl; end
# BOM = %literals.BOM
#
- # source://rdoc//rdoc/markdown.rb#14719
+ # source://rdoc//lib/rdoc/markdown.rb#14719
def _BOM; end
# BlankLine = @Sp @Newline { "\n" }
#
- # source://rdoc//rdoc/markdown.rb#14148
+ # source://rdoc//lib/rdoc/markdown.rb#14148
def _BlankLine; end
# Block = @BlankLine* (BlockQuote | Verbatim | CodeFence | Table | Note | Reference | HorizontalRule | Heading | OrderedList | BulletList | DefinitionList | HtmlBlock | StyleBlock | Para | Plain)
#
- # source://rdoc//rdoc/markdown.rb#939
+ # source://rdoc//lib/rdoc/markdown.rb#939
def _Block; end
# BlockQuote = BlockQuoteRaw:a { RDoc::Markup::BlockQuote.new(*a) }
#
- # source://rdoc//rdoc/markdown.rb#1566
+ # source://rdoc//lib/rdoc/markdown.rb#1566
def _BlockQuote; end
# BlockQuoteRaw = @StartList:a (">" " "? Line:l { a << l } (!">" !@BlankLine Line:c { a << c })* (@BlankLine:n { a << n })*)+ { inner_parse a.join }
#
- # source://rdoc//rdoc/markdown.rb#1589
+ # source://rdoc//lib/rdoc/markdown.rb#1589
def _BlockQuoteRaw; end
# Bullet = !HorizontalRule @NonindentSpace /[+*-]/ @Spacechar+
#
- # source://rdoc//rdoc/markdown.rb#2154
+ # source://rdoc//lib/rdoc/markdown.rb#2154
def _Bullet; end
# BulletList = &Bullet (ListTight | ListLoose):a { RDoc::Markup::List.new(:BULLET, *a) }
#
- # source://rdoc//rdoc/markdown.rb#2198
+ # source://rdoc//lib/rdoc/markdown.rb#2198
def _BulletList; end
# CharEntity = "&" < /[A-Za-z0-9]+/ > ";" { if entity = HTML_ENTITIES[text] then entity.pack 'U*' else "{text};" end }
#
- # source://rdoc//rdoc/markdown.rb#14812
+ # source://rdoc//lib/rdoc/markdown.rb#14812
def _CharEntity; end
# Code = (Ticks1 @Sp < ((!"`" Nonspacechar)+ | !Ticks1 /`+/ | !(@Sp Ticks1) (@Spacechar | @Newline !@BlankLine))+ > @Sp Ticks1 | Ticks2 @Sp < ((!"`" Nonspacechar)+ | !Ticks2 /`+/ | !(@Sp Ticks2) (@Spacechar | @Newline !@BlankLine))+ > @Sp Ticks2 | Ticks3 @Sp < ((!"`" Nonspacechar)+ | !Ticks3 /`+/ | !(@Sp Ticks3) (@Spacechar | @Newline !@BlankLine))+ > @Sp Ticks3 | Ticks4 @Sp < ((!"`" Nonspacechar)+ | !Ticks4 /`+/ | !(@Sp Ticks4) (@Spacechar | @Newline !@BlankLine))+ > @Sp Ticks4 | Ticks5 @Sp < ((!"`" Nonspacechar)+ | !Ticks5 /`+/ | !(@Sp Ticks5) (@Spacechar | @Newline !@BlankLine))+ > @Sp Ticks5) { "#{text}
" }
#
- # source://rdoc//rdoc/markdown.rb#12511
+ # source://rdoc//lib/rdoc/markdown.rb#12511
def _Code; end
# CodeFence = &{ github? } Ticks3 (@Sp StrChunk:format)? Spnl < ((!"`" Nonspacechar)+ | !Ticks3 /`+/ | Spacechar | @Newline)+ > Ticks3 @Sp @Newline* { verbatim = RDoc::Markup::Verbatim.new text verbatim.format = format.intern if format.instance_of?(String) verbatim }
#
- # source://rdoc//rdoc/markdown.rb#15681
+ # source://rdoc//lib/rdoc/markdown.rb#15681
def _CodeFence; end
# DecEntity = "" < /[0-9]+/ > ";" { [text.to_i].pack 'U' }
#
- # source://rdoc//rdoc/markdown.rb#14776
+ # source://rdoc//lib/rdoc/markdown.rb#14776
def _DecEntity; end
# DefinitionList = &{ definition_lists? } DefinitionListItem+:list { RDoc::Markup::List.new :NOTE, *list.flatten }
#
- # source://rdoc//rdoc/markdown.rb#16339
+ # source://rdoc//lib/rdoc/markdown.rb#16339
def _DefinitionList; end
# DefinitionListDefinition = @NonindentSpace ":" @Space Inlines:a @BlankLine+ { paragraph a }
#
- # source://rdoc//rdoc/markdown.rb#16482
+ # source://rdoc//lib/rdoc/markdown.rb#16482
def _DefinitionListDefinition; end
# DefinitionListItem = DefinitionListLabel+:label DefinitionListDefinition+:defns { list_items = [] list_items << RDoc::Markup::ListItem.new(label, defns.shift) list_items.concat defns.map { |defn| RDoc::Markup::ListItem.new nil, defn } unless list_items.empty? list_items }
#
- # source://rdoc//rdoc/markdown.rb#16383
+ # source://rdoc//lib/rdoc/markdown.rb#16383
def _DefinitionListItem; end
# DefinitionListLabel = StrChunk:label @Sp @Newline { label }
#
- # source://rdoc//rdoc/markdown.rb#16449
+ # source://rdoc//lib/rdoc/markdown.rb#16449
def _DefinitionListLabel; end
# Digit = [0-9]
#
- # source://rdoc//rdoc/markdown.rb#14691
+ # source://rdoc//lib/rdoc/markdown.rb#14691
def _Digit; end
# Doc = BOM? Block*:a { RDoc::Markup::Document.new(*a.compact) }
#
- # source://rdoc//rdoc/markdown.rb#899
+ # source://rdoc//lib/rdoc/markdown.rb#899
def _Doc; end
# Emph = (EmphStar | EmphUl)
#
- # source://rdoc//rdoc/markdown.rb#10283
+ # source://rdoc//lib/rdoc/markdown.rb#10283
def _Emph; end
# EmphStar = "*" !@Whitespace @StartList:a (!"*" Inline:b { a << b } | StrongStar:b { a << b })+ "*" { emphasis a.join }
#
- # source://rdoc//rdoc/markdown.rb#10319
+ # source://rdoc//lib/rdoc/markdown.rb#10319
def _EmphStar; end
# EmphUl = "_" !@Whitespace @StartList:a (!"_" Inline:b { a << b } | StrongUl:b { a << b })+ "_" { emphasis a.join }
#
- # source://rdoc//rdoc/markdown.rb#10477
+ # source://rdoc//lib/rdoc/markdown.rb#10477
def _EmphUl; end
# EmptyTitle = ""
#
- # source://rdoc//rdoc/markdown.rb#12086
+ # source://rdoc//lib/rdoc/markdown.rb#12086
def _EmptyTitle; end
# Endline = (@LineBreak | @TerminalEndline | @NormalEndline)
#
- # source://rdoc//rdoc/markdown.rb#9917
+ # source://rdoc//lib/rdoc/markdown.rb#9917
def _Endline; end
# Entity = (HexEntity | DecEntity | CharEntity):a { a }
#
- # source://rdoc//rdoc/markdown.rb#9880
+ # source://rdoc//lib/rdoc/markdown.rb#9880
def _Entity; end
# Enumerator = @NonindentSpace [0-9]+ "." @Spacechar+
#
- # source://rdoc//rdoc/markdown.rb#2687
+ # source://rdoc//lib/rdoc/markdown.rb#2687
def _Enumerator; end
# Eof = !.
#
- # source://rdoc//rdoc/markdown.rb#14542
+ # source://rdoc//lib/rdoc/markdown.rb#14542
def _Eof; end
# EscapedChar = "\\" !@Newline < /[:\\`|*_{}\[\]()#+.!><-]/ > { text }
#
- # source://rdoc//rdoc/markdown.rb#9841
+ # source://rdoc//lib/rdoc/markdown.rb#9841
def _EscapedChar; end
# ExplicitLink = Label:l "(" @Sp Source:s Spnl Title @Sp ")" { "{#{l}}[#{s}]" }
#
- # source://rdoc//rdoc/markdown.rb#11147
+ # source://rdoc//lib/rdoc/markdown.rb#11147
def _ExplicitLink; end
# ExtendedSpecialChar = &{ notes? } "^"
#
- # source://rdoc//rdoc/markdown.rb#15184
+ # source://rdoc//lib/rdoc/markdown.rb#15184
def _ExtendedSpecialChar; end
# Heading = (SetextHeading | AtxHeading)
#
- # source://rdoc//rdoc/markdown.rb#1548
+ # source://rdoc//lib/rdoc/markdown.rb#1548
def _Heading; end
# HexEntity = //i < /[0-9a-fA-F]+/ > ";" { [text.to_i(16)].pack 'U' }
#
- # source://rdoc//rdoc/markdown.rb#14740
+ # source://rdoc//lib/rdoc/markdown.rb#14740
def _HexEntity; end
# HorizontalRule = @NonindentSpace ("*" @Sp "*" @Sp "*" (@Sp "*")* | "-" @Sp "-" @Sp "-" (@Sp "-")* | "_" @Sp "_" @Sp "_" (@Sp "_")*) @Sp @Newline @BlankLine+ { RDoc::Markup::Rule.new 1 }
#
- # source://rdoc//rdoc/markdown.rb#1932
+ # source://rdoc//lib/rdoc/markdown.rb#1932
def _HorizontalRule; end
# HtmlAnchor = HtmlOpenAnchor (HtmlAnchor | !HtmlCloseAnchor .)* HtmlCloseAnchor
#
- # source://rdoc//rdoc/markdown.rb#2971
+ # source://rdoc//lib/rdoc/markdown.rb#2971
def _HtmlAnchor; end
# HtmlAttribute = (AlphanumericAscii | "-")+ Spnl ("=" Spnl (Quoted | (!">" Nonspacechar)+))? Spnl
#
- # source://rdoc//rdoc/markdown.rb#14273
+ # source://rdoc//lib/rdoc/markdown.rb#14273
def _HtmlAttribute; end
# HtmlBlock = < (HtmlBlockInTags | HtmlComment | HtmlBlockSelfClosing | HtmlUnclosed) > @BlankLine+ { if html? then RDoc::Markup::Raw.new text end }
#
- # source://rdoc//rdoc/markdown.rb#8768
+ # source://rdoc//lib/rdoc/markdown.rb#8768
def _HtmlBlock; end
# HtmlBlockAddress = HtmlBlockOpenAddress (HtmlBlockAddress | !HtmlBlockCloseAddress .)* HtmlBlockCloseAddress
#
- # source://rdoc//rdoc/markdown.rb#3137
+ # source://rdoc//lib/rdoc/markdown.rb#3137
def _HtmlBlockAddress; end
# HtmlBlockBlockquote = HtmlBlockOpenBlockquote (HtmlBlockBlockquote | !HtmlBlockCloseBlockquote .)* HtmlBlockCloseBlockquote
#
- # source://rdoc//rdoc/markdown.rb#3303
+ # source://rdoc//lib/rdoc/markdown.rb#3303
def _HtmlBlockBlockquote; end
# HtmlBlockCenter = HtmlBlockOpenCenter (HtmlBlockCenter | !HtmlBlockCloseCenter .)* HtmlBlockCloseCenter
#
- # source://rdoc//rdoc/markdown.rb#3469
+ # source://rdoc//lib/rdoc/markdown.rb#3469
def _HtmlBlockCenter; end
# HtmlBlockCloseAddress = "<" Spnl "/" ("address" | "ADDRESS") Spnl ">"
#
- # source://rdoc//rdoc/markdown.rb#3085
+ # source://rdoc//lib/rdoc/markdown.rb#3085
def _HtmlBlockCloseAddress; end
# HtmlBlockCloseBlockquote = "<" Spnl "/" ("blockquote" | "BLOCKQUOTE") Spnl ">"
#
- # source://rdoc//rdoc/markdown.rb#3251
+ # source://rdoc//lib/rdoc/markdown.rb#3251
def _HtmlBlockCloseBlockquote; end
# HtmlBlockCloseCenter = "<" Spnl "/" ("center" | "CENTER") Spnl ">"
#
- # source://rdoc//rdoc/markdown.rb#3417
+ # source://rdoc//lib/rdoc/markdown.rb#3417
def _HtmlBlockCloseCenter; end
# HtmlBlockCloseDd = "<" Spnl "/" ("dd" | "DD") Spnl ">"
#
- # source://rdoc//rdoc/markdown.rb#6737
+ # source://rdoc//lib/rdoc/markdown.rb#6737
def _HtmlBlockCloseDd; end
# HtmlBlockCloseDir = "<" Spnl "/" ("dir" | "DIR") Spnl ">"
#
- # source://rdoc//rdoc/markdown.rb#3583
+ # source://rdoc//lib/rdoc/markdown.rb#3583
def _HtmlBlockCloseDir; end
# HtmlBlockCloseDiv = "<" Spnl "/" ("div" | "DIV") Spnl ">"
#
- # source://rdoc//rdoc/markdown.rb#3749
+ # source://rdoc//lib/rdoc/markdown.rb#3749
def _HtmlBlockCloseDiv; end
# HtmlBlockCloseDl = "<" Spnl "/" ("dl" | "DL") Spnl ">"
#
- # source://rdoc//rdoc/markdown.rb#3915
+ # source://rdoc//lib/rdoc/markdown.rb#3915
def _HtmlBlockCloseDl; end
# HtmlBlockCloseDt = "<" Spnl "/" ("dt" | "DT") Spnl ">"
#
- # source://rdoc//rdoc/markdown.rb#6903
+ # source://rdoc//lib/rdoc/markdown.rb#6903
def _HtmlBlockCloseDt; end
# HtmlBlockCloseFieldset = "<" Spnl "/" ("fieldset" | "FIELDSET") Spnl ">"
#
- # source://rdoc//rdoc/markdown.rb#4081
+ # source://rdoc//lib/rdoc/markdown.rb#4081
def _HtmlBlockCloseFieldset; end
# HtmlBlockCloseForm = "<" Spnl "/" ("form" | "FORM") Spnl ">"
#
- # source://rdoc//rdoc/markdown.rb#4247
+ # source://rdoc//lib/rdoc/markdown.rb#4247
def _HtmlBlockCloseForm; end
# HtmlBlockCloseFrameset = "<" Spnl "/" ("frameset" | "FRAMESET") Spnl ">"
#
- # source://rdoc//rdoc/markdown.rb#7069
+ # source://rdoc//lib/rdoc/markdown.rb#7069
def _HtmlBlockCloseFrameset; end
# HtmlBlockCloseH1 = "<" Spnl "/" ("h1" | "H1") Spnl ">"
#
- # source://rdoc//rdoc/markdown.rb#4413
+ # source://rdoc//lib/rdoc/markdown.rb#4413
def _HtmlBlockCloseH1; end
# HtmlBlockCloseH2 = "<" Spnl "/" ("h2" | "H2") Spnl ">"
#
- # source://rdoc//rdoc/markdown.rb#4579
+ # source://rdoc//lib/rdoc/markdown.rb#4579
def _HtmlBlockCloseH2; end
# HtmlBlockCloseH3 = "<" Spnl "/" ("h3" | "H3") Spnl ">"
#
- # source://rdoc//rdoc/markdown.rb#4745
+ # source://rdoc//lib/rdoc/markdown.rb#4745
def _HtmlBlockCloseH3; end
# HtmlBlockCloseH4 = "<" Spnl "/" ("h4" | "H4") Spnl ">"
#
- # source://rdoc//rdoc/markdown.rb#4911
+ # source://rdoc//lib/rdoc/markdown.rb#4911
def _HtmlBlockCloseH4; end
# HtmlBlockCloseH5 = "<" Spnl "/" ("h5" | "H5") Spnl ">"
#
- # source://rdoc//rdoc/markdown.rb#5077
+ # source://rdoc//lib/rdoc/markdown.rb#5077
def _HtmlBlockCloseH5; end
# HtmlBlockCloseH6 = "<" Spnl "/" ("h6" | "H6") Spnl ">"
#
- # source://rdoc//rdoc/markdown.rb#5243
+ # source://rdoc//lib/rdoc/markdown.rb#5243
def _HtmlBlockCloseH6; end
# HtmlBlockCloseHead = "<" Spnl "/" ("head" | "HEAD") Spnl ">"
#
- # source://rdoc//rdoc/markdown.rb#8552
+ # source://rdoc//lib/rdoc/markdown.rb#8552
def _HtmlBlockCloseHead; end
# HtmlBlockCloseLi = "<" Spnl "/" ("li" | "LI") Spnl ">"
#
- # source://rdoc//rdoc/markdown.rb#7235
+ # source://rdoc//lib/rdoc/markdown.rb#7235
def _HtmlBlockCloseLi; end
# HtmlBlockCloseMenu = "<" Spnl "/" ("menu" | "MENU") Spnl ">"
#
- # source://rdoc//rdoc/markdown.rb#5409
+ # source://rdoc//lib/rdoc/markdown.rb#5409
def _HtmlBlockCloseMenu; end
# HtmlBlockCloseNoframes = "<" Spnl "/" ("noframes" | "NOFRAMES") Spnl ">"
#
- # source://rdoc//rdoc/markdown.rb#5575
+ # source://rdoc//lib/rdoc/markdown.rb#5575
def _HtmlBlockCloseNoframes; end
# HtmlBlockCloseNoscript = "<" Spnl "/" ("noscript" | "NOSCRIPT") Spnl ">"
#
- # source://rdoc//rdoc/markdown.rb#5741
+ # source://rdoc//lib/rdoc/markdown.rb#5741
def _HtmlBlockCloseNoscript; end
# HtmlBlockCloseOl = "<" Spnl "/" ("ol" | "OL") Spnl ">"
#
- # source://rdoc//rdoc/markdown.rb#5907
+ # source://rdoc//lib/rdoc/markdown.rb#5907
def _HtmlBlockCloseOl; end
# HtmlBlockCloseP = "<" Spnl "/" ("p" | "P") Spnl ">"
#
- # source://rdoc//rdoc/markdown.rb#6073
+ # source://rdoc//lib/rdoc/markdown.rb#6073
def _HtmlBlockCloseP; end
# HtmlBlockClosePre = "<" Spnl "/" ("pre" | "PRE") Spnl ">"
#
- # source://rdoc//rdoc/markdown.rb#6239
+ # source://rdoc//lib/rdoc/markdown.rb#6239
def _HtmlBlockClosePre; end
# HtmlBlockCloseScript = "<" Spnl "/" ("script" | "SCRIPT") Spnl ">"
#
- # source://rdoc//rdoc/markdown.rb#8397
+ # source://rdoc//lib/rdoc/markdown.rb#8397
def _HtmlBlockCloseScript; end
# HtmlBlockCloseTable = "<" Spnl "/" ("table" | "TABLE") Spnl ">"
#
- # source://rdoc//rdoc/markdown.rb#6405
+ # source://rdoc//lib/rdoc/markdown.rb#6405
def _HtmlBlockCloseTable; end
# HtmlBlockCloseTbody = "<" Spnl "/" ("tbody" | "TBODY") Spnl ">"
#
- # source://rdoc//rdoc/markdown.rb#7401
+ # source://rdoc//lib/rdoc/markdown.rb#7401
def _HtmlBlockCloseTbody; end
# HtmlBlockCloseTd = "<" Spnl "/" ("td" | "TD") Spnl ">"
#
- # source://rdoc//rdoc/markdown.rb#7567
+ # source://rdoc//lib/rdoc/markdown.rb#7567
def _HtmlBlockCloseTd; end
# HtmlBlockCloseTfoot = "<" Spnl "/" ("tfoot" | "TFOOT") Spnl ">"
#
- # source://rdoc//rdoc/markdown.rb#7733
+ # source://rdoc//lib/rdoc/markdown.rb#7733
def _HtmlBlockCloseTfoot; end
# HtmlBlockCloseTh = "<" Spnl "/" ("th" | "TH") Spnl ">"
#
- # source://rdoc//rdoc/markdown.rb#7899
+ # source://rdoc//lib/rdoc/markdown.rb#7899
def _HtmlBlockCloseTh; end
# HtmlBlockCloseThead = "<" Spnl "/" ("thead" | "THEAD") Spnl ">"
#
- # source://rdoc//rdoc/markdown.rb#8065
+ # source://rdoc//lib/rdoc/markdown.rb#8065
def _HtmlBlockCloseThead; end
# HtmlBlockCloseTr = "<" Spnl "/" ("tr" | "TR") Spnl ">"
#
- # source://rdoc//rdoc/markdown.rb#8231
+ # source://rdoc//lib/rdoc/markdown.rb#8231
def _HtmlBlockCloseTr; end
# HtmlBlockCloseUl = "<" Spnl "/" ("ul" | "UL") Spnl ">"
#
- # source://rdoc//rdoc/markdown.rb#6571
+ # source://rdoc//lib/rdoc/markdown.rb#6571
def _HtmlBlockCloseUl; end
# HtmlBlockDd = HtmlBlockOpenDd (HtmlBlockDd | !HtmlBlockCloseDd .)* HtmlBlockCloseDd
#
- # source://rdoc//rdoc/markdown.rb#6789
+ # source://rdoc//lib/rdoc/markdown.rb#6789
def _HtmlBlockDd; end
# HtmlBlockDir = HtmlBlockOpenDir (HtmlBlockDir | !HtmlBlockCloseDir .)* HtmlBlockCloseDir
#
- # source://rdoc//rdoc/markdown.rb#3635
+ # source://rdoc//lib/rdoc/markdown.rb#3635
def _HtmlBlockDir; end
# HtmlBlockDiv = HtmlBlockOpenDiv (HtmlBlockDiv | !HtmlBlockCloseDiv .)* HtmlBlockCloseDiv
#
- # source://rdoc//rdoc/markdown.rb#3801
+ # source://rdoc//lib/rdoc/markdown.rb#3801
def _HtmlBlockDiv; end
# HtmlBlockDl = HtmlBlockOpenDl (HtmlBlockDl | !HtmlBlockCloseDl .)* HtmlBlockCloseDl
#
- # source://rdoc//rdoc/markdown.rb#3967
+ # source://rdoc//lib/rdoc/markdown.rb#3967
def _HtmlBlockDl; end
# HtmlBlockDt = HtmlBlockOpenDt (HtmlBlockDt | !HtmlBlockCloseDt .)* HtmlBlockCloseDt
#
- # source://rdoc//rdoc/markdown.rb#6955
+ # source://rdoc//lib/rdoc/markdown.rb#6955
def _HtmlBlockDt; end
# HtmlBlockFieldset = HtmlBlockOpenFieldset (HtmlBlockFieldset | !HtmlBlockCloseFieldset .)* HtmlBlockCloseFieldset
#
- # source://rdoc//rdoc/markdown.rb#4133
+ # source://rdoc//lib/rdoc/markdown.rb#4133
def _HtmlBlockFieldset; end
# HtmlBlockForm = HtmlBlockOpenForm (HtmlBlockForm | !HtmlBlockCloseForm .)* HtmlBlockCloseForm
#
- # source://rdoc//rdoc/markdown.rb#4299
+ # source://rdoc//lib/rdoc/markdown.rb#4299
def _HtmlBlockForm; end
# HtmlBlockFrameset = HtmlBlockOpenFrameset (HtmlBlockFrameset | !HtmlBlockCloseFrameset .)* HtmlBlockCloseFrameset
#
- # source://rdoc//rdoc/markdown.rb#7121
+ # source://rdoc//lib/rdoc/markdown.rb#7121
def _HtmlBlockFrameset; end
# HtmlBlockH1 = HtmlBlockOpenH1 (HtmlBlockH1 | !HtmlBlockCloseH1 .)* HtmlBlockCloseH1
#
- # source://rdoc//rdoc/markdown.rb#4465
+ # source://rdoc//lib/rdoc/markdown.rb#4465
def _HtmlBlockH1; end
# HtmlBlockH2 = HtmlBlockOpenH2 (HtmlBlockH2 | !HtmlBlockCloseH2 .)* HtmlBlockCloseH2
#
- # source://rdoc//rdoc/markdown.rb#4631
+ # source://rdoc//lib/rdoc/markdown.rb#4631
def _HtmlBlockH2; end
# HtmlBlockH3 = HtmlBlockOpenH3 (HtmlBlockH3 | !HtmlBlockCloseH3 .)* HtmlBlockCloseH3
#
- # source://rdoc//rdoc/markdown.rb#4797
+ # source://rdoc//lib/rdoc/markdown.rb#4797
def _HtmlBlockH3; end
# HtmlBlockH4 = HtmlBlockOpenH4 (HtmlBlockH4 | !HtmlBlockCloseH4 .)* HtmlBlockCloseH4
#
- # source://rdoc//rdoc/markdown.rb#4963
+ # source://rdoc//lib/rdoc/markdown.rb#4963
def _HtmlBlockH4; end
# HtmlBlockH5 = HtmlBlockOpenH5 (HtmlBlockH5 | !HtmlBlockCloseH5 .)* HtmlBlockCloseH5
#
- # source://rdoc//rdoc/markdown.rb#5129
+ # source://rdoc//lib/rdoc/markdown.rb#5129
def _HtmlBlockH5; end
# HtmlBlockH6 = HtmlBlockOpenH6 (HtmlBlockH6 | !HtmlBlockCloseH6 .)* HtmlBlockCloseH6
#
- # source://rdoc//rdoc/markdown.rb#5295
+ # source://rdoc//lib/rdoc/markdown.rb#5295
def _HtmlBlockH6; end
# HtmlBlockHead = HtmlBlockOpenHead (!HtmlBlockCloseHead .)* HtmlBlockCloseHead
#
- # source://rdoc//rdoc/markdown.rb#8604
+ # source://rdoc//lib/rdoc/markdown.rb#8604
def _HtmlBlockHead; end
# HtmlBlockInTags = (HtmlAnchor | HtmlBlockAddress | HtmlBlockBlockquote | HtmlBlockCenter | HtmlBlockDir | HtmlBlockDiv | HtmlBlockDl | HtmlBlockFieldset | HtmlBlockForm | HtmlBlockH1 | HtmlBlockH2 | HtmlBlockH3 | HtmlBlockH4 | HtmlBlockH5 | HtmlBlockH6 | HtmlBlockMenu | HtmlBlockNoframes | HtmlBlockNoscript | HtmlBlockOl | HtmlBlockP | HtmlBlockPre | HtmlBlockTable | HtmlBlockUl | HtmlBlockDd | HtmlBlockDt | HtmlBlockFrameset | HtmlBlockLi | HtmlBlockTbody | HtmlBlockTd | HtmlBlockTfoot | HtmlBlockTh | HtmlBlockThead | HtmlBlockTr | HtmlBlockScript | HtmlBlockHead)
#
- # source://rdoc//rdoc/markdown.rb#8651
+ # source://rdoc//lib/rdoc/markdown.rb#8651
def _HtmlBlockInTags; end
# HtmlBlockLi = HtmlBlockOpenLi (HtmlBlockLi | !HtmlBlockCloseLi .)* HtmlBlockCloseLi
#
- # source://rdoc//rdoc/markdown.rb#7287
+ # source://rdoc//lib/rdoc/markdown.rb#7287
def _HtmlBlockLi; end
# HtmlBlockMenu = HtmlBlockOpenMenu (HtmlBlockMenu | !HtmlBlockCloseMenu .)* HtmlBlockCloseMenu
#
- # source://rdoc//rdoc/markdown.rb#5461
+ # source://rdoc//lib/rdoc/markdown.rb#5461
def _HtmlBlockMenu; end
# HtmlBlockNoframes = HtmlBlockOpenNoframes (HtmlBlockNoframes | !HtmlBlockCloseNoframes .)* HtmlBlockCloseNoframes
#
- # source://rdoc//rdoc/markdown.rb#5627
+ # source://rdoc//lib/rdoc/markdown.rb#5627
def _HtmlBlockNoframes; end
# HtmlBlockNoscript = HtmlBlockOpenNoscript (HtmlBlockNoscript | !HtmlBlockCloseNoscript .)* HtmlBlockCloseNoscript
#
- # source://rdoc//rdoc/markdown.rb#5793
+ # source://rdoc//lib/rdoc/markdown.rb#5793
def _HtmlBlockNoscript; end
# HtmlBlockOl = HtmlBlockOpenOl (HtmlBlockOl | !HtmlBlockCloseOl .)* HtmlBlockCloseOl
#
- # source://rdoc//rdoc/markdown.rb#5959
+ # source://rdoc//lib/rdoc/markdown.rb#5959
def _HtmlBlockOl; end
# HtmlBlockOpenAddress = "<" Spnl ("address" | "ADDRESS") Spnl HtmlAttribute* ">"
#
- # source://rdoc//rdoc/markdown.rb#3029
+ # source://rdoc//lib/rdoc/markdown.rb#3029
def _HtmlBlockOpenAddress; end
# HtmlBlockOpenBlockquote = "<" Spnl ("blockquote" | "BLOCKQUOTE") Spnl HtmlAttribute* ">"
#
- # source://rdoc//rdoc/markdown.rb#3195
+ # source://rdoc//lib/rdoc/markdown.rb#3195
def _HtmlBlockOpenBlockquote; end
# HtmlBlockOpenCenter = "<" Spnl ("center" | "CENTER") Spnl HtmlAttribute* ">"
#
- # source://rdoc//rdoc/markdown.rb#3361
+ # source://rdoc//lib/rdoc/markdown.rb#3361
def _HtmlBlockOpenCenter; end
# HtmlBlockOpenDd = "<" Spnl ("dd" | "DD") Spnl HtmlAttribute* ">"
#
- # source://rdoc//rdoc/markdown.rb#6681
+ # source://rdoc//lib/rdoc/markdown.rb#6681
def _HtmlBlockOpenDd; end
# HtmlBlockOpenDir = "<" Spnl ("dir" | "DIR") Spnl HtmlAttribute* ">"
#
- # source://rdoc//rdoc/markdown.rb#3527
+ # source://rdoc//lib/rdoc/markdown.rb#3527
def _HtmlBlockOpenDir; end
# HtmlBlockOpenDiv = "<" Spnl ("div" | "DIV") Spnl HtmlAttribute* ">"
#
- # source://rdoc//rdoc/markdown.rb#3693
+ # source://rdoc//lib/rdoc/markdown.rb#3693
def _HtmlBlockOpenDiv; end
# HtmlBlockOpenDl = "<" Spnl ("dl" | "DL") Spnl HtmlAttribute* ">"
#
- # source://rdoc//rdoc/markdown.rb#3859
+ # source://rdoc//lib/rdoc/markdown.rb#3859
def _HtmlBlockOpenDl; end
# HtmlBlockOpenDt = "<" Spnl ("dt" | "DT") Spnl HtmlAttribute* ">"
#
- # source://rdoc//rdoc/markdown.rb#6847
+ # source://rdoc//lib/rdoc/markdown.rb#6847
def _HtmlBlockOpenDt; end
# HtmlBlockOpenFieldset = "<" Spnl ("fieldset" | "FIELDSET") Spnl HtmlAttribute* ">"
#
- # source://rdoc//rdoc/markdown.rb#4025
+ # source://rdoc//lib/rdoc/markdown.rb#4025
def _HtmlBlockOpenFieldset; end
# HtmlBlockOpenForm = "<" Spnl ("form" | "FORM") Spnl HtmlAttribute* ">"
#
- # source://rdoc//rdoc/markdown.rb#4191
+ # source://rdoc//lib/rdoc/markdown.rb#4191
def _HtmlBlockOpenForm; end
# HtmlBlockOpenFrameset = "<" Spnl ("frameset" | "FRAMESET") Spnl HtmlAttribute* ">"
#
- # source://rdoc//rdoc/markdown.rb#7013
+ # source://rdoc//lib/rdoc/markdown.rb#7013
def _HtmlBlockOpenFrameset; end
# HtmlBlockOpenH1 = "<" Spnl ("h1" | "H1") Spnl HtmlAttribute* ">"
#
- # source://rdoc//rdoc/markdown.rb#4357
+ # source://rdoc//lib/rdoc/markdown.rb#4357
def _HtmlBlockOpenH1; end
# HtmlBlockOpenH2 = "<" Spnl ("h2" | "H2") Spnl HtmlAttribute* ">"
#
- # source://rdoc//rdoc/markdown.rb#4523
+ # source://rdoc//lib/rdoc/markdown.rb#4523
def _HtmlBlockOpenH2; end
# HtmlBlockOpenH3 = "<" Spnl ("h3" | "H3") Spnl HtmlAttribute* ">"
#
- # source://rdoc//rdoc/markdown.rb#4689
+ # source://rdoc//lib/rdoc/markdown.rb#4689
def _HtmlBlockOpenH3; end
# HtmlBlockOpenH4 = "<" Spnl ("h4" | "H4") Spnl HtmlAttribute* ">"
#
- # source://rdoc//rdoc/markdown.rb#4855
+ # source://rdoc//lib/rdoc/markdown.rb#4855
def _HtmlBlockOpenH4; end
# HtmlBlockOpenH5 = "<" Spnl ("h5" | "H5") Spnl HtmlAttribute* ">"
#
- # source://rdoc//rdoc/markdown.rb#5021
+ # source://rdoc//lib/rdoc/markdown.rb#5021
def _HtmlBlockOpenH5; end
# HtmlBlockOpenH6 = "<" Spnl ("h6" | "H6") Spnl HtmlAttribute* ">"
#
- # source://rdoc//rdoc/markdown.rb#5187
+ # source://rdoc//lib/rdoc/markdown.rb#5187
def _HtmlBlockOpenH6; end
# HtmlBlockOpenHead = "<" Spnl ("head" | "HEAD") Spnl HtmlAttribute* ">"
#
- # source://rdoc//rdoc/markdown.rb#8496
+ # source://rdoc//lib/rdoc/markdown.rb#8496
def _HtmlBlockOpenHead; end
# HtmlBlockOpenLi = "<" Spnl ("li" | "LI") Spnl HtmlAttribute* ">"
#
- # source://rdoc//rdoc/markdown.rb#7179
+ # source://rdoc//lib/rdoc/markdown.rb#7179
def _HtmlBlockOpenLi; end
# HtmlBlockOpenMenu = "<" Spnl ("menu" | "MENU") Spnl HtmlAttribute* ">"
#
- # source://rdoc//rdoc/markdown.rb#5353
+ # source://rdoc//lib/rdoc/markdown.rb#5353
def _HtmlBlockOpenMenu; end
# HtmlBlockOpenNoframes = "<" Spnl ("noframes" | "NOFRAMES") Spnl HtmlAttribute* ">"
#
- # source://rdoc//rdoc/markdown.rb#5519
+ # source://rdoc//lib/rdoc/markdown.rb#5519
def _HtmlBlockOpenNoframes; end
# HtmlBlockOpenNoscript = "<" Spnl ("noscript" | "NOSCRIPT") Spnl HtmlAttribute* ">"
#
- # source://rdoc//rdoc/markdown.rb#5685
+ # source://rdoc//lib/rdoc/markdown.rb#5685
def _HtmlBlockOpenNoscript; end
# HtmlBlockOpenOl = "<" Spnl ("ol" | "OL") Spnl HtmlAttribute* ">"
#
- # source://rdoc//rdoc/markdown.rb#5851
+ # source://rdoc//lib/rdoc/markdown.rb#5851
def _HtmlBlockOpenOl; end
# HtmlBlockOpenP = "<" Spnl ("p" | "P") Spnl HtmlAttribute* ">"
#
- # source://rdoc//rdoc/markdown.rb#6017
+ # source://rdoc//lib/rdoc/markdown.rb#6017
def _HtmlBlockOpenP; end
# HtmlBlockOpenPre = "<" Spnl ("pre" | "PRE") Spnl HtmlAttribute* ">"
#
- # source://rdoc//rdoc/markdown.rb#6183
+ # source://rdoc//lib/rdoc/markdown.rb#6183
def _HtmlBlockOpenPre; end
# HtmlBlockOpenScript = "<" Spnl ("script" | "SCRIPT") Spnl HtmlAttribute* ">"
#
- # source://rdoc//rdoc/markdown.rb#8341
+ # source://rdoc//lib/rdoc/markdown.rb#8341
def _HtmlBlockOpenScript; end
# HtmlBlockOpenTable = "<" Spnl ("table" | "TABLE") Spnl HtmlAttribute* ">"
#
- # source://rdoc//rdoc/markdown.rb#6349
+ # source://rdoc//lib/rdoc/markdown.rb#6349
def _HtmlBlockOpenTable; end
# HtmlBlockOpenTbody = "<" Spnl ("tbody" | "TBODY") Spnl HtmlAttribute* ">"
#
- # source://rdoc//rdoc/markdown.rb#7345
+ # source://rdoc//lib/rdoc/markdown.rb#7345
def _HtmlBlockOpenTbody; end
# HtmlBlockOpenTd = "<" Spnl ("td" | "TD") Spnl HtmlAttribute* ">"
#
- # source://rdoc//rdoc/markdown.rb#7511
+ # source://rdoc//lib/rdoc/markdown.rb#7511
def _HtmlBlockOpenTd; end
# HtmlBlockOpenTfoot = "<" Spnl ("tfoot" | "TFOOT") Spnl HtmlAttribute* ">"
#
- # source://rdoc//rdoc/markdown.rb#7677
+ # source://rdoc//lib/rdoc/markdown.rb#7677
def _HtmlBlockOpenTfoot; end
# HtmlBlockOpenTh = "<" Spnl ("th" | "TH") Spnl HtmlAttribute* ">"
#
- # source://rdoc//rdoc/markdown.rb#7843
+ # source://rdoc//lib/rdoc/markdown.rb#7843
def _HtmlBlockOpenTh; end
# HtmlBlockOpenThead = "<" Spnl ("thead" | "THEAD") Spnl HtmlAttribute* ">"
#
- # source://rdoc//rdoc/markdown.rb#8009
+ # source://rdoc//lib/rdoc/markdown.rb#8009
def _HtmlBlockOpenThead; end
# HtmlBlockOpenTr = "<" Spnl ("tr" | "TR") Spnl HtmlAttribute* ">"
#
- # source://rdoc//rdoc/markdown.rb#8175
+ # source://rdoc//lib/rdoc/markdown.rb#8175
def _HtmlBlockOpenTr; end
# HtmlBlockOpenUl = "<" Spnl ("ul" | "UL") Spnl HtmlAttribute* ">"
#
- # source://rdoc//rdoc/markdown.rb#6515
+ # source://rdoc//lib/rdoc/markdown.rb#6515
def _HtmlBlockOpenUl; end
# HtmlBlockP = HtmlBlockOpenP (HtmlBlockP | !HtmlBlockCloseP .)* HtmlBlockCloseP
#
- # source://rdoc//rdoc/markdown.rb#6125
+ # source://rdoc//lib/rdoc/markdown.rb#6125
def _HtmlBlockP; end
# HtmlBlockPre = HtmlBlockOpenPre (HtmlBlockPre | !HtmlBlockClosePre .)* HtmlBlockClosePre
#
- # source://rdoc//rdoc/markdown.rb#6291
+ # source://rdoc//lib/rdoc/markdown.rb#6291
def _HtmlBlockPre; end
# HtmlBlockScript = HtmlBlockOpenScript (!HtmlBlockCloseScript .)* HtmlBlockCloseScript
#
- # source://rdoc//rdoc/markdown.rb#8449
+ # source://rdoc//lib/rdoc/markdown.rb#8449
def _HtmlBlockScript; end
# HtmlBlockSelfClosing = "<" Spnl HtmlBlockType Spnl HtmlAttribute* "/" Spnl ">"
#
- # source://rdoc//rdoc/markdown.rb#8896
+ # source://rdoc//lib/rdoc/markdown.rb#8896
def _HtmlBlockSelfClosing; end
# HtmlBlockTable = HtmlBlockOpenTable (HtmlBlockTable | !HtmlBlockCloseTable .)* HtmlBlockCloseTable
#
- # source://rdoc//rdoc/markdown.rb#6457
+ # source://rdoc//lib/rdoc/markdown.rb#6457
def _HtmlBlockTable; end
# HtmlBlockTbody = HtmlBlockOpenTbody (HtmlBlockTbody | !HtmlBlockCloseTbody .)* HtmlBlockCloseTbody
#
- # source://rdoc//rdoc/markdown.rb#7453
+ # source://rdoc//lib/rdoc/markdown.rb#7453
def _HtmlBlockTbody; end
# HtmlBlockTd = HtmlBlockOpenTd (HtmlBlockTd | !HtmlBlockCloseTd .)* HtmlBlockCloseTd
#
- # source://rdoc//rdoc/markdown.rb#7619
+ # source://rdoc//lib/rdoc/markdown.rb#7619
def _HtmlBlockTd; end
# HtmlBlockTfoot = HtmlBlockOpenTfoot (HtmlBlockTfoot | !HtmlBlockCloseTfoot .)* HtmlBlockCloseTfoot
#
- # source://rdoc//rdoc/markdown.rb#7785
+ # source://rdoc//lib/rdoc/markdown.rb#7785
def _HtmlBlockTfoot; end
# HtmlBlockTh = HtmlBlockOpenTh (HtmlBlockTh | !HtmlBlockCloseTh .)* HtmlBlockCloseTh
#
- # source://rdoc//rdoc/markdown.rb#7951
+ # source://rdoc//lib/rdoc/markdown.rb#7951
def _HtmlBlockTh; end
# HtmlBlockThead = HtmlBlockOpenThead (HtmlBlockThead | !HtmlBlockCloseThead .)* HtmlBlockCloseThead
#
- # source://rdoc//rdoc/markdown.rb#8117
+ # source://rdoc//lib/rdoc/markdown.rb#8117
def _HtmlBlockThead; end
# HtmlBlockTr = HtmlBlockOpenTr (HtmlBlockTr | !HtmlBlockCloseTr .)* HtmlBlockCloseTr
#
- # source://rdoc//rdoc/markdown.rb#8283
+ # source://rdoc//lib/rdoc/markdown.rb#8283
def _HtmlBlockTr; end
# HtmlBlockType = ("ADDRESS" | "BLOCKQUOTE" | "CENTER" | "DD" | "DIR" | "DIV" | "DL" | "DT" | "FIELDSET" | "FORM" | "FRAMESET" | "H1" | "H2" | "H3" | "H4" | "H5" | "H6" | "HR" | "ISINDEX" | "LI" | "MENU" | "NOFRAMES" | "NOSCRIPT" | "OL" | "P" | "PRE" | "SCRIPT" | "TABLE" | "TBODY" | "TD" | "TFOOT" | "TH" | "THEAD" | "TR" | "UL" | "address" | "blockquote" | "center" | "dd" | "dir" | "div" | "dl" | "dt" | "fieldset" | "form" | "frameset" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "hr" | "isindex" | "li" | "menu" | "noframes" | "noscript" | "ol" | "p" | "pre" | "script" | "table" | "tbody" | "td" | "tfoot" | "th" | "thead" | "tr" | "ul")
#
- # source://rdoc//rdoc/markdown.rb#8951
+ # source://rdoc//lib/rdoc/markdown.rb#8951
def _HtmlBlockType; end
# HtmlBlockUl = HtmlBlockOpenUl (HtmlBlockUl | !HtmlBlockCloseUl .)* HtmlBlockCloseUl
#
- # source://rdoc//rdoc/markdown.rb#6623
+ # source://rdoc//lib/rdoc/markdown.rb#6623
def _HtmlBlockUl; end
# HtmlCloseAnchor = "<" Spnl "/" ("a" | "A") Spnl ">"
#
- # source://rdoc//rdoc/markdown.rb#2919
+ # source://rdoc//lib/rdoc/markdown.rb#2919
def _HtmlCloseAnchor; end
# HtmlComment = "" .)* "-->"
#
- # source://rdoc//rdoc/markdown.rb#14415
+ # source://rdoc//lib/rdoc/markdown.rb#14415
def _HtmlComment; end
# HtmlOpenAnchor = "<" Spnl ("a" | "A") Spnl HtmlAttribute* ">"
#
- # source://rdoc//rdoc/markdown.rb#2863
+ # source://rdoc//lib/rdoc/markdown.rb#2863
def _HtmlOpenAnchor; end
# HtmlTag = "<" Spnl "/"? AlphanumericAscii+ Spnl HtmlAttribute* "/"? Spnl ">"
#
- # source://rdoc//rdoc/markdown.rb#14462
+ # source://rdoc//lib/rdoc/markdown.rb#14462
def _HtmlTag; end
# HtmlUnclosed = "<" Spnl HtmlUnclosedType Spnl HtmlAttribute* Spnl ">"
#
- # source://rdoc//rdoc/markdown.rb#8828
+ # source://rdoc//lib/rdoc/markdown.rb#8828
def _HtmlUnclosed; end
# HtmlUnclosedType = ("HR" | "hr")
#
- # source://rdoc//rdoc/markdown.rb#8878
+ # source://rdoc//lib/rdoc/markdown.rb#8878
def _HtmlUnclosedType; end
# Image = "!" (ExplicitLink | ReferenceLink):a { "rdoc-image:#{a[/\[(.*)\]/, 1]}" }
#
- # source://rdoc//rdoc/markdown.rb#10972
+ # source://rdoc//lib/rdoc/markdown.rb#10972
def _Image; end
# InStyleTags = StyleOpen (!StyleClose .)* StyleClose
#
- # source://rdoc//rdoc/markdown.rb#9281
+ # source://rdoc//lib/rdoc/markdown.rb#9281
def _InStyleTags; end
# Indent = /\t| /
#
- # source://rdoc//rdoc/markdown.rb#14860
+ # source://rdoc//lib/rdoc/markdown.rb#14860
def _Indent; end
# IndentedLine = Indent Line
#
- # source://rdoc//rdoc/markdown.rb#14867
+ # source://rdoc//lib/rdoc/markdown.rb#14867
def _IndentedLine; end
# Inline = (Str | @Endline | UlOrStarLine | @Space | Strong | Emph | Strike | Image | Link | NoteReference | InlineNote | Code | RawHtml | Entity | EscapedChar | Symbol)
#
- # source://rdoc//rdoc/markdown.rb#9586
+ # source://rdoc//lib/rdoc/markdown.rb#9586
def _Inline; end
# InlineNote = &{ notes? } "^[" @StartList:a (!"]" Inline:l { a << l })+ "]" { ref = [:inline, @note_order.length] @footnotes[ref] = paragraph a note_for ref }
#
- # source://rdoc//rdoc/markdown.rb#15431
+ # source://rdoc//lib/rdoc/markdown.rb#15431
def _InlineNote; end
# Inlines = (!@Endline Inline:i { i } | @Endline:c !(&{ github? } Ticks3 /[^`\n]*$/) &Inline { c })+:chunks @Endline? { chunks }
#
- # source://rdoc//rdoc/markdown.rb#9365
+ # source://rdoc//lib/rdoc/markdown.rb#9365
def _Inlines; end
# Label = "[" (!"^" &{ notes? } | &. &{ !notes? }) @StartList:a (!"]" Inline:l { a << l })* "]" { a.join.gsub(/\s+/, ' ') }
#
- # source://rdoc//rdoc/markdown.rb#11907
+ # source://rdoc//lib/rdoc/markdown.rb#11907
def _Label; end
# Line = @RawLine:a { a }
#
- # source://rdoc//rdoc/markdown.rb#14938
+ # source://rdoc//lib/rdoc/markdown.rb#14938
def _Line; end
# LineBreak = " " @NormalEndline { RDoc::Markup::HardBreak.new }
#
- # source://rdoc//rdoc/markdown.rb#10042
+ # source://rdoc//lib/rdoc/markdown.rb#10042
def _LineBreak; end
# Link = (ExplicitLink | ReferenceLink | AutoLink)
#
- # source://rdoc//rdoc/markdown.rb#11011
+ # source://rdoc//lib/rdoc/markdown.rb#11011
def _Link; end
# ListBlock = !@BlankLine Line:a ListBlockLine*:c { [a, *c] }
#
- # source://rdoc//rdoc/markdown.rb#2548
+ # source://rdoc//lib/rdoc/markdown.rb#2548
def _ListBlock; end
# ListBlockLine = !@BlankLine !(Indent? (Bullet | Enumerator)) !HorizontalRule OptionallyIndentedLine
#
- # source://rdoc//rdoc/markdown.rb#2793
+ # source://rdoc//lib/rdoc/markdown.rb#2793
def _ListBlockLine; end
# ListContinuationBlock = @StartList:a @BlankLine* { a << "\n" } (Indent ListBlock:b { a.concat b })+ { a }
#
- # source://rdoc//rdoc/markdown.rb#2592
+ # source://rdoc//lib/rdoc/markdown.rb#2592
def _ListContinuationBlock; end
# ListItem = (Bullet | Enumerator) @StartList:a ListBlock:b { a << b } (ListContinuationBlock:c { a.push(*c) })* { list_item_from a }
#
- # source://rdoc//rdoc/markdown.rb#2392
+ # source://rdoc//lib/rdoc/markdown.rb#2392
def _ListItem; end
# ListItemTight = (Bullet | Enumerator) ListBlock:a (!@BlankLine ListContinuationBlock:b { a.push(*b) })* !ListContinuationBlock { list_item_from a }
#
- # source://rdoc//rdoc/markdown.rb#2468
+ # source://rdoc//lib/rdoc/markdown.rb#2468
def _ListItemTight; end
# ListLoose = @StartList:a (ListItem:b @BlankLine* { a << b })+ { a }
#
- # source://rdoc//rdoc/markdown.rb#2304
+ # source://rdoc//lib/rdoc/markdown.rb#2304
def _ListLoose; end
# ListTight = ListItemTight+:a @BlankLine* !(Bullet | Enumerator) { a }
#
- # source://rdoc//rdoc/markdown.rb#2239
+ # source://rdoc//lib/rdoc/markdown.rb#2239
def _ListTight; end
# Newline = %literals.Newline
#
- # source://rdoc//rdoc/markdown.rb#14726
+ # source://rdoc//lib/rdoc/markdown.rb#14726
def _Newline; end
# NonblankIndentedLine = !@BlankLine IndentedLine
#
- # source://rdoc//rdoc/markdown.rb#1821
+ # source://rdoc//lib/rdoc/markdown.rb#1821
def _NonblankIndentedLine; end
# NonindentSpace = / {0,3}/
#
- # source://rdoc//rdoc/markdown.rb#14853
+ # source://rdoc//lib/rdoc/markdown.rb#14853
def _NonindentSpace; end
# Nonspacechar = !@Spacechar !@Newline .
#
- # source://rdoc//rdoc/markdown.rb#14552
+ # source://rdoc//lib/rdoc/markdown.rb#14552
def _Nonspacechar; end
# NormalChar = !(@SpecialChar | @Spacechar | @Newline) .
#
- # source://rdoc//rdoc/markdown.rb#14653
+ # source://rdoc//lib/rdoc/markdown.rb#14653
def _NormalChar; end
# NormalEndline = @Sp @Newline !@BlankLine !">" !AtxStart !(Line /={1,}|-{1,}/ @Newline) { "\n" }
#
- # source://rdoc//rdoc/markdown.rb#9938
+ # source://rdoc//lib/rdoc/markdown.rb#9938
def _NormalEndline; end
# Note = &{ notes? } @NonindentSpace RawNoteReference:ref ":" @Sp @StartList:a RawNoteBlock:i { a.concat i } (&Indent RawNoteBlock:i { a.concat i })* { @footnotes[ref] = paragraph a nil }
#
- # source://rdoc//rdoc/markdown.rb#15333
+ # source://rdoc//lib/rdoc/markdown.rb#15333
def _Note; end
# NoteReference = &{ notes? } RawNoteReference:ref { note_for ref }
#
- # source://rdoc//rdoc/markdown.rb#15207
+ # source://rdoc//lib/rdoc/markdown.rb#15207
def _NoteReference; end
# Notes = (Note | SkipBlock)*
#
- # source://rdoc//rdoc/markdown.rb#15538
+ # source://rdoc//lib/rdoc/markdown.rb#15538
def _Notes; end
# OptionallyIndentedLine = Indent? Line
#
- # source://rdoc//rdoc/markdown.rb#14888
+ # source://rdoc//lib/rdoc/markdown.rb#14888
def _OptionallyIndentedLine; end
# OrderedList = &Enumerator (ListTight | ListLoose):a { RDoc::Markup::List.new(:NUMBER, *a) }
#
- # source://rdoc//rdoc/markdown.rb#2752
+ # source://rdoc//lib/rdoc/markdown.rb#2752
def _OrderedList; end
# Para = @NonindentSpace Inlines:a @BlankLine+ { paragraph a }
#
- # source://rdoc//rdoc/markdown.rb#1014
+ # source://rdoc//lib/rdoc/markdown.rb#1014
def _Para; end
# Plain = Inlines:a { paragraph a }
#
- # source://rdoc//rdoc/markdown.rb#1057
+ # source://rdoc//lib/rdoc/markdown.rb#1057
def _Plain; end
# Quoted = ("\"" (!"\"" .)* "\"" | "'" (!"'" .)* "'")
#
- # source://rdoc//rdoc/markdown.rb#14175
+ # source://rdoc//lib/rdoc/markdown.rb#14175
def _Quoted; end
# RawHtml = < (HtmlComment | HtmlBlockScript | HtmlTag) > { if html? then text else '' end }
#
- # source://rdoc//rdoc/markdown.rb#14108
+ # source://rdoc//lib/rdoc/markdown.rb#14108
def _RawHtml; end
# RawLine = (< /[^\r\n]*/ @Newline > | < .+ > @Eof) { text }
#
- # source://rdoc//rdoc/markdown.rb#14961
+ # source://rdoc//lib/rdoc/markdown.rb#14961
def _RawLine; end
# RawNoteBlock = @StartList:a (!@BlankLine !RawNoteReference OptionallyIndentedLine:l { a << l })+ < @BlankLine* > { a << text } { a }
#
- # source://rdoc//rdoc/markdown.rb#15560
+ # source://rdoc//lib/rdoc/markdown.rb#15560
def _RawNoteBlock; end
# RawNoteReference = "[^" < (!@Newline !"]" .)+ > "]" { text }
#
- # source://rdoc//rdoc/markdown.rb#15237
+ # source://rdoc//lib/rdoc/markdown.rb#15237
def _RawNoteReference; end
# RefSrc = < Nonspacechar+ > { text }
#
- # source://rdoc//rdoc/markdown.rb#12026
+ # source://rdoc//lib/rdoc/markdown.rb#12026
def _RefSrc; end
# RefTitle = (RefTitleSingle | RefTitleDouble | RefTitleParens | EmptyTitle)
#
- # source://rdoc//rdoc/markdown.rb#12062
+ # source://rdoc//lib/rdoc/markdown.rb#12062
def _RefTitle; end
# RefTitleDouble = Spnl "\"" < (!("\"" @Sp @Newline | @Newline) .)* > "\"" { text }
#
- # source://rdoc//rdoc/markdown.rb#12185
+ # source://rdoc//lib/rdoc/markdown.rb#12185
def _RefTitleDouble; end
# RefTitleParens = Spnl "(" < (!(")" @Sp @Newline | @Newline) .)* > ")" { text }
#
- # source://rdoc//rdoc/markdown.rb#12277
+ # source://rdoc//lib/rdoc/markdown.rb#12277
def _RefTitleParens; end
# RefTitleSingle = Spnl "'" < (!("'" @Sp @Newline | @Newline) .)* > "'" { text }
#
- # source://rdoc//rdoc/markdown.rb#12093
+ # source://rdoc//lib/rdoc/markdown.rb#12093
def _RefTitleSingle; end
# Reference = @NonindentSpace !"[]" Label:label ":" Spnl RefSrc:link RefTitle @BlankLine+ { # TODO use title reference label, link nil }
#
- # source://rdoc//rdoc/markdown.rb#11832
+ # source://rdoc//lib/rdoc/markdown.rb#11832
def _Reference; end
# ReferenceLink = (ReferenceLinkDouble | ReferenceLinkSingle)
#
- # source://rdoc//rdoc/markdown.rb#11032
+ # source://rdoc//lib/rdoc/markdown.rb#11032
def _ReferenceLink; end
# ReferenceLinkDouble = Label:content < Spnl > !"[]" Label:label { link_to content, label, text }
#
- # source://rdoc//rdoc/markdown.rb#11050
+ # source://rdoc//lib/rdoc/markdown.rb#11050
def _ReferenceLinkDouble; end
# ReferenceLinkSingle = Label:content < (Spnl "[]")? > { link_to content, content, text }
#
- # source://rdoc//rdoc/markdown.rb#11096
+ # source://rdoc//lib/rdoc/markdown.rb#11096
def _ReferenceLinkSingle; end
# References = (Reference | SkipBlock)*
#
- # source://rdoc//rdoc/markdown.rb#12369
+ # source://rdoc//lib/rdoc/markdown.rb#12369
def _References; end
# SetextBottom1 = /={1,}/ @Newline
#
- # source://rdoc//rdoc/markdown.rb#1262
+ # source://rdoc//lib/rdoc/markdown.rb#1262
def _SetextBottom1; end
# SetextBottom2 = /-{1,}/ @Newline
#
- # source://rdoc//rdoc/markdown.rb#1283
+ # source://rdoc//lib/rdoc/markdown.rb#1283
def _SetextBottom2; end
# SetextHeading = (SetextHeading1 | SetextHeading2)
#
- # source://rdoc//rdoc/markdown.rb#1244
+ # source://rdoc//lib/rdoc/markdown.rb#1244
def _SetextHeading; end
# SetextHeading1 = &(@RawLine SetextBottom1) @StartList:a (!@Endline Inline:b { a << b })+ @Sp @Newline SetextBottom1 { RDoc::Markup::Heading.new(1, a.join) }
#
- # source://rdoc//rdoc/markdown.rb#1304
+ # source://rdoc//lib/rdoc/markdown.rb#1304
def _SetextHeading1; end
# SetextHeading2 = &(@RawLine SetextBottom2) @StartList:a (!@Endline Inline:b { a << b })+ @Sp @Newline SetextBottom2 { RDoc::Markup::Heading.new(2, a.join) }
#
- # source://rdoc//rdoc/markdown.rb#1426
+ # source://rdoc//lib/rdoc/markdown.rb#1426
def _SetextHeading2; end
# SkipBlock = (HtmlBlock | (!"#" !SetextBottom1 !SetextBottom2 !@BlankLine @RawLine)+ @BlankLine* | @BlankLine+ | @RawLine)
#
- # source://rdoc//rdoc/markdown.rb#15040
+ # source://rdoc//lib/rdoc/markdown.rb#15040
def _SkipBlock; end
# Source = ("<" < SourceContents > ">" | < SourceContents >) { text }
#
- # source://rdoc//rdoc/markdown.rb#11206
+ # source://rdoc//lib/rdoc/markdown.rb#11206
def _Source; end
# SourceContents = ((!"(" !")" !">" Nonspacechar)+ | "(" SourceContents ")")*
#
- # source://rdoc//rdoc/markdown.rb#11266
+ # source://rdoc//lib/rdoc/markdown.rb#11266
def _SourceContents; end
# Sp = @Spacechar*
#
- # source://rdoc//rdoc/markdown.rb#14584
+ # source://rdoc//lib/rdoc/markdown.rb#14584
def _Sp; end
# Space = @Spacechar+ { " " }
#
- # source://rdoc//rdoc/markdown.rb#9646
+ # source://rdoc//lib/rdoc/markdown.rb#9646
def _Space; end
# Spacechar = %literals.Spacechar
#
- # source://rdoc//rdoc/markdown.rb#14733
+ # source://rdoc//lib/rdoc/markdown.rb#14733
def _Spacechar; end
# SpecialChar = (/[~*_`&\[\]() { text } | < @Spacechar /\*+/ &@Spacechar > { text })
#
- # source://rdoc//rdoc/markdown.rb#10129
+ # source://rdoc//lib/rdoc/markdown.rb#10129
def _StarLine; end
# StartList = &. { [] }
#
- # source://rdoc//rdoc/markdown.rb#14914
+ # source://rdoc//lib/rdoc/markdown.rb#14914
def _StartList; end
# Str = @StartList:a < @NormalChar+ > { a = text } (StrChunk:c { a << c })* { a }
#
- # source://rdoc//rdoc/markdown.rb#9678
+ # source://rdoc//lib/rdoc/markdown.rb#9678
def _Str; end
# StrChunk = < (@NormalChar | /_+/ &Alphanumeric)+ > { text }
#
- # source://rdoc//rdoc/markdown.rb#9751
+ # source://rdoc//lib/rdoc/markdown.rb#9751
def _StrChunk; end
# Strike = &{ strike? } "~~" !@Whitespace @StartList:a (!"~~" Inline:b { a << b })+ "~~" { strike a.join }
#
- # source://rdoc//rdoc/markdown.rb#10861
+ # source://rdoc//lib/rdoc/markdown.rb#10861
def _Strike; end
# Strong = (StrongStar | StrongUl)
#
- # source://rdoc//rdoc/markdown.rb#10635
+ # source://rdoc//lib/rdoc/markdown.rb#10635
def _Strong; end
# StrongStar = "**" !@Whitespace @StartList:a (!"**" Inline:b { a << b })+ "**" { strong a.join }
#
- # source://rdoc//rdoc/markdown.rb#10653
+ # source://rdoc//lib/rdoc/markdown.rb#10653
def _StrongStar; end
# StrongUl = "__" !@Whitespace @StartList:a (!"__" Inline:b { a << b })+ "__" { strong a.join }
#
- # source://rdoc//rdoc/markdown.rb#10757
+ # source://rdoc//lib/rdoc/markdown.rb#10757
def _StrongUl; end
# StyleBlock = < InStyleTags > @BlankLine* { if css? then RDoc::Markup::Raw.new text end }
#
- # source://rdoc//rdoc/markdown.rb#9328
+ # source://rdoc//lib/rdoc/markdown.rb#9328
def _StyleBlock; end
# StyleClose = "<" Spnl "/" ("style" | "STYLE") Spnl ">"
#
- # source://rdoc//rdoc/markdown.rb#9229
+ # source://rdoc//lib/rdoc/markdown.rb#9229
def _StyleClose; end
# StyleOpen = "<" Spnl ("style" | "STYLE") Spnl HtmlAttribute* ">"
#
- # source://rdoc//rdoc/markdown.rb#9173
+ # source://rdoc//lib/rdoc/markdown.rb#9173
def _StyleOpen; end
# Symbol = < @SpecialChar > { text }
#
- # source://rdoc//rdoc/markdown.rb#10069
+ # source://rdoc//lib/rdoc/markdown.rb#10069
def _Symbol; end
# Table = &{ github? } TableHead:header TableLine:line TableRow+:body { table = RDoc::Markup::Table.new(header, line, body) }
#
- # source://rdoc//rdoc/markdown.rb#15937
+ # source://rdoc//lib/rdoc/markdown.rb#15937
def _Table; end
# TableAlign = < /:?-+:?/ > @Sp { text.start_with?(":") ? (text.end_with?(":") ? :center : :left) : (text.end_with?(":") ? :right : nil) }
#
- # source://rdoc//rdoc/markdown.rb#16304
+ # source://rdoc//lib/rdoc/markdown.rb#16304
def _TableAlign; end
# TableAlign2 = "|" @Sp TableAlign
#
- # source://rdoc//rdoc/markdown.rb#16278
+ # source://rdoc//lib/rdoc/markdown.rb#16278
def _TableAlign2; end
# TableHead = TableItem2+:items "|"? @Newline { items }
#
- # source://rdoc//rdoc/markdown.rb#15993
+ # source://rdoc//lib/rdoc/markdown.rb#15993
def _TableHead; end
# TableItem = < /(?:\\.|[^|\n])+/ > { text.strip.gsub(/\\(.)/, '\1') }
#
- # source://rdoc//rdoc/markdown.rb#16159
+ # source://rdoc//lib/rdoc/markdown.rb#16159
def _TableItem; end
# TableItem2 = "|" TableItem
#
- # source://rdoc//rdoc/markdown.rb#16138
+ # source://rdoc//lib/rdoc/markdown.rb#16138
def _TableItem2; end
# TableLine = ((TableAlign:align1 TableAlign2*:aligns {[align1, *aligns] }):line | TableAlign2+:line) "|"? @Newline { line }
#
- # source://rdoc//rdoc/markdown.rb#16185
+ # source://rdoc//lib/rdoc/markdown.rb#16185
def _TableLine; end
# TableRow = ((TableItem:item1 TableItem2*:items { [item1, *items] }):row | TableItem2+:row) "|"? @Newline { row }
#
- # source://rdoc//rdoc/markdown.rb#16045
+ # source://rdoc//lib/rdoc/markdown.rb#16045
def _TableRow; end
# TerminalEndline = @Sp @Newline @Eof
#
- # source://rdoc//rdoc/markdown.rb#10016
+ # source://rdoc//lib/rdoc/markdown.rb#10016
def _TerminalEndline; end
# Ticks1 = "`" !"`"
#
- # source://rdoc//rdoc/markdown.rb#12391
+ # source://rdoc//lib/rdoc/markdown.rb#12391
def _Ticks1; end
# Ticks2 = "``" !"`"
#
- # source://rdoc//rdoc/markdown.rb#12415
+ # source://rdoc//lib/rdoc/markdown.rb#12415
def _Ticks2; end
# Ticks3 = "```" !"`"
#
- # source://rdoc//rdoc/markdown.rb#12439
+ # source://rdoc//lib/rdoc/markdown.rb#12439
def _Ticks3; end
# Ticks4 = "````" !"`"
#
- # source://rdoc//rdoc/markdown.rb#12463
+ # source://rdoc//lib/rdoc/markdown.rb#12463
def _Ticks4; end
# Ticks5 = "`````" !"`"
#
- # source://rdoc//rdoc/markdown.rb#12487
+ # source://rdoc//lib/rdoc/markdown.rb#12487
def _Ticks5; end
# Title = (TitleSingle | TitleDouble | ""):a { a }
#
- # source://rdoc//rdoc/markdown.rb#11383
+ # source://rdoc//lib/rdoc/markdown.rb#11383
def _Title; end
# TitleDouble = "\"" (!("\"" @Sp (")" | @Newline)) .)* "\""
#
- # source://rdoc//rdoc/markdown.rb#11497
+ # source://rdoc//lib/rdoc/markdown.rb#11497
def _TitleDouble; end
# TitleSingle = "'" (!("'" @Sp (")" | @Newline)) .)* "'"
#
- # source://rdoc//rdoc/markdown.rb#11420
+ # source://rdoc//lib/rdoc/markdown.rb#11420
def _TitleSingle; end
# UlLine = (< /_{4,}/ > { text } | < @Spacechar /_+/ &@Spacechar > { text })
#
- # source://rdoc//rdoc/markdown.rb#10206
+ # source://rdoc//lib/rdoc/markdown.rb#10206
def _UlLine; end
# UlOrStarLine = (UlLine | StarLine):a { a }
#
- # source://rdoc//rdoc/markdown.rb#10095
+ # source://rdoc//lib/rdoc/markdown.rb#10095
def _UlOrStarLine; end
# Verbatim = VerbatimChunk+:a { RDoc::Markup::Verbatim.new(*a.flatten) }
#
- # source://rdoc//rdoc/markdown.rb#1895
+ # source://rdoc//lib/rdoc/markdown.rb#1895
def _Verbatim; end
# VerbatimChunk = @BlankLine*:a NonblankIndentedLine+:b { a.concat b }
#
- # source://rdoc//rdoc/markdown.rb#1845
+ # source://rdoc//lib/rdoc/markdown.rb#1845
def _VerbatimChunk; end
# Whitespace = (@Spacechar | @Newline)
#
- # source://rdoc//rdoc/markdown.rb#10301
+ # source://rdoc//lib/rdoc/markdown.rb#10301
def _Whitespace; end
# root = Doc
#
- # source://rdoc//rdoc/markdown.rb#892
+ # source://rdoc//lib/rdoc/markdown.rb#892
def _root; end
- # source://rdoc//rdoc/markdown.rb#502
+ # source://rdoc//lib/rdoc/markdown.rb#502
def apply(rule); end
- # source://rdoc//rdoc/markdown.rb#468
+ # source://rdoc//lib/rdoc/markdown.rb#468
def apply_with_args(rule, *args); end
- # source://rdoc//rdoc/markdown.rb#610
+ # source://rdoc//lib/rdoc/markdown.rb#610
def break_on_newline=(enable); end
- # source://rdoc//rdoc/markdown.rb#606
+ # source://rdoc//lib/rdoc/markdown.rb#606
def break_on_newline?; end
- # source://rdoc//rdoc/markdown.rb#610
+ # source://rdoc//lib/rdoc/markdown.rb#610
def css=(enable); end
- # source://rdoc//rdoc/markdown.rb#606
+ # source://rdoc//lib/rdoc/markdown.rb#606
def css?; end
- # source://rdoc//rdoc/markdown.rb#250
+ # source://rdoc//lib/rdoc/markdown.rb#250
def current_character(target = T.unsafe(nil)); end
- # source://rdoc//rdoc/markdown.rb#211
+ # source://rdoc//lib/rdoc/markdown.rb#211
def current_column(target = T.unsafe(nil)); end
- # source://rdoc//rdoc/markdown.rb#234
+ # source://rdoc//lib/rdoc/markdown.rb#234
def current_line(target = T.unsafe(nil)); end
- # source://rdoc//rdoc/markdown.rb#259
+ # source://rdoc//lib/rdoc/markdown.rb#259
def current_pos_info(target = T.unsafe(nil)); end
- # source://rdoc//rdoc/markdown.rb#610
+ # source://rdoc//lib/rdoc/markdown.rb#610
def definition_lists=(enable); end
- # source://rdoc//rdoc/markdown.rb#606
+ # source://rdoc//lib/rdoc/markdown.rb#606
def definition_lists?; end
# Wraps `text` in emphasis for rdoc inline formatting
#
- # source://rdoc//rdoc/markdown.rb#683
+ # source://rdoc//lib/rdoc/markdown.rb#683
def emphasis(text); end
# :category: Extensions
#
# Enables or disables the extension with `name`
#
- # source://rdoc//rdoc/markdown.rb#705
+ # source://rdoc//lib/rdoc/markdown.rb#705
def extension(name, enable); end
# :category: Extensions
@@ -4077,65 +4121,65 @@ class RDoc::Markdown
#
# @return [Boolean]
#
- # source://rdoc//rdoc/markdown.rb#696
+ # source://rdoc//lib/rdoc/markdown.rb#696
def extension?(name); end
- # source://rdoc//rdoc/markdown.rb#449
+ # source://rdoc//lib/rdoc/markdown.rb#449
def external_invoke(other, rule, *args); end
# Returns the value of attribute failed_rule.
#
- # source://rdoc//rdoc/markdown.rb#371
+ # source://rdoc//lib/rdoc/markdown.rb#371
def failed_rule; end
# Returns the value of attribute failing_rule_offset.
#
- # source://rdoc//rdoc/markdown.rb#208
+ # source://rdoc//lib/rdoc/markdown.rb#208
def failing_rule_offset; end
- # source://rdoc//rdoc/markdown.rb#318
+ # source://rdoc//lib/rdoc/markdown.rb#318
def failure_caret; end
- # source://rdoc//rdoc/markdown.rb#323
+ # source://rdoc//lib/rdoc/markdown.rb#323
def failure_character; end
- # source://rdoc//rdoc/markdown.rb#306
+ # source://rdoc//lib/rdoc/markdown.rb#306
def failure_info; end
- # source://rdoc//rdoc/markdown.rb#327
+ # source://rdoc//lib/rdoc/markdown.rb#327
def failure_oneline; end
- # source://rdoc//rdoc/markdown.rb#393
+ # source://rdoc//lib/rdoc/markdown.rb#393
def get_byte; end
- # source://rdoc//rdoc/markdown.rb#271
+ # source://rdoc//lib/rdoc/markdown.rb#271
def get_line(no); end
- # source://rdoc//rdoc/markdown.rb#285
+ # source://rdoc//lib/rdoc/markdown.rb#285
def get_text(start); end
- # source://rdoc//rdoc/markdown.rb#610
+ # source://rdoc//lib/rdoc/markdown.rb#610
def github=(enable); end
- # source://rdoc//rdoc/markdown.rb#606
+ # source://rdoc//lib/rdoc/markdown.rb#606
def github?; end
- # source://rdoc//rdoc/markdown.rb#535
+ # source://rdoc//lib/rdoc/markdown.rb#535
def grow_lr(rule, args, start_pos, m); end
- # source://rdoc//rdoc/markdown.rb#610
+ # source://rdoc//lib/rdoc/markdown.rb#610
def html=(enable); end
- # source://rdoc//rdoc/markdown.rb#606
+ # source://rdoc//lib/rdoc/markdown.rb#606
def html?; end
# Parses `text` in a clone of this parser. This is used for handling nested
# lists the same way as markdown_parser.
#
- # source://rdoc//rdoc/markdown.rb#717
+ # source://rdoc//lib/rdoc/markdown.rb#717
def inner_parse(text); end
- # source://rdoc//rdoc/markdown.rb#267
+ # source://rdoc//lib/rdoc/markdown.rb#267
def lines; end
# Finds a link reference for `label` and creates a new link to it with
@@ -4145,136 +4189,136 @@ class RDoc::Markdown
#
# @raise [ParseError]
#
- # source://rdoc//rdoc/markdown.rb#737
+ # source://rdoc//lib/rdoc/markdown.rb#737
def link_to(content, label = T.unsafe(nil), text = T.unsafe(nil)); end
# Creates an RDoc::Markup::ListItem by parsing the `unparsed` content from
# the first parsing pass.
#
- # source://rdoc//rdoc/markdown.rb#754
+ # source://rdoc//lib/rdoc/markdown.rb#754
def list_item_from(unparsed); end
- # source://rdoc//rdoc/markdown.rb#373
+ # source://rdoc//lib/rdoc/markdown.rb#373
def match_string(str); end
# Stores `label` as a note and fills in previously unknown note references.
#
- # source://rdoc//rdoc/markdown.rb#762
+ # source://rdoc//lib/rdoc/markdown.rb#762
def note(label); end
# Creates a new link for the footnote `reference` and adds the reference to
# the note order list for proper display at the end of the document.
#
- # source://rdoc//rdoc/markdown.rb#776
+ # source://rdoc//lib/rdoc/markdown.rb#776
def note_for(ref); end
- # source://rdoc//rdoc/markdown.rb#610
+ # source://rdoc//lib/rdoc/markdown.rb#610
def notes=(enable); end
- # source://rdoc//rdoc/markdown.rb#606
+ # source://rdoc//lib/rdoc/markdown.rb#606
def notes?; end
# Creates an RDoc::Markup::Paragraph from `parts` and including
# extension-specific behavior
#
- # source://rdoc//rdoc/markdown.rb#793
+ # source://rdoc//lib/rdoc/markdown.rb#793
def paragraph(parts); end
# Parses `markdown` into an RDoc::Document
#
- # source://rdoc//rdoc/markdown.rb#808
+ # source://rdoc//lib/rdoc/markdown.rb#808
def parse(markdown); end
# The internal kpeg parse method
#
- # source://rdoc//rdoc/markdown.rb#414
+ # source://rdoc//lib/rdoc/markdown.rb#414
def peg_parse(rule = T.unsafe(nil)); end
# Returns the value of attribute pos.
#
- # source://rdoc//rdoc/markdown.rb#209
+ # source://rdoc//lib/rdoc/markdown.rb#209
def pos; end
# Sets the attribute pos
#
# @param value the value to set the attribute pos to.
#
- # source://rdoc//rdoc/markdown.rb#209
+ # source://rdoc//lib/rdoc/markdown.rb#209
def pos=(_arg0); end
- # source://rdoc//rdoc/markdown.rb#221
+ # source://rdoc//lib/rdoc/markdown.rb#221
def position_line_offsets; end
# @raise [ParseError]
#
- # source://rdoc//rdoc/markdown.rb#341
+ # source://rdoc//lib/rdoc/markdown.rb#341
def raise_error; end
# Stores `label` as a reference to `link` and fills in previously unknown
# link references.
#
- # source://rdoc//rdoc/markdown.rb#855
+ # source://rdoc//lib/rdoc/markdown.rb#855
def reference(label, link); end
# Returns the value of attribute result.
#
- # source://rdoc//rdoc/markdown.rb#209
+ # source://rdoc//lib/rdoc/markdown.rb#209
def result; end
# Sets the attribute result
#
# @param value the value to set the attribute result to.
#
- # source://rdoc//rdoc/markdown.rb#209
+ # source://rdoc//lib/rdoc/markdown.rb#209
def result=(_arg0); end
- # source://rdoc//rdoc/markdown.rb#383
+ # source://rdoc//lib/rdoc/markdown.rb#383
def scan(reg); end
- # source://rdoc//rdoc/markdown.rb#364
+ # source://rdoc//lib/rdoc/markdown.rb#364
def set_failed_rule(name); end
# Sets the string and current parsing position for the parser.
#
- # source://rdoc//rdoc/markdown.rb#290
+ # source://rdoc//lib/rdoc/markdown.rb#290
def set_string(string, pos); end
# :stopdoc:
#
- # source://rdoc//rdoc/markdown.rb#887
+ # source://rdoc//lib/rdoc/markdown.rb#887
def setup_foreign_grammar; end
# Prepares for parsing +str+. If you define a custom initialize you must
# call this method before #parse
#
- # source://rdoc//rdoc/markdown.rb#196
+ # source://rdoc//lib/rdoc/markdown.rb#196
def setup_parser(str, debug = T.unsafe(nil)); end
- # source://rdoc//rdoc/markdown.rb#345
+ # source://rdoc//lib/rdoc/markdown.rb#345
def show_error(io = T.unsafe(nil)); end
- # source://rdoc//rdoc/markdown.rb#297
+ # source://rdoc//lib/rdoc/markdown.rb#297
def show_pos; end
# Wraps `text` in strike markup for rdoc inline formatting
#
- # source://rdoc//rdoc/markdown.rb#877
+ # source://rdoc//lib/rdoc/markdown.rb#877
def strike(text); end
- # source://rdoc//rdoc/markdown.rb#610
+ # source://rdoc//lib/rdoc/markdown.rb#610
def strike=(enable); end
- # source://rdoc//rdoc/markdown.rb#606
+ # source://rdoc//lib/rdoc/markdown.rb#606
def strike?; end
# Returns the value of attribute string.
#
- # source://rdoc//rdoc/markdown.rb#207
+ # source://rdoc//lib/rdoc/markdown.rb#207
def string; end
# Wraps `text` in strong markup for rdoc inline formatting
#
- # source://rdoc//rdoc/markdown.rb#866
+ # source://rdoc//lib/rdoc/markdown.rb#866
def strong(text); end
private
@@ -4286,27 +4330,28 @@ class RDoc::Markdown
#
# @return [Markdown] a new instance of Markdown
#
- # source://rdoc//rdoc/markdown.rb#188
+ # source://rdoc//lib/rdoc/markdown.rb#188
def orig_initialize(str, debug = T.unsafe(nil)); end
class << self
# Creates extension methods for the `name` extension to enable and disable
# the extension and to query if they are active.
#
- # source://rdoc//rdoc/markdown.rb#603
+ # source://rdoc//lib/rdoc/markdown.rb#603
def extension(name); end
# Parses the `markdown` document into an RDoc::Document using the default
# extensions.
#
- # source://rdoc//rdoc/markdown.rb#656
+ # source://rdoc//lib/rdoc/markdown.rb#656
def parse(markdown); end
- # source://rdoc//rdoc/markdown.rb#566
+ # source://rdoc//lib/rdoc/markdown.rb#566
def rule_info(name, rendered); end
end
end
+# source://rdoc//lib/rdoc/markdown.rb#257
class RDoc::Markdown::KpegPosInfo < ::Struct
# Returns the value of attribute char
#
@@ -4377,6 +4422,8 @@ end
#
# Unlike peg-markdown, this set of literals recognizes Unicode alphanumeric
# characters, newlines and spaces.
+#
+# source://rdoc//lib/rdoc/markdown/literals.rb#11
class RDoc::Markdown::Literals
# This is distinct from setup_parser so that a standalone parser
# can redefine #initialize and still have access to the proper
@@ -4384,175 +4431,176 @@ class RDoc::Markdown::Literals
#
# @return [Literals] a new instance of Literals
#
- # source://rdoc//rdoc/markdown/literals.rb#17
+ # source://rdoc//lib/rdoc/markdown/literals.rb#17
def initialize(str, debug = T.unsafe(nil)); end
# Alphanumeric = /\p{Word}/
#
- # source://rdoc//rdoc/markdown/literals.rb#405
+ # source://rdoc//lib/rdoc/markdown/literals.rb#405
def _Alphanumeric; end
# AlphanumericAscii = /[A-Za-z0-9]/
#
- # source://rdoc//rdoc/markdown/literals.rb#412
+ # source://rdoc//lib/rdoc/markdown/literals.rb#412
def _AlphanumericAscii; end
# BOM = "uFEFF"
#
- # source://rdoc//rdoc/markdown/literals.rb#419
+ # source://rdoc//lib/rdoc/markdown/literals.rb#419
def _BOM; end
# Newline = /\n|\r\n?|\p{Zl}|\p{Zp}/
#
- # source://rdoc//rdoc/markdown/literals.rb#426
+ # source://rdoc//lib/rdoc/markdown/literals.rb#426
def _Newline; end
# NonAlphanumeric = /\p{^Word}/
#
- # source://rdoc//rdoc/markdown/literals.rb#433
+ # source://rdoc//lib/rdoc/markdown/literals.rb#433
def _NonAlphanumeric; end
# Spacechar = /\t|\p{Zs}/
#
- # source://rdoc//rdoc/markdown/literals.rb#440
+ # source://rdoc//lib/rdoc/markdown/literals.rb#440
def _Spacechar; end
- # source://rdoc//rdoc/markdown/literals.rb#331
+ # source://rdoc//lib/rdoc/markdown/literals.rb#331
def apply(rule); end
- # source://rdoc//rdoc/markdown/literals.rb#297
+ # source://rdoc//lib/rdoc/markdown/literals.rb#297
def apply_with_args(rule, *args); end
- # source://rdoc//rdoc/markdown/literals.rb#79
+ # source://rdoc//lib/rdoc/markdown/literals.rb#79
def current_character(target = T.unsafe(nil)); end
- # source://rdoc//rdoc/markdown/literals.rb#40
+ # source://rdoc//lib/rdoc/markdown/literals.rb#40
def current_column(target = T.unsafe(nil)); end
- # source://rdoc//rdoc/markdown/literals.rb#63
+ # source://rdoc//lib/rdoc/markdown/literals.rb#63
def current_line(target = T.unsafe(nil)); end
- # source://rdoc//rdoc/markdown/literals.rb#88
+ # source://rdoc//lib/rdoc/markdown/literals.rb#88
def current_pos_info(target = T.unsafe(nil)); end
- # source://rdoc//rdoc/markdown/literals.rb#278
+ # source://rdoc//lib/rdoc/markdown/literals.rb#278
def external_invoke(other, rule, *args); end
# Returns the value of attribute failed_rule.
#
- # source://rdoc//rdoc/markdown/literals.rb#200
+ # source://rdoc//lib/rdoc/markdown/literals.rb#200
def failed_rule; end
# Returns the value of attribute failing_rule_offset.
#
- # source://rdoc//rdoc/markdown/literals.rb#37
+ # source://rdoc//lib/rdoc/markdown/literals.rb#37
def failing_rule_offset; end
- # source://rdoc//rdoc/markdown/literals.rb#147
+ # source://rdoc//lib/rdoc/markdown/literals.rb#147
def failure_caret; end
- # source://rdoc//rdoc/markdown/literals.rb#152
+ # source://rdoc//lib/rdoc/markdown/literals.rb#152
def failure_character; end
- # source://rdoc//rdoc/markdown/literals.rb#135
+ # source://rdoc//lib/rdoc/markdown/literals.rb#135
def failure_info; end
- # source://rdoc//rdoc/markdown/literals.rb#156
+ # source://rdoc//lib/rdoc/markdown/literals.rb#156
def failure_oneline; end
- # source://rdoc//rdoc/markdown/literals.rb#222
+ # source://rdoc//lib/rdoc/markdown/literals.rb#222
def get_byte; end
- # source://rdoc//rdoc/markdown/literals.rb#100
+ # source://rdoc//lib/rdoc/markdown/literals.rb#100
def get_line(no); end
- # source://rdoc//rdoc/markdown/literals.rb#114
+ # source://rdoc//lib/rdoc/markdown/literals.rb#114
def get_text(start); end
- # source://rdoc//rdoc/markdown/literals.rb#364
+ # source://rdoc//lib/rdoc/markdown/literals.rb#364
def grow_lr(rule, args, start_pos, m); end
- # source://rdoc//rdoc/markdown/literals.rb#96
+ # source://rdoc//lib/rdoc/markdown/literals.rb#96
def lines; end
- # source://rdoc//rdoc/markdown/literals.rb#202
+ # source://rdoc//lib/rdoc/markdown/literals.rb#202
def match_string(str); end
- # source://rdoc//rdoc/markdown/literals.rb#243
+ # source://rdoc//lib/rdoc/markdown/literals.rb#243
def parse(rule = T.unsafe(nil)); end
# Returns the value of attribute pos.
#
- # source://rdoc//rdoc/markdown/literals.rb#38
+ # source://rdoc//lib/rdoc/markdown/literals.rb#38
def pos; end
# Sets the attribute pos
#
# @param value the value to set the attribute pos to.
#
- # source://rdoc//rdoc/markdown/literals.rb#38
+ # source://rdoc//lib/rdoc/markdown/literals.rb#38
def pos=(_arg0); end
- # source://rdoc//rdoc/markdown/literals.rb#50
+ # source://rdoc//lib/rdoc/markdown/literals.rb#50
def position_line_offsets; end
# @raise [ParseError]
#
- # source://rdoc//rdoc/markdown/literals.rb#170
+ # source://rdoc//lib/rdoc/markdown/literals.rb#170
def raise_error; end
# Returns the value of attribute result.
#
- # source://rdoc//rdoc/markdown/literals.rb#38
+ # source://rdoc//lib/rdoc/markdown/literals.rb#38
def result; end
# Sets the attribute result
#
# @param value the value to set the attribute result to.
#
- # source://rdoc//rdoc/markdown/literals.rb#38
+ # source://rdoc//lib/rdoc/markdown/literals.rb#38
def result=(_arg0); end
- # source://rdoc//rdoc/markdown/literals.rb#212
+ # source://rdoc//lib/rdoc/markdown/literals.rb#212
def scan(reg); end
- # source://rdoc//rdoc/markdown/literals.rb#193
+ # source://rdoc//lib/rdoc/markdown/literals.rb#193
def set_failed_rule(name); end
# Sets the string and current parsing position for the parser.
#
- # source://rdoc//rdoc/markdown/literals.rb#119
+ # source://rdoc//lib/rdoc/markdown/literals.rb#119
def set_string(string, pos); end
# :startdoc:
# :stopdoc:
#
- # source://rdoc//rdoc/markdown/literals.rb#402
+ # source://rdoc//lib/rdoc/markdown/literals.rb#402
def setup_foreign_grammar; end
# Prepares for parsing +str+. If you define a custom initialize you must
# call this method before #parse
#
- # source://rdoc//rdoc/markdown/literals.rb#25
+ # source://rdoc//lib/rdoc/markdown/literals.rb#25
def setup_parser(str, debug = T.unsafe(nil)); end
- # source://rdoc//rdoc/markdown/literals.rb#174
+ # source://rdoc//lib/rdoc/markdown/literals.rb#174
def show_error(io = T.unsafe(nil)); end
- # source://rdoc//rdoc/markdown/literals.rb#126
+ # source://rdoc//lib/rdoc/markdown/literals.rb#126
def show_pos; end
# Returns the value of attribute string.
#
- # source://rdoc//rdoc/markdown/literals.rb#36
+ # source://rdoc//lib/rdoc/markdown/literals.rb#36
def string; end
class << self
- # source://rdoc//rdoc/markdown/literals.rb#395
+ # source://rdoc//lib/rdoc/markdown/literals.rb#395
def rule_info(name, rendered); end
end
end
+# source://rdoc//lib/rdoc/markdown/literals.rb#86
class RDoc::Markdown::Literals::KpegPosInfo < ::Struct
# Returns the value of attribute char
#
@@ -4618,124 +4666,129 @@ class RDoc::Markdown::Literals::KpegPosInfo < ::Struct
end
end
+# source://rdoc//lib/rdoc/markdown/literals.rb#257
class RDoc::Markdown::Literals::MemoEntry
# @return [MemoEntry] a new instance of MemoEntry
#
- # source://rdoc//rdoc/markdown/literals.rb#258
+ # source://rdoc//lib/rdoc/markdown/literals.rb#258
def initialize(ans, pos); end
# Returns the value of attribute ans.
#
- # source://rdoc//rdoc/markdown/literals.rb#266
+ # source://rdoc//lib/rdoc/markdown/literals.rb#266
def ans; end
# Returns the value of attribute left_rec.
#
- # source://rdoc//rdoc/markdown/literals.rb#267
+ # source://rdoc//lib/rdoc/markdown/literals.rb#267
def left_rec; end
# Sets the attribute left_rec
#
# @param value the value to set the attribute left_rec to.
#
- # source://rdoc//rdoc/markdown/literals.rb#267
+ # source://rdoc//lib/rdoc/markdown/literals.rb#267
def left_rec=(_arg0); end
- # source://rdoc//rdoc/markdown/literals.rb#269
+ # source://rdoc//lib/rdoc/markdown/literals.rb#269
def move!(ans, pos, result); end
# Returns the value of attribute pos.
#
- # source://rdoc//rdoc/markdown/literals.rb#266
+ # source://rdoc//lib/rdoc/markdown/literals.rb#266
def pos; end
# Returns the value of attribute result.
#
- # source://rdoc//rdoc/markdown/literals.rb#266
+ # source://rdoc//lib/rdoc/markdown/literals.rb#266
def result; end
# Returns the value of attribute set.
#
- # source://rdoc//rdoc/markdown/literals.rb#266
+ # source://rdoc//lib/rdoc/markdown/literals.rb#266
def set; end
end
+# source://rdoc//lib/rdoc/markdown/literals.rb#386
class RDoc::Markdown::Literals::RuleInfo
# @return [RuleInfo] a new instance of RuleInfo
#
- # source://rdoc//rdoc/markdown/literals.rb#387
+ # source://rdoc//lib/rdoc/markdown/literals.rb#387
def initialize(name, rendered); end
# Returns the value of attribute name.
#
- # source://rdoc//rdoc/markdown/literals.rb#392
+ # source://rdoc//lib/rdoc/markdown/literals.rb#392
def name; end
# Returns the value of attribute rendered.
#
- # source://rdoc//rdoc/markdown/literals.rb#392
+ # source://rdoc//lib/rdoc/markdown/literals.rb#392
def rendered; end
end
+# source://rdoc//lib/rdoc/markdown.rb#428
class RDoc::Markdown::MemoEntry
# @return [MemoEntry] a new instance of MemoEntry
#
- # source://rdoc//rdoc/markdown.rb#429
+ # source://rdoc//lib/rdoc/markdown.rb#429
def initialize(ans, pos); end
# Returns the value of attribute ans.
#
- # source://rdoc//rdoc/markdown.rb#437
+ # source://rdoc//lib/rdoc/markdown.rb#437
def ans; end
# Returns the value of attribute left_rec.
#
- # source://rdoc//rdoc/markdown.rb#438
+ # source://rdoc//lib/rdoc/markdown.rb#438
def left_rec; end
# Sets the attribute left_rec
#
# @param value the value to set the attribute left_rec to.
#
- # source://rdoc//rdoc/markdown.rb#438
+ # source://rdoc//lib/rdoc/markdown.rb#438
def left_rec=(_arg0); end
- # source://rdoc//rdoc/markdown.rb#440
+ # source://rdoc//lib/rdoc/markdown.rb#440
def move!(ans, pos, result); end
# Returns the value of attribute pos.
#
- # source://rdoc//rdoc/markdown.rb#437
+ # source://rdoc//lib/rdoc/markdown.rb#437
def pos; end
# Returns the value of attribute result.
#
- # source://rdoc//rdoc/markdown.rb#437
+ # source://rdoc//lib/rdoc/markdown.rb#437
def result; end
# Returns the value of attribute set.
#
- # source://rdoc//rdoc/markdown.rb#437
+ # source://rdoc//lib/rdoc/markdown.rb#437
def set; end
end
+# source://rdoc//lib/rdoc/markdown.rb#557
class RDoc::Markdown::RuleInfo
# @return [RuleInfo] a new instance of RuleInfo
#
- # source://rdoc//rdoc/markdown.rb#558
+ # source://rdoc//lib/rdoc/markdown.rb#558
def initialize(name, rendered); end
# Returns the value of attribute name.
#
- # source://rdoc//rdoc/markdown.rb#563
+ # source://rdoc//lib/rdoc/markdown.rb#563
def name; end
# Returns the value of attribute rendered.
#
- # source://rdoc//rdoc/markdown.rb#563
+ # source://rdoc//lib/rdoc/markdown.rb#563
def rendered; end
end
+# source://rdoc//lib/rdoc/markup.rb#106
class RDoc::Markup
# Take a block of text and use various heuristics to determine its
# structure (paragraphs, lists, and so on). Invoke an event handler as we
@@ -4743,12 +4796,12 @@ class RDoc::Markup
#
# @return [Markup] a new instance of Markup
#
- # source://rdoc//rdoc/markup.rb#146
+ # source://rdoc//lib/rdoc/markup.rb#146
def initialize(attribute_manager = T.unsafe(nil)); end
# Add to the sequences recognized as general markup.
#
- # source://rdoc//rdoc/markup.rb#163
+ # source://rdoc//lib/rdoc/markup.rb#163
def add_html(tag, name); end
# Add to other inline sequences. For example, we could add WikiWords using
@@ -4758,73 +4811,79 @@ class RDoc::Markup
#
# Each wiki word will be presented to the output formatter.
#
- # source://rdoc//rdoc/markup.rb#175
+ # source://rdoc//lib/rdoc/markup.rb#175
def add_regexp_handling(pattern, name); end
# Add to the sequences used to add formatting to an individual word (such
# as *bold*). Matching entries will generate attributes that the output
# formatters can recognize by their +name+.
#
- # source://rdoc//rdoc/markup.rb#156
+ # source://rdoc//lib/rdoc/markup.rb#156
def add_word_pair(start, stop, name); end
# An AttributeManager which handles inline markup.
#
- # source://rdoc//rdoc/markup.rb#111
+ # source://rdoc//lib/rdoc/markup.rb#111
def attribute_manager; end
# We take +input+, parse it if necessary, then invoke the output +formatter+
# using a Visitor to render the result.
#
- # source://rdoc//rdoc/markup.rb#183
+ # source://rdoc//lib/rdoc/markup.rb#183
def convert(input, formatter); end
class << self
# Parses +str+ into an RDoc::Markup::Document.
#
- # source://rdoc//rdoc/markup.rb#116
+ # source://rdoc//lib/rdoc/markup.rb#116
def parse(str); end
end
end
# An AttrChanger records a change in attributes. It contains a bitmap of the
# attributes to turn on, and a bitmap of those to turn off.
+#
+# source://rdoc//lib/rdoc/markup/attr_changer.rb#4
class RDoc::Markup::AttrChanger < ::Struct
- # source://rdoc//rdoc/markup/attr_changer.rb#18
+ # source://rdoc//lib/rdoc/markup/attr_changer.rb#18
def inspect; end
- # source://rdoc//rdoc/markup/attr_changer.rb#14
+ # source://rdoc//lib/rdoc/markup/attr_changer.rb#14
def to_s; end
end
# An array of attributes which parallels the characters in a string.
+#
+# source://rdoc//lib/rdoc/markup/attr_span.rb#5
class RDoc::Markup::AttrSpan
# Creates a new AttrSpan for +length+ characters
#
# @return [AttrSpan] a new instance of AttrSpan
#
- # source://rdoc//rdoc/markup/attr_span.rb#10
+ # source://rdoc//lib/rdoc/markup/attr_span.rb#10
def initialize(length, exclusive); end
# Accesses flags for character +n+
#
- # source://rdoc//rdoc/markup/attr_span.rb#31
+ # source://rdoc//lib/rdoc/markup/attr_span.rb#31
def [](n); end
# Toggles +bits+ from +start+ to +length+
#
- # source://rdoc//rdoc/markup/attr_span.rb#17
+ # source://rdoc//lib/rdoc/markup/attr_span.rb#17
def set_attrs(start, length, bits); end
end
# Manages changes of attributes in a block of text
+#
+# source://rdoc//lib/rdoc/markup/attribute_manager.rb#6
class RDoc::Markup::AttributeManager
# Creates a new attribute manager that understands bold, emphasized and
# teletype text.
#
# @return [AttributeManager] a new instance of AttributeManager
#
- # source://rdoc//rdoc/markup/attribute_manager.rb#80
+ # source://rdoc//lib/rdoc/markup/attribute_manager.rb#80
def initialize; end
# Adds a markup class with +name+ for words surrounded by HTML tag +tag+.
@@ -4832,7 +4891,7 @@ class RDoc::Markup::AttributeManager
#
# am.add_html 'em', :EM
#
- # source://rdoc//rdoc/markup/attribute_manager.rb#286
+ # source://rdoc//lib/rdoc/markup/attribute_manager.rb#286
def add_html(tag, name, exclusive = T.unsafe(nil)); end
# Adds a regexp handling for +pattern+ with +name+. A simple URL handler
@@ -4840,7 +4899,7 @@ class RDoc::Markup::AttributeManager
#
# @am.add_regexp_handling(/((https?:)\S+\w)/, :HYPERLINK)
#
- # source://rdoc//rdoc/markup/attribute_manager.rb#298
+ # source://rdoc//lib/rdoc/markup/attribute_manager.rb#298
def add_regexp_handling(pattern, name, exclusive = T.unsafe(nil)); end
# Adds a markup class with +name+ for words wrapped in the +start+ and
@@ -4850,188 +4909,196 @@ class RDoc::Markup::AttributeManager
#
# @raise [ArgumentError]
#
- # source://rdoc//rdoc/markup/attribute_manager.rb#261
+ # source://rdoc//lib/rdoc/markup/attribute_manager.rb#261
def add_word_pair(start, stop, name, exclusive = T.unsafe(nil)); end
# Return an attribute object with the given turn_on and turn_off bits set
#
- # source://rdoc//rdoc/markup/attribute_manager.rb#103
+ # source://rdoc//lib/rdoc/markup/attribute_manager.rb#103
def attribute(turn_on, turn_off); end
# The attributes enabled for this markup object.
#
- # source://rdoc//rdoc/markup/attribute_manager.rb#40
+ # source://rdoc//lib/rdoc/markup/attribute_manager.rb#40
def attributes; end
# Changes the current attribute from +current+ to +new+
#
- # source://rdoc//rdoc/markup/attribute_manager.rb#110
+ # source://rdoc//lib/rdoc/markup/attribute_manager.rb#110
def change_attribute(current, new); end
# Used by the tests to change attributes by name from +current_set+ to
# +new_set+
#
- # source://rdoc//rdoc/markup/attribute_manager.rb#119
+ # source://rdoc//lib/rdoc/markup/attribute_manager.rb#119
def changed_attribute_by_name(current_set, new_set); end
# Map attributes like textto the sequence
# \001\002\001\003, where is a per-attribute specific
# character
#
- # source://rdoc//rdoc/markup/attribute_manager.rb#154
+ # source://rdoc//lib/rdoc/markup/attribute_manager.rb#154
def convert_attrs(str, attrs, exclusive = T.unsafe(nil)); end
- # source://rdoc//rdoc/markup/attribute_manager.rb#160
+ # source://rdoc//lib/rdoc/markup/attribute_manager.rb#160
def convert_attrs_matching_word_pairs(str, attrs, exclusive); end
- # source://rdoc//rdoc/markup/attribute_manager.rb#185
+ # source://rdoc//lib/rdoc/markup/attribute_manager.rb#185
def convert_attrs_word_pair_map(str, attrs, exclusive); end
# Converts HTML tags to RDoc attributes
#
- # source://rdoc//rdoc/markup/attribute_manager.rb#206
+ # source://rdoc//lib/rdoc/markup/attribute_manager.rb#206
def convert_html(str, attrs, exclusive = T.unsafe(nil)); end
# Converts regexp handling sequences to RDoc attributes
#
- # source://rdoc//rdoc/markup/attribute_manager.rb#223
+ # source://rdoc//lib/rdoc/markup/attribute_manager.rb#223
def convert_regexp_handlings(str, attrs, exclusive = T.unsafe(nil)); end
# Copies +start_pos+ to +end_pos+ from the current string
#
- # source://rdoc//rdoc/markup/attribute_manager.rb#135
+ # source://rdoc//lib/rdoc/markup/attribute_manager.rb#135
def copy_string(start_pos, end_pos); end
# Debug method that prints a string along with its attributes
#
- # source://rdoc//rdoc/markup/attribute_manager.rb#329
+ # source://rdoc//lib/rdoc/markup/attribute_manager.rb#329
def display_attributes; end
# @return [Boolean]
#
- # source://rdoc//rdoc/markup/attribute_manager.rb#142
+ # source://rdoc//lib/rdoc/markup/attribute_manager.rb#142
def exclusive?(attr); end
# A bits of exclusive maps
#
- # source://rdoc//rdoc/markup/attribute_manager.rb#74
+ # source://rdoc//lib/rdoc/markup/attribute_manager.rb#74
def exclusive_bitmap; end
# Processes +str+ converting attributes, HTML and regexp handlings
#
- # source://rdoc//rdoc/markup/attribute_manager.rb#307
+ # source://rdoc//lib/rdoc/markup/attribute_manager.rb#307
def flow(str); end
# This maps HTML tags to the corresponding attribute char
#
- # source://rdoc//rdoc/markup/attribute_manager.rb#58
+ # source://rdoc//lib/rdoc/markup/attribute_manager.rb#58
def html_tags; end
# Escapes regexp handling sequences of text to prevent conversion to RDoc
#
- # source://rdoc//rdoc/markup/attribute_manager.rb#239
+ # source://rdoc//lib/rdoc/markup/attribute_manager.rb#239
def mask_protected_sequences; end
# This maps delimiters that occur around words (such as *bold* or +tt+)
# where the start and end delimiters and the same. This lets us optimize
# the regexp
#
- # source://rdoc//rdoc/markup/attribute_manager.rb#47
+ # source://rdoc//lib/rdoc/markup/attribute_manager.rb#47
def matching_word_pairs; end
# A \ in front of a character that would normally be processed turns off
# processing. We do this by turning \< into <#{PROTECT}
#
- # source://rdoc//rdoc/markup/attribute_manager.rb#64
+ # source://rdoc//lib/rdoc/markup/attribute_manager.rb#64
def protectable; end
# And this maps _regexp handling_ sequences to a name. A regexp handling
# sequence is something like a WikiWord
#
- # source://rdoc//rdoc/markup/attribute_manager.rb#70
+ # source://rdoc//lib/rdoc/markup/attribute_manager.rb#70
def regexp_handlings; end
# Splits the string into chunks by attribute change
#
- # source://rdoc//rdoc/markup/attribute_manager.rb#354
+ # source://rdoc//lib/rdoc/markup/attribute_manager.rb#354
def split_into_flow; end
# Unescapes regexp handling sequences of text
#
- # source://rdoc//rdoc/markup/attribute_manager.rb#251
+ # source://rdoc//lib/rdoc/markup/attribute_manager.rb#251
def unmask_protected_sequences; end
# And this is used when the delimiters aren't the same. In this case the
# hash maps a pattern to the attribute character
#
- # source://rdoc//rdoc/markup/attribute_manager.rb#53
+ # source://rdoc//lib/rdoc/markup/attribute_manager.rb#53
def word_pair_map; end
end
-# source://rdoc//rdoc/markup/attribute_manager.rb#147
+# source://rdoc//lib/rdoc/markup/attribute_manager.rb#147
RDoc::Markup::AttributeManager::NON_PRINTING_END = T.let(T.unsafe(nil), String)
-# source://rdoc//rdoc/markup/attribute_manager.rb#146
+# source://rdoc//lib/rdoc/markup/attribute_manager.rb#146
RDoc::Markup::AttributeManager::NON_PRINTING_START = T.let(T.unsafe(nil), String)
# We manage a set of attributes. Each attribute has a symbol name and a bit
# value.
+#
+# source://rdoc//lib/rdoc/markup/attributes.rb#6
class RDoc::Markup::Attributes
# Creates a new attributes set.
#
# @return [Attributes] a new instance of Attributes
#
- # source://rdoc//rdoc/markup/attributes.rb#16
+ # source://rdoc//lib/rdoc/markup/attributes.rb#16
def initialize; end
# Returns a string representation of +bitmap+
#
- # source://rdoc//rdoc/markup/attributes.rb#46
+ # source://rdoc//lib/rdoc/markup/attributes.rb#46
def as_string(bitmap); end
# Returns a unique bit for +name+
#
- # source://rdoc//rdoc/markup/attributes.rb#29
+ # source://rdoc//lib/rdoc/markup/attributes.rb#29
def bitmap_for(name); end
# yields each attribute name in +bitmap+
#
- # source://rdoc//rdoc/markup/attributes.rb#60
+ # source://rdoc//lib/rdoc/markup/attributes.rb#60
def each_name_of(bitmap); end
# The regexp handling attribute type. See RDoc::Markup#add_regexp_handling
#
- # source://rdoc//rdoc/markup/attributes.rb#11
+ # source://rdoc//lib/rdoc/markup/attributes.rb#11
def regexp_handling; end
end
# An empty line. This class is a singleton.
+#
+# source://rdoc//lib/rdoc/markup/blank_line.rb#5
class RDoc::Markup::BlankLine
# Calls #accept_blank_line on +visitor+
#
- # source://rdoc//rdoc/markup/blank_line.rb#19
+ # source://rdoc//lib/rdoc/markup/blank_line.rb#19
def accept(visitor); end
- # source://rdoc//rdoc/markup/blank_line.rb#23
+ # source://rdoc//lib/rdoc/markup/blank_line.rb#23
def pretty_print(q); end
class << self
# RDoc::Markup::BlankLine is a singleton
#
- # source://rdoc//rdoc/markup/blank_line.rb#12
+ # source://rdoc//lib/rdoc/markup/blank_line.rb#12
def new; end
end
end
# A quoted section which contains markup items.
+#
+# source://rdoc//lib/rdoc/markup/block_quote.rb#5
class RDoc::Markup::BlockQuote < ::RDoc::Markup::Raw
# Calls #accept_block_quote on +visitor+
#
- # source://rdoc//rdoc/markup/block_quote.rb#10
+ # source://rdoc//lib/rdoc/markup/block_quote.rb#10
def accept(visitor); end
end
# A Document containing lists, headings, paragraphs, etc.
+#
+# source://rdoc//lib/rdoc/markup/document.rb#5
class RDoc::Markup::Document
include ::Enumerable
@@ -5039,48 +5106,48 @@ class RDoc::Markup::Document
#
# @return [Document] a new instance of Document
#
- # source://rdoc//rdoc/markup/document.rb#29
+ # source://rdoc//lib/rdoc/markup/document.rb#29
def initialize(*parts); end
# Appends +part+ to the document
#
- # source://rdoc//rdoc/markup/document.rb#40
+ # source://rdoc//lib/rdoc/markup/document.rb#40
def <<(part); end
- # source://rdoc//rdoc/markup/document.rb#56
+ # source://rdoc//lib/rdoc/markup/document.rb#56
def ==(other); end
# Runs this document and all its #items through +visitor+
#
- # source://rdoc//rdoc/markup/document.rb#65
+ # source://rdoc//lib/rdoc/markup/document.rb#65
def accept(visitor); end
# Concatenates the given +parts+ onto the document
#
- # source://rdoc//rdoc/markup/document.rb#76
+ # source://rdoc//lib/rdoc/markup/document.rb#76
def concat(parts); end
# Enumerator for the parts of this document
#
- # source://rdoc//rdoc/markup/document.rb#83
+ # source://rdoc//lib/rdoc/markup/document.rb#83
def each(&block); end
# Does this document have no parts?
#
# @return [Boolean]
#
- # source://rdoc//rdoc/markup/document.rb#90
+ # source://rdoc//lib/rdoc/markup/document.rb#90
def empty?; end
# The file this document was created from. See also
# RDoc::ClassModule#add_comment
#
- # source://rdoc//rdoc/markup/document.rb#13
+ # source://rdoc//lib/rdoc/markup/document.rb#13
def file; end
# The file this Document was created from.
#
- # source://rdoc//rdoc/markup/document.rb#97
+ # source://rdoc//lib/rdoc/markup/document.rb#97
def file=(location); end
# When this is a collection of documents (#file is not set and this document
@@ -5090,46 +5157,46 @@ class RDoc::Markup::Document
#
# The information in +other+ is preferred over the receiver
#
- # source://rdoc//rdoc/markup/document.rb#114
+ # source://rdoc//lib/rdoc/markup/document.rb#114
def merge(other); end
# Does this Document contain other Documents?
#
# @return [Boolean]
#
- # source://rdoc//rdoc/markup/document.rb#134
+ # source://rdoc//lib/rdoc/markup/document.rb#134
def merged?; end
# If a heading is below the given level it will be omitted from the
# table_of_contents
#
- # source://rdoc//rdoc/markup/document.rb#19
+ # source://rdoc//lib/rdoc/markup/document.rb#19
def omit_headings_below; end
# If a heading is below the given level it will be omitted from the
# table_of_contents
#
- # source://rdoc//rdoc/markup/document.rb#19
+ # source://rdoc//lib/rdoc/markup/document.rb#19
def omit_headings_below=(_arg0); end
# The parts of the Document
#
- # source://rdoc//rdoc/markup/document.rb#24
+ # source://rdoc//lib/rdoc/markup/document.rb#24
def parts; end
- # source://rdoc//rdoc/markup/document.rb#138
+ # source://rdoc//lib/rdoc/markup/document.rb#138
def pretty_print(q); end
# Appends +parts+ to the document
#
- # source://rdoc//rdoc/markup/document.rb#151
+ # source://rdoc//lib/rdoc/markup/document.rb#151
def push(*parts); end
# Returns an Array of headings in the document.
#
# Require 'rdoc/markup/formatter' before calling this method.
#
- # source://rdoc//rdoc/markup/document.rb#160
+ # source://rdoc//lib/rdoc/markup/document.rb#160
def table_of_contents; end
end
@@ -5142,59 +5209,61 @@ end
# If you'd like to write your own Formatter use
# RDoc::Markup::FormatterTestCase. If you're writing a text-output formatter
# use RDoc::Markup::TextFormatterTestCase which provides extra test cases.
+#
+# source://rdoc//lib/rdoc/markup/formatter.rb#13
class RDoc::Markup::Formatter
# Creates a new Formatter
#
# @return [Formatter] a new instance of Formatter
#
- # source://rdoc//rdoc/markup/formatter.rb#48
+ # source://rdoc//lib/rdoc/markup/formatter.rb#48
def initialize(options, markup = T.unsafe(nil)); end
# Adds +document+ to the output
#
- # source://rdoc//rdoc/markup/formatter.rb#69
+ # source://rdoc//lib/rdoc/markup/formatter.rb#69
def accept_document(document); end
# Adds a regexp handling for links of the form rdoc-...:
#
- # source://rdoc//rdoc/markup/formatter.rb#83
+ # source://rdoc//lib/rdoc/markup/formatter.rb#83
def add_regexp_handling_RDOCLINK; end
# Adds a regexp handling for links of the form {}[] and
# []
#
- # source://rdoc//rdoc/markup/formatter.rb#91
+ # source://rdoc//lib/rdoc/markup/formatter.rb#91
def add_regexp_handling_TIDYLINK; end
# Add a new set of tags for an attribute. We allow separate start and end
# tags for flexibility
#
- # source://rdoc//rdoc/markup/formatter.rb#105
+ # source://rdoc//lib/rdoc/markup/formatter.rb#105
def add_tag(name, start, stop); end
# Allows +tag+ to be decorated with additional information.
#
- # source://rdoc//rdoc/markup/formatter.rb#113
+ # source://rdoc//lib/rdoc/markup/formatter.rb#113
def annotate(tag); end
# Marks up +content+
#
- # source://rdoc//rdoc/markup/formatter.rb#120
+ # source://rdoc//lib/rdoc/markup/formatter.rb#120
def convert(content); end
# Converts flow items +flow+
#
- # source://rdoc//rdoc/markup/formatter.rb#127
+ # source://rdoc//lib/rdoc/markup/formatter.rb#127
def convert_flow(flow); end
# Converts added regexp handlings. See RDoc::Markup#add_regexp_handling
#
- # source://rdoc//rdoc/markup/formatter.rb#150
+ # source://rdoc//lib/rdoc/markup/formatter.rb#150
def convert_regexp_handling(target); end
# Converts a string to be fancier if desired
#
- # source://rdoc//rdoc/markup/formatter.rb#176
+ # source://rdoc//lib/rdoc/markup/formatter.rb#176
def convert_string(string); end
# Use ignore in your subclass to ignore the content of a node.
@@ -5204,88 +5273,91 @@ class RDoc::Markup::Formatter
#
# alias accept_raw ignore
#
- # source://rdoc//rdoc/markup/formatter.rb#188
+ # source://rdoc//lib/rdoc/markup/formatter.rb#188
def ignore(*node); end
# Are we currently inside tt tags?
#
# @return [Boolean]
#
- # source://rdoc//rdoc/markup/formatter.rb#194
+ # source://rdoc//lib/rdoc/markup/formatter.rb#194
def in_tt?; end
# Turns off tags for +item+ on +res+
#
- # source://rdoc//rdoc/markup/formatter.rb#216
+ # source://rdoc//lib/rdoc/markup/formatter.rb#216
def off_tags(res, item); end
# Turns on tags for +item+ on +res+
#
- # source://rdoc//rdoc/markup/formatter.rb#201
+ # source://rdoc//lib/rdoc/markup/formatter.rb#201
def on_tags(res, item); end
# Extracts and a scheme, url and an anchor id from +url+ and returns them.
#
- # source://rdoc//rdoc/markup/formatter.rb#231
+ # source://rdoc//lib/rdoc/markup/formatter.rb#231
def parse_url(url); end
# Is +tag+ a tt tag?
#
# @return [Boolean]
#
- # source://rdoc//rdoc/markup/formatter.rb#261
+ # source://rdoc//lib/rdoc/markup/formatter.rb#261
def tt?(tag); end
class << self
# Converts a target url to one that is relative to a given path
#
- # source://rdoc//rdoc/markup/formatter.rb#24
+ # source://rdoc//lib/rdoc/markup/formatter.rb#24
def gen_relative_url(path, target); end
end
end
# A hard-break in the middle of a paragraph.
+#
+# source://rdoc//lib/rdoc/markup/hard_break.rb#5
class RDoc::Markup::HardBreak
- # source://rdoc//rdoc/markup/hard_break.rb#23
+ # source://rdoc//lib/rdoc/markup/hard_break.rb#23
def ==(other); end
# Calls #accept_hard_break on +visitor+
#
- # source://rdoc//rdoc/markup/hard_break.rb#19
+ # source://rdoc//lib/rdoc/markup/hard_break.rb#19
def accept(visitor); end
- # source://rdoc//rdoc/markup/hard_break.rb#27
+ # source://rdoc//lib/rdoc/markup/hard_break.rb#27
def pretty_print(q); end
class << self
# RDoc::Markup::HardBreak is a singleton
#
- # source://rdoc//rdoc/markup/hard_break.rb#12
+ # source://rdoc//lib/rdoc/markup/hard_break.rb#12
def new; end
end
end
+# source://rdoc//lib/rdoc/markup/heading.rb#6
class RDoc::Markup::Heading < ::Struct
- # source://rdoc//rdoc/markup/heading.rb#40
+ # source://rdoc//lib/rdoc/markup/heading.rb#40
def accept(visitor); end
- # source://rdoc//rdoc/markup/heading.rb#47
+ # source://rdoc//lib/rdoc/markup/heading.rb#47
def aref; end
- # source://rdoc//rdoc/markup/heading.rb#55
+ # source://rdoc//lib/rdoc/markup/heading.rb#55
def label(context = T.unsafe(nil)); end
- # source://rdoc//rdoc/markup/heading.rb#68
+ # source://rdoc//lib/rdoc/markup/heading.rb#68
def plain_html; end
- # source://rdoc//rdoc/markup/heading.rb#72
+ # source://rdoc//lib/rdoc/markup/heading.rb#72
def pretty_print(q); end
class << self
- # source://rdoc//rdoc/markup/heading.rb#22
+ # source://rdoc//lib/rdoc/markup/heading.rb#22
def to_html; end
- # source://rdoc//rdoc/markup/heading.rb#14
+ # source://rdoc//lib/rdoc/markup/heading.rb#14
def to_label; end
end
end
@@ -5294,58 +5366,62 @@ end
# RDoc::RD for an extension-less include.
#
# This implementation in incomplete.
+#
+# source://rdoc//lib/rdoc/markup/include.rb#8
class RDoc::Markup::Include
# Creates a new include that will import +file+ from +include_path+
#
# @return [Include] a new instance of Include
#
- # source://rdoc//rdoc/markup/include.rb#23
+ # source://rdoc//lib/rdoc/markup/include.rb#23
def initialize(file, include_path); end
- # source://rdoc//rdoc/markup/include.rb#28
+ # source://rdoc//lib/rdoc/markup/include.rb#28
def ==(other); end
# The filename to be included, without extension
#
- # source://rdoc//rdoc/markup/include.rb#13
+ # source://rdoc//lib/rdoc/markup/include.rb#13
def file; end
# Directories to search for #file
#
- # source://rdoc//rdoc/markup/include.rb#18
+ # source://rdoc//lib/rdoc/markup/include.rb#18
def include_path; end
- # source://rdoc//rdoc/markup/include.rb#33
+ # source://rdoc//lib/rdoc/markup/include.rb#33
def pretty_print(q); end
end
# An Indented Paragraph of text
+#
+# source://rdoc//lib/rdoc/markup/indented_paragraph.rb#5
class RDoc::Markup::IndentedParagraph < ::RDoc::Markup::Raw
# Creates a new IndentedParagraph containing +parts+ indented with +indent+
# spaces
#
# @return [IndentedParagraph] a new instance of IndentedParagraph
#
- # source://rdoc//rdoc/markup/indented_paragraph.rb#16
+ # source://rdoc//lib/rdoc/markup/indented_paragraph.rb#16
def initialize(indent, *parts); end
- # source://rdoc//rdoc/markup/indented_paragraph.rb#22
+ # source://rdoc//lib/rdoc/markup/indented_paragraph.rb#22
def ==(other); end
# Calls #accept_indented_paragraph on +visitor+
#
- # source://rdoc//rdoc/markup/indented_paragraph.rb#29
+ # source://rdoc//lib/rdoc/markup/indented_paragraph.rb#29
def accept(visitor); end
# The indent in number of spaces
#
- # source://rdoc//rdoc/markup/indented_paragraph.rb#10
+ # source://rdoc//lib/rdoc/markup/indented_paragraph.rb#10
def indent; end
# Joins the raw paragraph text and converts inline HardBreaks to the
# +hard_break+ text followed by the indent.
#
- # source://rdoc//rdoc/markup/indented_paragraph.rb#37
+ # source://rdoc//lib/rdoc/markup/indented_paragraph.rb#37
def text(hard_break = T.unsafe(nil)); end
end
@@ -5369,61 +5445,63 @@ end
# Definition lists behave like HTML definition lists. Each list item can
# describe multiple terms. See RDoc::Markup::ListItem for how labels and
# definition are stored as list items.
+#
+# source://rdoc//lib/rdoc/markup/list.rb#24
class RDoc::Markup::List
# Creates a new list of +type+ with +items+. Valid list types are:
# +:BULLET+, +:LABEL+, +:LALPHA+, +:NOTE+, +:NUMBER+, +:UALPHA+
#
# @return [List] a new instance of List
#
- # source://rdoc//rdoc/markup/list.rb#40
+ # source://rdoc//lib/rdoc/markup/list.rb#40
def initialize(type = T.unsafe(nil), *items); end
# Appends +item+ to the list
#
- # source://rdoc//rdoc/markup/list.rb#49
+ # source://rdoc//lib/rdoc/markup/list.rb#49
def <<(item); end
- # source://rdoc//rdoc/markup/list.rb#53
+ # source://rdoc//lib/rdoc/markup/list.rb#53
def ==(other); end
# Runs this list and all its #items through +visitor+
#
- # source://rdoc//rdoc/markup/list.rb#62
+ # source://rdoc//lib/rdoc/markup/list.rb#62
def accept(visitor); end
# Is the list empty?
#
# @return [Boolean]
#
- # source://rdoc//rdoc/markup/list.rb#75
+ # source://rdoc//lib/rdoc/markup/list.rb#75
def empty?; end
# Items in the list
#
- # source://rdoc//rdoc/markup/list.rb#34
+ # source://rdoc//lib/rdoc/markup/list.rb#34
def items; end
# Returns the last item in the list
#
- # source://rdoc//rdoc/markup/list.rb#82
+ # source://rdoc//lib/rdoc/markup/list.rb#82
def last; end
- # source://rdoc//rdoc/markup/list.rb#86
+ # source://rdoc//lib/rdoc/markup/list.rb#86
def pretty_print(q); end
# Appends +items+ to the list
#
- # source://rdoc//rdoc/markup/list.rb#97
+ # source://rdoc//lib/rdoc/markup/list.rb#97
def push(*items); end
# The list's type
#
- # source://rdoc//rdoc/markup/list.rb#29
+ # source://rdoc//lib/rdoc/markup/list.rb#29
def type; end
# The list's type
#
- # source://rdoc//rdoc/markup/list.rb#29
+ # source://rdoc//lib/rdoc/markup/list.rb#29
def type=(_arg0); end
end
@@ -5435,74 +5513,78 @@ end
# * a single String for a single label
# * an Array of Strings for a list item with multiple terms
# * nil for an extra description attached to a previously labeled list item
+#
+# source://rdoc//lib/rdoc/markup/list_item.rb#12
class RDoc::Markup::ListItem
# Creates a new ListItem with an optional +label+ containing +parts+
#
# @return [ListItem] a new instance of ListItem
#
- # source://rdoc//rdoc/markup/list_item.rb#27
+ # source://rdoc//lib/rdoc/markup/list_item.rb#27
def initialize(label = T.unsafe(nil), *parts); end
# Appends +part+ to the ListItem
#
- # source://rdoc//rdoc/markup/list_item.rb#36
+ # source://rdoc//lib/rdoc/markup/list_item.rb#36
def <<(part); end
- # source://rdoc//rdoc/markup/list_item.rb#40
+ # source://rdoc//lib/rdoc/markup/list_item.rb#40
def ==(other); end
# Runs this list item and all its #parts through +visitor+
#
- # source://rdoc//rdoc/markup/list_item.rb#49
+ # source://rdoc//lib/rdoc/markup/list_item.rb#49
def accept(visitor); end
# Is the ListItem empty?
#
# @return [Boolean]
#
- # source://rdoc//rdoc/markup/list_item.rb#62
+ # source://rdoc//lib/rdoc/markup/list_item.rb#62
def empty?; end
# The label for the ListItem
#
- # source://rdoc//rdoc/markup/list_item.rb#17
+ # source://rdoc//lib/rdoc/markup/list_item.rb#17
def label; end
# The label for the ListItem
#
- # source://rdoc//rdoc/markup/list_item.rb#17
+ # source://rdoc//lib/rdoc/markup/list_item.rb#17
def label=(_arg0); end
# Length of parts in the ListItem
#
- # source://rdoc//rdoc/markup/list_item.rb#69
+ # source://rdoc//lib/rdoc/markup/list_item.rb#69
def length; end
# Parts of the ListItem
#
- # source://rdoc//rdoc/markup/list_item.rb#22
+ # source://rdoc//lib/rdoc/markup/list_item.rb#22
def parts; end
- # source://rdoc//rdoc/markup/list_item.rb#73
+ # source://rdoc//lib/rdoc/markup/list_item.rb#73
def pretty_print(q); end
# Adds +parts+ to the ListItem
#
- # source://rdoc//rdoc/markup/list_item.rb#95
+ # source://rdoc//lib/rdoc/markup/list_item.rb#95
def push(*parts); end
end
# A Paragraph of text
+#
+# source://rdoc//lib/rdoc/markup/paragraph.rb#5
class RDoc::Markup::Paragraph < ::RDoc::Markup::Raw
# Calls #accept_paragraph on +visitor+
#
- # source://rdoc//rdoc/markup/paragraph.rb#10
+ # source://rdoc//lib/rdoc/markup/paragraph.rb#10
def accept(visitor); end
# Joins the raw paragraph text and converts inline HardBreaks to the
# +hard_break+ text.
#
- # source://rdoc//rdoc/markup/paragraph.rb#18
+ # source://rdoc//lib/rdoc/markup/paragraph.rb#18
def text(hard_break = T.unsafe(nil)); end
end
@@ -5519,6 +5601,8 @@ end
#
# To see what markup the Parser implements read RDoc. To see how to use
# RDoc markup to format text in your program read RDoc::Markup.
+#
+# source://rdoc//lib/rdoc/markup/parser.rb#19
class RDoc::Markup::Parser
include ::RDoc::Text
@@ -5526,22 +5610,22 @@ class RDoc::Markup::Parser
#
# @return [Parser] a new instance of Parser
#
- # source://rdoc//rdoc/markup/parser.rb#79
+ # source://rdoc//lib/rdoc/markup/parser.rb#79
def initialize; end
# Builds a Heading of +level+
#
- # source://rdoc//rdoc/markup/parser.rb#90
+ # source://rdoc//lib/rdoc/markup/parser.rb#90
def build_heading(level); end
# Builds a List flush to +margin+
#
- # source://rdoc//rdoc/markup/parser.rb#108
+ # source://rdoc//lib/rdoc/markup/parser.rb#108
def build_list(margin); end
# Builds a Paragraph that is flush to +margin+
#
- # source://rdoc//rdoc/markup/parser.rb#208
+ # source://rdoc//lib/rdoc/markup/parser.rb#208
def build_paragraph(margin); end
# Builds a Verbatim that is indented from +margin+.
@@ -5551,22 +5635,22 @@ class RDoc::Markup::Parser
# terminated by a newline. Blank lines always consist of a single newline
# character, and there is never a single newline at the end of the verbatim.
#
- # source://rdoc//rdoc/markup/parser.rb#243
+ # source://rdoc//lib/rdoc/markup/parser.rb#243
def build_verbatim(margin); end
# Enables display of debugging information
#
- # source://rdoc//rdoc/markup/parser.rb#48
+ # source://rdoc//lib/rdoc/markup/parser.rb#48
def debug; end
# Enables display of debugging information
#
- # source://rdoc//rdoc/markup/parser.rb#48
+ # source://rdoc//lib/rdoc/markup/parser.rb#48
def debug=(_arg0); end
# Pulls the next token from the stream.
#
- # source://rdoc//rdoc/markup/parser.rb#327
+ # source://rdoc//lib/rdoc/markup/parser.rb#327
def get; end
# Parses the tokens into an array of RDoc::Markup::XXX objects,
@@ -5577,22 +5661,22 @@ class RDoc::Markup::Parser
#
# Returns +parent+.
#
- # source://rdoc//rdoc/markup/parser.rb#342
+ # source://rdoc//lib/rdoc/markup/parser.rb#342
def parse(parent, indent = T.unsafe(nil)); end
# Small hook that is overridden by RDoc::TomDoc
#
- # source://rdoc//rdoc/markup/parser.rb#406
+ # source://rdoc//lib/rdoc/markup/parser.rb#406
def parse_text(parent, indent); end
# Returns the next token on the stream without modifying the stream
#
- # source://rdoc//rdoc/markup/parser.rb#413
+ # source://rdoc//lib/rdoc/markup/parser.rb#413
def peek_token; end
# Creates the StringScanner
#
- # source://rdoc//rdoc/markup/parser.rb#468
+ # source://rdoc//lib/rdoc/markup/parser.rb#468
def setup_scanner(input); end
# Skips the next token if its type is +token_type+.
@@ -5601,24 +5685,24 @@ class RDoc::Markup::Parser
#
# @raise [ParseError]
#
- # source://rdoc//rdoc/markup/parser.rb#477
+ # source://rdoc//lib/rdoc/markup/parser.rb#477
def skip(token_type, error = T.unsafe(nil)); end
# Turns text +input+ into a stream of tokens
#
- # source://rdoc//rdoc/markup/parser.rb#488
+ # source://rdoc//lib/rdoc/markup/parser.rb#488
def tokenize(input); end
# Token accessor
#
- # source://rdoc//rdoc/markup/parser.rb#53
+ # source://rdoc//lib/rdoc/markup/parser.rb#53
def tokens; end
# Returns the current token to the token stream
#
# @raise [Error]
#
- # source://rdoc//rdoc/markup/parser.rb#578
+ # source://rdoc//lib/rdoc/markup/parser.rb#578
def unget; end
class << self
@@ -5626,46 +5710,48 @@ class RDoc::Markup::Parser
#
# Use RDoc::Markup#parse instead of this method.
#
- # source://rdoc//rdoc/markup/parser.rb#60
+ # source://rdoc//lib/rdoc/markup/parser.rb#60
def parse(str); end
# Returns a token stream for +str+, for testing
#
- # source://rdoc//rdoc/markup/parser.rb#70
+ # source://rdoc//lib/rdoc/markup/parser.rb#70
def tokenize(str); end
end
end
# A simple wrapper of StringScanner that is aware of the current column and lineno
+#
+# source://rdoc//lib/rdoc/markup/parser.rb#422
class RDoc::Markup::Parser::MyStringScanner
# :stopdoc:
#
# @return [MyStringScanner] a new instance of MyStringScanner
#
- # source://rdoc//rdoc/markup/parser.rb#425
+ # source://rdoc//lib/rdoc/markup/parser.rb#425
def initialize(input); end
- # source://rdoc//rdoc/markup/parser.rb#458
+ # source://rdoc//lib/rdoc/markup/parser.rb#458
def [](i); end
# @return [Boolean]
#
- # source://rdoc//rdoc/markup/parser.rb#450
+ # source://rdoc//lib/rdoc/markup/parser.rb#450
def eos?; end
- # source://rdoc//rdoc/markup/parser.rb#454
+ # source://rdoc//lib/rdoc/markup/parser.rb#454
def matched; end
- # source://rdoc//rdoc/markup/parser.rb#445
+ # source://rdoc//lib/rdoc/markup/parser.rb#445
def newline!; end
- # source://rdoc//rdoc/markup/parser.rb#441
+ # source://rdoc//lib/rdoc/markup/parser.rb#441
def pos; end
- # source://rdoc//rdoc/markup/parser.rb#430
+ # source://rdoc//lib/rdoc/markup/parser.rb#430
def scan(re); end
- # source://rdoc//rdoc/markup/parser.rb#436
+ # source://rdoc//lib/rdoc/markup/parser.rb#436
def unscan(s); end
end
@@ -5682,19 +5768,21 @@ end
# plugins) will be stored in the metadata hash on the CodeObject the comment
# is attached to. See RDoc::Markup@Directives for the list of built-in
# directives.
+#
+# source://rdoc//lib/rdoc/markup/pre_process.rb#17
class RDoc::Markup::PreProcess
# Creates a new pre-processor for +input_file_name+ that will look for
# included files in +include_path+
#
# @return [PreProcess] a new instance of PreProcess
#
- # source://rdoc//rdoc/markup/pre_process.rb#78
+ # source://rdoc//lib/rdoc/markup/pre_process.rb#78
def initialize(input_file_name, include_path); end
# Look for the given file in the directory containing the current file,
# and then in each of the directories specified in the RDOC_INCLUDE path
#
- # source://rdoc//rdoc/markup/pre_process.rb#288
+ # source://rdoc//lib/rdoc/markup/pre_process.rb#288
def find_include_file(name); end
# Look for directives in the given +text+.
@@ -5711,7 +5799,7 @@ class RDoc::Markup::PreProcess
# directive's parameter is set as metadata on the +code_object+. See
# RDoc::CodeObject#metadata for details.
#
- # source://rdoc//rdoc/markup/pre_process.rb#99
+ # source://rdoc//lib/rdoc/markup/pre_process.rb#99
def handle(text, code_object = T.unsafe(nil), &block); end
# Performs the actions described by +directive+ and its parameter +param+.
@@ -5724,7 +5812,7 @@ class RDoc::Markup::PreProcess
# --
# When 1.8.7 support is ditched prefix can be defaulted to ''
#
- # source://rdoc//rdoc/markup/pre_process.rb#150
+ # source://rdoc//lib/rdoc/markup/pre_process.rb#150
def handle_directive(prefix, directive, param, code_object = T.unsafe(nil), encoding = T.unsafe(nil)); end
# Handles the :include: _filename_ directive.
@@ -5741,19 +5829,19 @@ class RDoc::Markup::PreProcess
# TODO shift left the whole file content in that case
# TODO comment stop/start #-- and #++ in included file must be processed here
#
- # source://rdoc//rdoc/markup/pre_process.rb#262
+ # source://rdoc//lib/rdoc/markup/pre_process.rb#262
def include_file(name, indent, encoding); end
# An RDoc::Options instance that will be filled in with overrides from
# directives
#
- # source://rdoc//rdoc/markup/pre_process.rb#23
+ # source://rdoc//lib/rdoc/markup/pre_process.rb#23
def options; end
# An RDoc::Options instance that will be filled in with overrides from
# directives
#
- # source://rdoc//rdoc/markup/pre_process.rb#23
+ # source://rdoc//lib/rdoc/markup/pre_process.rb#23
def options=(_arg0); end
class << self
@@ -5761,12 +5849,12 @@ class RDoc::Markup::PreProcess
# with the result RDoc::Comment (or text String) and the code object for the
# comment (if any).
#
- # source://rdoc//rdoc/markup/pre_process.rb#30
+ # source://rdoc//lib/rdoc/markup/pre_process.rb#30
def post_process(&block); end
# Registered post-processors
#
- # source://rdoc//rdoc/markup/pre_process.rb#37
+ # source://rdoc//lib/rdoc/markup/pre_process.rb#37
def post_processors; end
# Registers +directive+ as one handled by RDoc. If a block is given the
@@ -5780,192 +5868,202 @@ class RDoc::Markup::PreProcess
# # replace text, etc.
# end
#
- # source://rdoc//rdoc/markup/pre_process.rb#53
+ # source://rdoc//lib/rdoc/markup/pre_process.rb#53
def register(directive, &block); end
# Registered directives
#
- # source://rdoc//rdoc/markup/pre_process.rb#60
+ # source://rdoc//lib/rdoc/markup/pre_process.rb#60
def registered; end
# Clears all registered directives and post-processors
#
- # source://rdoc//rdoc/markup/pre_process.rb#67
+ # source://rdoc//lib/rdoc/markup/pre_process.rb#67
def reset; end
end
end
# A section of text that is added to the output document as-is
+#
+# source://rdoc//lib/rdoc/markup/raw.rb#5
class RDoc::Markup::Raw
# Creates a new Raw containing +parts+
#
# @return [Raw] a new instance of Raw
#
- # source://rdoc//rdoc/markup/raw.rb#15
+ # source://rdoc//lib/rdoc/markup/raw.rb#15
def initialize(*parts); end
# Appends +text+
#
- # source://rdoc//rdoc/markup/raw.rb#23
+ # source://rdoc//lib/rdoc/markup/raw.rb#23
def <<(text); end
- # source://rdoc//rdoc/markup/raw.rb#27
+ # source://rdoc//lib/rdoc/markup/raw.rb#27
def ==(other); end
# Calls #accept_raw+ on +visitor+
#
- # source://rdoc//rdoc/markup/raw.rb#34
+ # source://rdoc//lib/rdoc/markup/raw.rb#34
def accept(visitor); end
# Appends +other+'s parts
#
- # source://rdoc//rdoc/markup/raw.rb#41
+ # source://rdoc//lib/rdoc/markup/raw.rb#41
def merge(other); end
# The component parts of the list
#
- # source://rdoc//rdoc/markup/raw.rb#10
+ # source://rdoc//lib/rdoc/markup/raw.rb#10
def parts; end
- # source://rdoc//rdoc/markup/raw.rb#45
+ # source://rdoc//lib/rdoc/markup/raw.rb#45
def pretty_print(q); end
# Appends +texts+ onto this Paragraph
#
- # source://rdoc//rdoc/markup/raw.rb#58
+ # source://rdoc//lib/rdoc/markup/raw.rb#58
def push(*texts); end
# The raw text
#
- # source://rdoc//rdoc/markup/raw.rb#65
+ # source://rdoc//lib/rdoc/markup/raw.rb#65
def text; end
end
# Hold details of a regexp handling sequence
+#
+# source://rdoc//lib/rdoc/markup/regexp_handling.rb#5
class RDoc::Markup::RegexpHandling
# Creates a new regexp handling sequence of +type+ with +text+
#
# @return [RegexpHandling] a new instance of RegexpHandling
#
- # source://rdoc//rdoc/markup/regexp_handling.rb#20
+ # source://rdoc//lib/rdoc/markup/regexp_handling.rb#20
def initialize(type, text); end
# Regexp handlings are equal when the have the same text and type
#
- # source://rdoc//rdoc/markup/regexp_handling.rb#27
+ # source://rdoc//lib/rdoc/markup/regexp_handling.rb#27
def ==(o); end
- # source://rdoc//rdoc/markup/regexp_handling.rb#31
+ # source://rdoc//lib/rdoc/markup/regexp_handling.rb#31
def inspect; end
# Regexp handling text
#
- # source://rdoc//rdoc/markup/regexp_handling.rb#15
+ # source://rdoc//lib/rdoc/markup/regexp_handling.rb#15
def text; end
# Regexp handling text
#
- # source://rdoc//rdoc/markup/regexp_handling.rb#15
+ # source://rdoc//lib/rdoc/markup/regexp_handling.rb#15
def text=(_arg0); end
- # source://rdoc//rdoc/markup/regexp_handling.rb#36
+ # source://rdoc//lib/rdoc/markup/regexp_handling.rb#36
def to_s; end
# Regexp handling type
#
- # source://rdoc//rdoc/markup/regexp_handling.rb#10
+ # source://rdoc//lib/rdoc/markup/regexp_handling.rb#10
def type; end
end
# A horizontal rule with a weight
+#
+# source://rdoc//lib/rdoc/markup/rule.rb#5
class RDoc::Markup::Rule < ::Struct
# Calls #accept_rule on +visitor+
#
- # source://rdoc//rdoc/markup/rule.rb#10
+ # source://rdoc//lib/rdoc/markup/rule.rb#10
def accept(visitor); end
- # source://rdoc//rdoc/markup/rule.rb#14
+ # source://rdoc//lib/rdoc/markup/rule.rb#14
def pretty_print(q); end
end
# A section of table
+#
+# source://rdoc//lib/rdoc/markup/table.rb#5
class RDoc::Markup::Table
# Creates new instance
#
# @return [Table] a new instance of Table
#
- # source://rdoc//rdoc/markup/table.rb#16
+ # source://rdoc//lib/rdoc/markup/table.rb#16
def initialize(header, align, body); end
# :stopdoc:
#
- # source://rdoc//rdoc/markup/table.rb#21
+ # source://rdoc//lib/rdoc/markup/table.rb#21
def ==(other); end
- # source://rdoc//rdoc/markup/table.rb#28
+ # source://rdoc//lib/rdoc/markup/table.rb#28
def accept(visitor); end
# alignments of each column
#
- # source://rdoc//rdoc/markup/table.rb#10
+ # source://rdoc//lib/rdoc/markup/table.rb#10
def align; end
# alignments of each column
#
- # source://rdoc//rdoc/markup/table.rb#10
+ # source://rdoc//lib/rdoc/markup/table.rb#10
def align=(_arg0); end
# body texts of each column
#
- # source://rdoc//rdoc/markup/table.rb#13
+ # source://rdoc//lib/rdoc/markup/table.rb#13
def body; end
# body texts of each column
#
- # source://rdoc//rdoc/markup/table.rb#13
+ # source://rdoc//lib/rdoc/markup/table.rb#13
def body=(_arg0); end
# headers of each column
#
- # source://rdoc//rdoc/markup/table.rb#7
+ # source://rdoc//lib/rdoc/markup/table.rb#7
def header; end
# headers of each column
#
- # source://rdoc//rdoc/markup/table.rb#7
+ # source://rdoc//lib/rdoc/markup/table.rb#7
def header=(_arg0); end
- # source://rdoc//rdoc/markup/table.rb#32
+ # source://rdoc//lib/rdoc/markup/table.rb#32
def pretty_print(q); end
end
# Outputs RDoc markup with vibrant ANSI color!
+#
+# source://rdoc//lib/rdoc/markup/to_ansi.rb#5
class RDoc::Markup::ToAnsi < ::RDoc::Markup::ToRdoc
# Creates a new ToAnsi visitor that is ready to output vibrant ANSI color!
#
# @return [ToAnsi] a new instance of ToAnsi
#
- # source://rdoc//rdoc/markup/to_ansi.rb#10
+ # source://rdoc//lib/rdoc/markup/to_ansi.rb#10
def initialize(markup = T.unsafe(nil)); end
# Overrides indent width to ensure output lines up correctly.
#
- # source://rdoc//rdoc/markup/to_ansi.rb#31
+ # source://rdoc//lib/rdoc/markup/to_ansi.rb#31
def accept_list_item_end(list_item); end
# Adds coloring to note and label list items
#
- # source://rdoc//rdoc/markup/to_ansi.rb#55
+ # source://rdoc//lib/rdoc/markup/to_ansi.rb#55
def accept_list_item_start(list_item); end
# Maps attributes to ANSI sequences
#
- # source://rdoc//rdoc/markup/to_ansi.rb#22
+ # source://rdoc//lib/rdoc/markup/to_ansi.rb#22
def init_tags; end
# Starts accepting with a reset screen
#
- # source://rdoc//rdoc/markup/to_ansi.rb#87
+ # source://rdoc//lib/rdoc/markup/to_ansi.rb#87
def start_accepting; end
end
@@ -5973,42 +6071,46 @@ end
# pager to use this output format.
#
# This formatter won't work on 1.8.6 because it lacks String#chars.
+#
+# source://rdoc//lib/rdoc/markup/to_bs.rb#8
class RDoc::Markup::ToBs < ::RDoc::Markup::ToRdoc
# Returns a new ToBs that is ready for hot backspace action!
#
# @return [ToBs] a new instance of ToBs
#
- # source://rdoc//rdoc/markup/to_bs.rb#13
+ # source://rdoc//lib/rdoc/markup/to_bs.rb#13
def initialize(markup = T.unsafe(nil)); end
# Makes heading text bold.
#
- # source://rdoc//rdoc/markup/to_bs.rb#33
+ # source://rdoc//lib/rdoc/markup/to_bs.rb#33
def accept_heading(heading); end
# Turns on or off regexp handling for +convert_string+
#
- # source://rdoc//rdoc/markup/to_bs.rb#46
+ # source://rdoc//lib/rdoc/markup/to_bs.rb#46
def annotate(tag); end
# Calls convert_string on the result of convert_regexp_handling
#
- # source://rdoc//rdoc/markup/to_bs.rb#59
+ # source://rdoc//lib/rdoc/markup/to_bs.rb#59
def convert_regexp_handling(target); end
# Adds bold or underline mixed with backspaces
#
- # source://rdoc//rdoc/markup/to_bs.rb#66
+ # source://rdoc//lib/rdoc/markup/to_bs.rb#66
def convert_string(string); end
# Sets a flag that is picked up by #annotate to do the right thing in
# #convert_string
#
- # source://rdoc//rdoc/markup/to_bs.rb#24
+ # source://rdoc//lib/rdoc/markup/to_bs.rb#24
def init_tags; end
end
# Outputs RDoc markup as HTML.
+#
+# source://rdoc//lib/rdoc/markup/to_html.rb#7
class RDoc::Markup::ToHtml < ::RDoc::Markup::Formatter
include ::RDoc::Text
@@ -6016,114 +6118,114 @@ class RDoc::Markup::ToHtml < ::RDoc::Markup::Formatter
#
# @return [ToHtml] a new instance of ToHtml
#
- # source://rdoc//rdoc/markup/to_html.rb#45
+ # source://rdoc//lib/rdoc/markup/to_html.rb#45
def initialize(options, markup = T.unsafe(nil)); end
# Adds +blank_line+ to the output
#
- # source://rdoc//rdoc/markup/to_html.rb#291
+ # source://rdoc//lib/rdoc/markup/to_html.rb#291
def accept_blank_line(blank_line); end
# Adds +block_quote+ to the output
#
- # source://rdoc//rdoc/markup/to_html.rb#190
+ # source://rdoc//lib/rdoc/markup/to_html.rb#190
def accept_block_quote(block_quote); end
# Adds +heading+ to the output. The headings greater than 6 are trimmed to
# level 6.
#
- # source://rdoc//rdoc/markup/to_html.rb#299
+ # source://rdoc//lib/rdoc/markup/to_html.rb#299
def accept_heading(heading); end
# Finishes consumption of +list+
#
- # source://rdoc//rdoc/markup/to_html.rb#262
+ # source://rdoc//lib/rdoc/markup/to_html.rb#262
def accept_list_end(list); end
# Finishes consumption of +list_item+
#
- # source://rdoc//rdoc/markup/to_html.rb#284
+ # source://rdoc//lib/rdoc/markup/to_html.rb#284
def accept_list_item_end(list_item); end
# Prepares the visitor for consuming +list_item+
#
- # source://rdoc//rdoc/markup/to_html.rb#273
+ # source://rdoc//lib/rdoc/markup/to_html.rb#273
def accept_list_item_start(list_item); end
# Prepares the visitor for consuming +list+
#
- # source://rdoc//rdoc/markup/to_html.rb#253
+ # source://rdoc//lib/rdoc/markup/to_html.rb#253
def accept_list_start(list); end
# Adds +paragraph+ to the output
#
- # source://rdoc//rdoc/markup/to_html.rb#203
+ # source://rdoc//lib/rdoc/markup/to_html.rb#203
def accept_paragraph(paragraph); end
# Adds +raw+ to the output
#
- # source://rdoc//rdoc/markup/to_html.rb#320
+ # source://rdoc//lib/rdoc/markup/to_html.rb#320
def accept_raw(raw); end
# Adds +rule+ to the output
#
- # source://rdoc//rdoc/markup/to_html.rb#246
+ # source://rdoc//lib/rdoc/markup/to_html.rb#246
def accept_rule(rule); end
# Adds +table+ to the output
#
- # source://rdoc//rdoc/markup/to_html.rb#327
+ # source://rdoc//lib/rdoc/markup/to_html.rb#327
def accept_table(header, body, aligns); end
# Adds +verbatim+ to the output
#
- # source://rdoc//rdoc/markup/to_html.rb#216
+ # source://rdoc//lib/rdoc/markup/to_html.rb#216
def accept_verbatim(verbatim); end
# The RDoc::CodeObject HTML is being generated for. This is used to
# generate namespaced URI fragments
#
- # source://rdoc//rdoc/markup/to_html.rb#33
+ # source://rdoc//lib/rdoc/markup/to_html.rb#33
def code_object; end
# The RDoc::CodeObject HTML is being generated for. This is used to
# generate namespaced URI fragments
#
- # source://rdoc//rdoc/markup/to_html.rb#33
+ # source://rdoc//lib/rdoc/markup/to_html.rb#33
def code_object=(_arg0); end
# CGI-escapes +text+
#
- # source://rdoc//rdoc/markup/to_html.rb#352
+ # source://rdoc//lib/rdoc/markup/to_html.rb#352
def convert_string(text); end
# Returns the generated output
#
- # source://rdoc//rdoc/markup/to_html.rb#183
+ # source://rdoc//lib/rdoc/markup/to_html.rb#183
def end_accepting; end
# Path to this document for relative links
#
- # source://rdoc//rdoc/markup/to_html.rb#38
+ # source://rdoc//lib/rdoc/markup/to_html.rb#38
def from_path; end
# Path to this document for relative links
#
- # source://rdoc//rdoc/markup/to_html.rb#38
+ # source://rdoc//lib/rdoc/markup/to_html.rb#38
def from_path=(_arg0); end
# Generate a link to +url+ with content +text+. Handles the special cases
# for img: and link: described under handle_regexp_HYPERLINK
#
- # source://rdoc//rdoc/markup/to_html.rb#360
+ # source://rdoc//lib/rdoc/markup/to_html.rb#360
def gen_url(url, text); end
- # source://rdoc//rdoc/markup/to_html.rb#85
+ # source://rdoc//lib/rdoc/markup/to_html.rb#85
def handle_RDOCLINK(url); end
# +target+ is a
#
- # source://rdoc//rdoc/markup/to_html.rb#110
+ # source://rdoc//lib/rdoc/markup/to_html.rb#110
def handle_regexp_HARD_BREAK(target); end
# +target+ is a potential link. The following schemes are handled:
@@ -6137,7 +6239,7 @@ class RDoc::Markup::ToHtml < ::RDoc::Markup::Formatter
# link:::
# Reference to a local file relative to the output directory.
#
- # source://rdoc//rdoc/markup/to_html.rb#126
+ # source://rdoc//lib/rdoc/markup/to_html.rb#126
def handle_regexp_HYPERLINK(target); end
# +target+ is an rdoc-schemed link that will be converted into a hyperlink.
@@ -6148,81 +6250,83 @@ class RDoc::Markup::ToHtml < ::RDoc::Markup::Formatter
# For the +rdoc-label+ scheme the footnote and label prefixes are stripped
# when creating a link. All other contents will be linked verbatim.
#
- # source://rdoc//rdoc/markup/to_html.rb#141
+ # source://rdoc//lib/rdoc/markup/to_html.rb#141
def handle_regexp_RDOCLINK(target); end
# This +target+ is a link where the label is different from the URL
# label[url] or {long label}[url]
#
- # source://rdoc//rdoc/markup/to_html.rb#149
+ # source://rdoc//lib/rdoc/markup/to_html.rb#149
def handle_regexp_TIDYLINK(target); end
# Determines the HTML list element for +list_type+ and +open_tag+
#
# @raise [RDoc::Error]
#
- # source://rdoc//rdoc/markup/to_html.rb#385
+ # source://rdoc//lib/rdoc/markup/to_html.rb#385
def html_list_name(list_type, open_tag); end
- # source://rdoc//rdoc/markup/to_html.rb#26
+ # source://rdoc//lib/rdoc/markup/to_html.rb#26
def in_list_entry; end
# Adds regexp handlings about link notations.
#
- # source://rdoc//rdoc/markup/to_html.rb#80
+ # source://rdoc//lib/rdoc/markup/to_html.rb#80
def init_link_notation_regexp_handlings; end
# Adds regexp handlings.
#
- # source://rdoc//rdoc/markup/to_html.rb#70
+ # source://rdoc//lib/rdoc/markup/to_html.rb#70
def init_regexp_handlings; end
# Maps attributes to HTML tags
#
- # source://rdoc//rdoc/markup/to_html.rb#394
+ # source://rdoc//lib/rdoc/markup/to_html.rb#394
def init_tags; end
- # source://rdoc//rdoc/markup/to_html.rb#27
+ # source://rdoc//lib/rdoc/markup/to_html.rb#27
def list; end
# Returns the HTML end-tag for +list_type+
#
- # source://rdoc//rdoc/markup/to_html.rb#420
+ # source://rdoc//lib/rdoc/markup/to_html.rb#420
def list_end_for(list_type); end
# Returns the HTML tag for +list_type+, possible using a label from
# +list_item+
#
- # source://rdoc//rdoc/markup/to_html.rb#404
+ # source://rdoc//lib/rdoc/markup/to_html.rb#404
def list_item_start(list_item, list_type); end
# Returns true if text is valid ruby syntax
#
# @return [Boolean]
#
- # source://rdoc//rdoc/markup/to_html.rb#434
+ # source://rdoc//lib/rdoc/markup/to_html.rb#434
def parseable?(text); end
- # source://rdoc//rdoc/markup/to_html.rb#25
+ # source://rdoc//lib/rdoc/markup/to_html.rb#25
def res; end
# Prepares the visitor for HTML generation
#
- # source://rdoc//rdoc/markup/to_html.rb#174
+ # source://rdoc//lib/rdoc/markup/to_html.rb#174
def start_accepting; end
# Converts +item+ to HTML using RDoc::Text#to_html
#
- # source://rdoc//rdoc/markup/to_html.rb#448
+ # source://rdoc//lib/rdoc/markup/to_html.rb#448
def to_html(item); end
end
-# source://rdoc//rdoc/markup/to_html.rb#65
+# source://rdoc//lib/rdoc/markup/to_html.rb#65
RDoc::Markup::ToHtml::URL_CHARACTERS_REGEXP_STR = T.let(T.unsafe(nil), String)
# Subclass of the RDoc::Markup::ToHtml class that supports looking up method
# names, classes, etc to create links. RDoc::CrossReference is used to
# generate those links based on the current context.
+#
+# source://rdoc//lib/rdoc/markup/to_html_crossref.rb#7
class RDoc::Markup::ToHtmlCrossref < ::RDoc::Markup::ToHtml
# Creates a new crossref resolver that generates links relative to +context+
# which lives at +from_path+ in the generated files. '#' characters on
@@ -6232,29 +6336,29 @@ class RDoc::Markup::ToHtmlCrossref < ::RDoc::Markup::ToHtml
# @raise [ArgumentError]
# @return [ToHtmlCrossref] a new instance of ToHtmlCrossref
#
- # source://rdoc//rdoc/markup/to_html_crossref.rb#32
+ # source://rdoc//lib/rdoc/markup/to_html_crossref.rb#32
def initialize(options, from_path, context, markup = T.unsafe(nil)); end
# RDoc::CodeObject for generating references
#
- # source://rdoc//rdoc/markup/to_html_crossref.rb#19
+ # source://rdoc//lib/rdoc/markup/to_html_crossref.rb#19
def context; end
# RDoc::CodeObject for generating references
#
- # source://rdoc//rdoc/markup/to_html_crossref.rb#19
+ # source://rdoc//lib/rdoc/markup/to_html_crossref.rb#19
def context=(_arg0); end
# Creates a link to the reference +name+ if the name exists. If +text+ is
# given it is used as the link text, otherwise +name+ is used.
#
- # source://rdoc//rdoc/markup/to_html_crossref.rb#61
+ # source://rdoc//lib/rdoc/markup/to_html_crossref.rb#61
def cross_reference(name, text = T.unsafe(nil), code = T.unsafe(nil)); end
# Generates links for rdoc-ref: scheme URLs and allows
# RDoc::Markup::ToHtml to handle other schemes.
#
- # source://rdoc//rdoc/markup/to_html_crossref.rb#131
+ # source://rdoc//lib/rdoc/markup/to_html_crossref.rb#131
def gen_url(url, text); end
# We're invoked when any text matches the CROSSREF pattern. If we find the
@@ -6263,13 +6367,13 @@ class RDoc::Markup::ToHtmlCrossref < ::RDoc::Markup::ToHtml
# example, ToHtml is found, even without the RDoc::Markup:: prefix,
# because we look for it in module Markup first.
#
- # source://rdoc//rdoc/markup/to_html_crossref.rb#83
+ # source://rdoc//lib/rdoc/markup/to_html_crossref.rb#83
def handle_regexp_CROSSREF(target); end
# Handles rdoc-ref: scheme links and allows RDoc::Markup::ToHtml to
# handle other schemes.
#
- # source://rdoc//rdoc/markup/to_html_crossref.rb#102
+ # source://rdoc//lib/rdoc/markup/to_html_crossref.rb#102
def handle_regexp_HYPERLINK(target); end
# +target+ is an rdoc-schemed link that will be converted into a hyperlink.
@@ -6279,29 +6383,31 @@ class RDoc::Markup::ToHtmlCrossref < ::RDoc::Markup::ToHtml
# All other contents are handled by
# {the superclass}[rdoc-ref:RDoc::Markup::ToHtml#handle_regexp_RDOCLINK]
#
- # source://rdoc//rdoc/markup/to_html_crossref.rb#116
+ # source://rdoc//lib/rdoc/markup/to_html_crossref.rb#116
def handle_regexp_RDOCLINK(target); end
- # source://rdoc//rdoc/markup/to_html_crossref.rb#46
+ # source://rdoc//lib/rdoc/markup/to_html_crossref.rb#46
def init_link_notation_regexp_handlings; end
# Creates an HTML link to +name+ with the given +text+.
#
- # source://rdoc//rdoc/markup/to_html_crossref.rb#141
+ # source://rdoc//lib/rdoc/markup/to_html_crossref.rb#141
def link(name, text, code = T.unsafe(nil)); end
# Should we show '#' characters on method references?
#
- # source://rdoc//rdoc/markup/to_html_crossref.rb#24
+ # source://rdoc//lib/rdoc/markup/to_html_crossref.rb#24
def show_hash; end
# Should we show '#' characters on method references?
#
- # source://rdoc//rdoc/markup/to_html_crossref.rb#24
+ # source://rdoc//lib/rdoc/markup/to_html_crossref.rb#24
def show_hash=(_arg0); end
end
# Outputs RDoc markup as paragraphs with inline markup only.
+#
+# source://rdoc//lib/rdoc/markup/to_html_snippet.rb#5
class RDoc::Markup::ToHtmlSnippet < ::RDoc::Markup::ToHtml
# Creates a new ToHtmlSnippet formatter that will cut off the input on the
# next word boundary after the given number of +characters+ or +paragraphs+
@@ -6309,135 +6415,135 @@ class RDoc::Markup::ToHtmlSnippet < ::RDoc::Markup::ToHtml
#
# @return [ToHtmlSnippet] a new instance of ToHtmlSnippet
#
- # source://rdoc//rdoc/markup/to_html_snippet.rb#37
+ # source://rdoc//lib/rdoc/markup/to_html_snippet.rb#37
def initialize(options, characters = T.unsafe(nil), paragraphs = T.unsafe(nil), markup = T.unsafe(nil)); end
# Adds +heading+ to the output as a paragraph
#
- # source://rdoc//rdoc/markup/to_html_snippet.rb#53
+ # source://rdoc//lib/rdoc/markup/to_html_snippet.rb#53
def accept_heading(heading); end
# Finishes consumption of +list_item+
#
- # source://rdoc//rdoc/markup/to_html_snippet.rb#85
+ # source://rdoc//lib/rdoc/markup/to_html_snippet.rb#85
def accept_list_item_end(list_item); end
# Prepares the visitor for consuming +list_item+
#
- # source://rdoc//rdoc/markup/to_html_snippet.rb#91
+ # source://rdoc//lib/rdoc/markup/to_html_snippet.rb#91
def accept_list_item_start(list_item); end
# Prepares the visitor for consuming +list+
#
- # source://rdoc//rdoc/markup/to_html_snippet.rb#98
+ # source://rdoc//lib/rdoc/markup/to_html_snippet.rb#98
def accept_list_start(list); end
# Adds +paragraph+ to the output
#
- # source://rdoc//rdoc/markup/to_html_snippet.rb#72
+ # source://rdoc//lib/rdoc/markup/to_html_snippet.rb#72
def accept_paragraph(paragraph); end
# Raw sections are untrusted and ignored
#
- # source://rdoc//rdoc/markup/formatter.rb#188
+ # source://rdoc//lib/rdoc/markup/formatter.rb#188
def accept_raw(*node); end
# Rules are ignored
#
- # source://rdoc//rdoc/markup/formatter.rb#188
+ # source://rdoc//lib/rdoc/markup/formatter.rb#188
def accept_rule(*node); end
# Adds +verbatim+ to the output
#
- # source://rdoc//rdoc/markup/to_html_snippet.rb#107
+ # source://rdoc//lib/rdoc/markup/to_html_snippet.rb#107
def accept_verbatim(verbatim); end
# Throws +:done+ when paragraph_limit paragraphs have been encountered
#
- # source://rdoc//rdoc/markup/to_html_snippet.rb#198
+ # source://rdoc//lib/rdoc/markup/to_html_snippet.rb#198
def add_paragraph; end
# After this many characters the input will be cut off.
#
- # source://rdoc//rdoc/markup/to_html_snippet.rb#10
+ # source://rdoc//lib/rdoc/markup/to_html_snippet.rb#10
def character_limit; end
# The number of characters seen so far.
#
- # source://rdoc//rdoc/markup/to_html_snippet.rb#15
+ # source://rdoc//lib/rdoc/markup/to_html_snippet.rb#15
def characters; end
# Marks up +content+
#
- # source://rdoc//rdoc/markup/to_html_snippet.rb#207
+ # source://rdoc//lib/rdoc/markup/to_html_snippet.rb#207
def convert(content); end
# Converts flow items +flow+
#
- # source://rdoc//rdoc/markup/to_html_snippet.rb#218
+ # source://rdoc//lib/rdoc/markup/to_html_snippet.rb#218
def convert_flow(flow); end
# Returns just the text of +link+, +url+ is only used to determine the link
# type.
#
- # source://rdoc//rdoc/markup/to_html_snippet.rb#171
+ # source://rdoc//lib/rdoc/markup/to_html_snippet.rb#171
def gen_url(url, text); end
# Removes escaping from the cross-references in +target+
#
- # source://rdoc//rdoc/markup/to_html_snippet.rb#131
+ # source://rdoc//lib/rdoc/markup/to_html_snippet.rb#131
def handle_regexp_CROSSREF(target); end
# +target+ is a
#
- # source://rdoc//rdoc/markup/to_html_snippet.rb#138
+ # source://rdoc//lib/rdoc/markup/to_html_snippet.rb#138
def handle_regexp_HARD_BREAK(target); end
# In snippets, there are no lists
#
- # source://rdoc//rdoc/markup/to_html_snippet.rb#191
+ # source://rdoc//lib/rdoc/markup/to_html_snippet.rb#191
def html_list_name(list_type, open_tag); end
# Lists are paragraphs, but notes and labels have a separator
#
- # source://rdoc//rdoc/markup/to_html_snippet.rb#146
+ # source://rdoc//lib/rdoc/markup/to_html_snippet.rb#146
def list_item_start(list_item, list_type); end
# The attribute bitmask
#
- # source://rdoc//rdoc/markup/to_html_snippet.rb#20
+ # source://rdoc//lib/rdoc/markup/to_html_snippet.rb#20
def mask; end
# Maintains a bitmask to allow HTML elements to be closed properly. See
# RDoc::Markup::Formatter.
#
- # source://rdoc//rdoc/markup/to_html_snippet.rb#264
+ # source://rdoc//lib/rdoc/markup/to_html_snippet.rb#264
def off_tags(res, item); end
# Maintains a bitmask to allow HTML elements to be closed properly. See
# RDoc::Markup::Formatter.
#
- # source://rdoc//rdoc/markup/to_html_snippet.rb#254
+ # source://rdoc//lib/rdoc/markup/to_html_snippet.rb#254
def on_tags(res, item); end
# After this many paragraphs the input will be cut off.
#
- # source://rdoc//rdoc/markup/to_html_snippet.rb#25
+ # source://rdoc//lib/rdoc/markup/to_html_snippet.rb#25
def paragraph_limit; end
# Count of paragraphs found
#
- # source://rdoc//rdoc/markup/to_html_snippet.rb#30
+ # source://rdoc//lib/rdoc/markup/to_html_snippet.rb#30
def paragraphs; end
# Prepares the visitor for HTML snippet generation
#
- # source://rdoc//rdoc/markup/to_html_snippet.rb#122
+ # source://rdoc//lib/rdoc/markup/to_html_snippet.rb#122
def start_accepting; end
# Truncates +text+ at the end of the first word after the character_limit.
#
- # source://rdoc//rdoc/markup/to_html_snippet.rb#273
+ # source://rdoc//lib/rdoc/markup/to_html_snippet.rb#273
def truncate(text); end
end
@@ -6447,645 +6553,663 @@ end
#
# This formatter only works on Paragraph instances. Attempting to process
# other markup syntax items will not work.
+#
+# source://rdoc//lib/rdoc/markup/to_joined_paragraph.rb#10
class RDoc::Markup::ToJoinedParagraph < ::RDoc::Markup::Formatter
# @return [ToJoinedParagraph] a new instance of ToJoinedParagraph
#
- # source://rdoc//rdoc/markup/to_joined_paragraph.rb#12
+ # source://rdoc//lib/rdoc/markup/to_joined_paragraph.rb#12
def initialize; end
- # source://rdoc//rdoc/markup/formatter.rb#188
+ # source://rdoc//lib/rdoc/markup/formatter.rb#188
def accept_block_quote(*node); end
- # source://rdoc//rdoc/markup/formatter.rb#188
+ # source://rdoc//lib/rdoc/markup/formatter.rb#188
def accept_heading(*node); end
- # source://rdoc//rdoc/markup/formatter.rb#188
+ # source://rdoc//lib/rdoc/markup/formatter.rb#188
def accept_list_end(*node); end
- # source://rdoc//rdoc/markup/formatter.rb#188
+ # source://rdoc//lib/rdoc/markup/formatter.rb#188
def accept_list_item_end(*node); end
- # source://rdoc//rdoc/markup/formatter.rb#188
+ # source://rdoc//lib/rdoc/markup/formatter.rb#188
def accept_list_item_start(*node); end
- # source://rdoc//rdoc/markup/formatter.rb#188
+ # source://rdoc//lib/rdoc/markup/formatter.rb#188
def accept_list_start(*node); end
# Converts the parts of +paragraph+ to a single entry.
#
- # source://rdoc//rdoc/markup/to_joined_paragraph.rb#25
+ # source://rdoc//lib/rdoc/markup/to_joined_paragraph.rb#25
def accept_paragraph(paragraph); end
- # source://rdoc//rdoc/markup/formatter.rb#188
+ # source://rdoc//lib/rdoc/markup/formatter.rb#188
def accept_raw(*node); end
- # source://rdoc//rdoc/markup/formatter.rb#188
+ # source://rdoc//lib/rdoc/markup/formatter.rb#188
def accept_rule(*node); end
- # source://rdoc//rdoc/markup/formatter.rb#188
+ # source://rdoc//lib/rdoc/markup/formatter.rb#188
def accept_table(*node); end
- # source://rdoc//rdoc/markup/formatter.rb#188
+ # source://rdoc//lib/rdoc/markup/formatter.rb#188
def accept_verbatim(*node); end
- # source://rdoc//rdoc/markup/to_joined_paragraph.rb#19
+ # source://rdoc//lib/rdoc/markup/to_joined_paragraph.rb#19
def end_accepting; end
- # source://rdoc//rdoc/markup/to_joined_paragraph.rb#16
+ # source://rdoc//lib/rdoc/markup/to_joined_paragraph.rb#16
def start_accepting; end
end
# Creates HTML-safe labels suitable for use in id attributes. Tidylinks are
# converted to their link part and cross-reference links have the suppression
# marks removed (\\SomeClass is converted to SomeClass).
+#
+# source://rdoc//lib/rdoc/markup/to_label.rb#9
class RDoc::Markup::ToLabel < ::RDoc::Markup::Formatter
# Creates a new formatter that will output HTML-safe labels
#
# @return [ToLabel] a new instance of ToLabel
#
- # source://rdoc//rdoc/markup/to_label.rb#16
+ # source://rdoc//lib/rdoc/markup/to_label.rb#16
def initialize(markup = T.unsafe(nil)); end
- # source://rdoc//rdoc/markup/formatter.rb#188
+ # source://rdoc//lib/rdoc/markup/formatter.rb#188
def accept_blank_line(*node); end
- # source://rdoc//rdoc/markup/formatter.rb#188
+ # source://rdoc//lib/rdoc/markup/formatter.rb#188
def accept_block_quote(*node); end
- # source://rdoc//rdoc/markup/formatter.rb#188
+ # source://rdoc//lib/rdoc/markup/formatter.rb#188
def accept_heading(*node); end
- # source://rdoc//rdoc/markup/formatter.rb#188
+ # source://rdoc//lib/rdoc/markup/formatter.rb#188
def accept_list_end(*node); end
- # source://rdoc//rdoc/markup/formatter.rb#188
+ # source://rdoc//lib/rdoc/markup/formatter.rb#188
def accept_list_item_end(*node); end
- # source://rdoc//rdoc/markup/formatter.rb#188
+ # source://rdoc//lib/rdoc/markup/formatter.rb#188
def accept_list_item_start(*node); end
- # source://rdoc//rdoc/markup/formatter.rb#188
+ # source://rdoc//lib/rdoc/markup/formatter.rb#188
def accept_list_start(*node); end
- # source://rdoc//rdoc/markup/formatter.rb#188
+ # source://rdoc//lib/rdoc/markup/formatter.rb#188
def accept_paragraph(*node); end
- # source://rdoc//rdoc/markup/formatter.rb#188
+ # source://rdoc//lib/rdoc/markup/formatter.rb#188
def accept_raw(*node); end
- # source://rdoc//rdoc/markup/formatter.rb#188
+ # source://rdoc//lib/rdoc/markup/formatter.rb#188
def accept_rule(*node); end
- # source://rdoc//rdoc/markup/formatter.rb#188
+ # source://rdoc//lib/rdoc/markup/formatter.rb#188
def accept_verbatim(*node); end
# Converts +text+ to an HTML-safe label
#
- # source://rdoc//rdoc/markup/to_label.rb#32
+ # source://rdoc//lib/rdoc/markup/to_label.rb#32
def convert(text); end
- # source://rdoc//rdoc/markup/formatter.rb#188
+ # source://rdoc//lib/rdoc/markup/formatter.rb#188
def end_accepting(*node); end
# Converts the CROSSREF +target+ to plain text, removing the suppression
# marker, if any
#
- # source://rdoc//rdoc/markup/to_label.rb#42
+ # source://rdoc//lib/rdoc/markup/to_label.rb#42
def handle_regexp_CROSSREF(target); end
- # source://rdoc//rdoc/markup/formatter.rb#188
+ # source://rdoc//lib/rdoc/markup/formatter.rb#188
def handle_regexp_HARD_BREAK(*node); end
# Converts the TIDYLINK +target+ to just the text part
#
- # source://rdoc//rdoc/markup/to_label.rb#51
+ # source://rdoc//lib/rdoc/markup/to_label.rb#51
def handle_regexp_TIDYLINK(target); end
- # source://rdoc//rdoc/markup/to_label.rb#11
+ # source://rdoc//lib/rdoc/markup/to_label.rb#11
def res; end
- # source://rdoc//rdoc/markup/formatter.rb#188
+ # source://rdoc//lib/rdoc/markup/formatter.rb#188
def start_accepting(*node); end
end
# Outputs parsed markup as Markdown
+#
+# source://rdoc//lib/rdoc/markup/to_markdown.rb#7
class RDoc::Markup::ToMarkdown < ::RDoc::Markup::ToRdoc
# Creates a new formatter that will output Markdown format text
#
# @return [ToMarkdown] a new instance of ToMarkdown
#
- # source://rdoc//rdoc/markup/to_markdown.rb#12
+ # source://rdoc//lib/rdoc/markup/to_markdown.rb#12
def initialize(markup = T.unsafe(nil)); end
# Finishes consumption of `list`
#
- # source://rdoc//rdoc/markup/to_markdown.rb#47
+ # source://rdoc//lib/rdoc/markup/to_markdown.rb#47
def accept_list_end(list); end
# Finishes consumption of `list_item`
#
- # source://rdoc//rdoc/markup/to_markdown.rb#56
+ # source://rdoc//lib/rdoc/markup/to_markdown.rb#56
def accept_list_item_end(list_item); end
# Prepares the visitor for consuming `list_item`
#
- # source://rdoc//rdoc/markup/to_markdown.rb#75
+ # source://rdoc//lib/rdoc/markup/to_markdown.rb#75
def accept_list_item_start(list_item); end
# Prepares the visitor for consuming `list`
#
- # source://rdoc//rdoc/markup/to_markdown.rb#100
+ # source://rdoc//lib/rdoc/markup/to_markdown.rb#100
def accept_list_start(list); end
# Adds `rule` to the output
#
- # source://rdoc//rdoc/markup/to_markdown.rb#117
+ # source://rdoc//lib/rdoc/markup/to_markdown.rb#117
def accept_rule(rule); end
# Outputs `verbatim` indented 4 columns
#
- # source://rdoc//rdoc/markup/to_markdown.rb#126
+ # source://rdoc//lib/rdoc/markup/to_markdown.rb#126
def accept_verbatim(verbatim); end
# Creates a Markdown-style URL from +url+ with +text+.
#
- # source://rdoc//rdoc/markup/to_markdown.rb#140
+ # source://rdoc//lib/rdoc/markup/to_markdown.rb#140
def gen_url(url, text); end
# Handles rdoc- type links for footnotes.
#
- # source://rdoc//rdoc/markup/to_markdown.rb#149
+ # source://rdoc//lib/rdoc/markup/to_markdown.rb#149
def handle_rdoc_link(url); end
# Adds a newline to the output
#
- # source://rdoc//rdoc/markup/to_markdown.rb#40
+ # source://rdoc//lib/rdoc/markup/to_markdown.rb#40
def handle_regexp_HARD_BREAK(target); end
# Converts the rdoc-...: links into a Markdown.style links.
#
- # source://rdoc//rdoc/markup/to_markdown.rb#187
+ # source://rdoc//lib/rdoc/markup/to_markdown.rb#187
def handle_regexp_RDOCLINK(target); end
# Converts the RDoc markup tidylink into a Markdown.style link.
#
- # source://rdoc//rdoc/markup/to_markdown.rb#169
+ # source://rdoc//lib/rdoc/markup/to_markdown.rb#169
def handle_regexp_TIDYLINK(target); end
# Maps attributes to HTML sequences
#
- # source://rdoc//rdoc/markup/to_markdown.rb#31
+ # source://rdoc//lib/rdoc/markup/to_markdown.rb#31
def init_tags; end
end
# Outputs RDoc markup as RDoc markup! (mostly)
+#
+# source://rdoc//lib/rdoc/markup/to_rdoc.rb#5
class RDoc::Markup::ToRdoc < ::RDoc::Markup::Formatter
# Creates a new formatter that will output (mostly) \RDoc markup
#
# @return [ToRdoc] a new instance of ToRdoc
#
- # source://rdoc//rdoc/markup/to_rdoc.rb#45
+ # source://rdoc//lib/rdoc/markup/to_rdoc.rb#45
def initialize(markup = T.unsafe(nil)); end
# Adds +blank_line+ to the output
#
- # source://rdoc//rdoc/markup/to_rdoc.rb#77
+ # source://rdoc//lib/rdoc/markup/to_rdoc.rb#77
def accept_blank_line(blank_line); end
# Adds +paragraph+ to the output
#
- # source://rdoc//rdoc/markup/to_rdoc.rb#84
+ # source://rdoc//lib/rdoc/markup/to_rdoc.rb#84
def accept_block_quote(block_quote); end
# Adds +heading+ to the output
#
- # source://rdoc//rdoc/markup/to_rdoc.rb#99
+ # source://rdoc//lib/rdoc/markup/to_rdoc.rb#99
def accept_heading(heading); end
# Adds +paragraph+ to the output
#
- # source://rdoc//rdoc/markup/to_rdoc.rb#203
+ # source://rdoc//lib/rdoc/markup/to_rdoc.rb#203
def accept_indented_paragraph(paragraph); end
# Finishes consumption of +list+
#
- # source://rdoc//rdoc/markup/to_rdoc.rb#110
+ # source://rdoc//lib/rdoc/markup/to_rdoc.rb#110
def accept_list_end(list); end
# Finishes consumption of +list_item+
#
- # source://rdoc//rdoc/markup/to_rdoc.rb#119
+ # source://rdoc//lib/rdoc/markup/to_rdoc.rb#119
def accept_list_item_end(list_item); end
# Prepares the visitor for consuming +list_item+
#
- # source://rdoc//rdoc/markup/to_rdoc.rb#143
+ # source://rdoc//lib/rdoc/markup/to_rdoc.rb#143
def accept_list_item_start(list_item); end
# Prepares the visitor for consuming +list+
#
- # source://rdoc//rdoc/markup/to_rdoc.rb#168
+ # source://rdoc//lib/rdoc/markup/to_rdoc.rb#168
def accept_list_start(list); end
# Adds +paragraph+ to the output
#
- # source://rdoc//rdoc/markup/to_rdoc.rb#195
+ # source://rdoc//lib/rdoc/markup/to_rdoc.rb#195
def accept_paragraph(paragraph); end
# Adds +raw+ to the output
#
- # source://rdoc//rdoc/markup/to_rdoc.rb#213
+ # source://rdoc//lib/rdoc/markup/to_rdoc.rb#213
def accept_raw(raw); end
# Adds +rule+ to the output
#
- # source://rdoc//rdoc/markup/to_rdoc.rb#220
+ # source://rdoc//lib/rdoc/markup/to_rdoc.rb#220
def accept_rule(rule); end
# Adds +table+ to the output
#
- # source://rdoc//rdoc/markup/to_rdoc.rb#243
+ # source://rdoc//lib/rdoc/markup/to_rdoc.rb#243
def accept_table(header, body, aligns); end
# Outputs +verbatim+ indented 2 columns
#
- # source://rdoc//rdoc/markup/to_rdoc.rb#229
+ # source://rdoc//lib/rdoc/markup/to_rdoc.rb#229
def accept_verbatim(verbatim); end
# Applies attribute-specific markup to +text+ using RDoc::AttributeManager
#
- # source://rdoc//rdoc/markup/to_rdoc.rb#271
+ # source://rdoc//lib/rdoc/markup/to_rdoc.rb#271
def attributes(text); end
# Returns the generated output
#
- # source://rdoc//rdoc/markup/to_rdoc.rb#279
+ # source://rdoc//lib/rdoc/markup/to_rdoc.rb#279
def end_accepting; end
# Adds a newline to the output
#
- # source://rdoc//rdoc/markup/to_rdoc.rb#295
+ # source://rdoc//lib/rdoc/markup/to_rdoc.rb#295
def handle_regexp_HARD_BREAK(target); end
# Removes preceding \\ from the suppressed crossref +target+
#
- # source://rdoc//rdoc/markup/to_rdoc.rb#286
+ # source://rdoc//lib/rdoc/markup/to_rdoc.rb#286
def handle_regexp_SUPPRESSED_CROSSREF(target); end
# Current indent amount for output in characters
#
- # source://rdoc//rdoc/markup/to_rdoc.rb#10
+ # source://rdoc//lib/rdoc/markup/to_rdoc.rb#10
def indent; end
# Current indent amount for output in characters
#
- # source://rdoc//rdoc/markup/to_rdoc.rb#10
+ # source://rdoc//lib/rdoc/markup/to_rdoc.rb#10
def indent=(_arg0); end
# Maps attributes to HTML sequences
#
- # source://rdoc//rdoc/markup/to_rdoc.rb#68
+ # source://rdoc//lib/rdoc/markup/to_rdoc.rb#68
def init_tags; end
# Stack of current list indexes for alphabetic and numeric lists
#
- # source://rdoc//rdoc/markup/to_rdoc.rb#20
+ # source://rdoc//lib/rdoc/markup/to_rdoc.rb#20
def list_index; end
# Stack of list types
#
- # source://rdoc//rdoc/markup/to_rdoc.rb#25
+ # source://rdoc//lib/rdoc/markup/to_rdoc.rb#25
def list_type; end
# Stack of list widths for indentation
#
- # source://rdoc//rdoc/markup/to_rdoc.rb#30
+ # source://rdoc//lib/rdoc/markup/to_rdoc.rb#30
def list_width; end
# Prefix for the next list item. See #use_prefix
#
- # source://rdoc//rdoc/markup/to_rdoc.rb#35
+ # source://rdoc//lib/rdoc/markup/to_rdoc.rb#35
def prefix; end
# Output accumulator
#
- # source://rdoc//rdoc/markup/to_rdoc.rb#40
+ # source://rdoc//lib/rdoc/markup/to_rdoc.rb#40
def res; end
# Prepares the visitor for text generation
#
- # source://rdoc//rdoc/markup/to_rdoc.rb#302
+ # source://rdoc//lib/rdoc/markup/to_rdoc.rb#302
def start_accepting; end
# Adds the stored #prefix to the output and clears it. Lists generate a
# prefix for later consumption.
#
- # source://rdoc//rdoc/markup/to_rdoc.rb#316
+ # source://rdoc//lib/rdoc/markup/to_rdoc.rb#316
def use_prefix; end
# Output width in characters
#
- # source://rdoc//rdoc/markup/to_rdoc.rb#15
+ # source://rdoc//lib/rdoc/markup/to_rdoc.rb#15
def width; end
# Output width in characters
#
- # source://rdoc//rdoc/markup/to_rdoc.rb#15
+ # source://rdoc//lib/rdoc/markup/to_rdoc.rb#15
def width=(_arg0); end
# Wraps +text+ to #width
#
- # source://rdoc//rdoc/markup/to_rdoc.rb#326
+ # source://rdoc//lib/rdoc/markup/to_rdoc.rb#326
def wrap(text); end
end
# Extracts just the RDoc::Markup::Heading elements from a
# RDoc::Markup::Document to help build a table of contents
+#
+# source://rdoc//lib/rdoc/markup/to_table_of_contents.rb#6
class RDoc::Markup::ToTableOfContents < ::RDoc::Markup::Formatter
# @return [ToTableOfContents] a new instance of ToTableOfContents
#
- # source://rdoc//rdoc/markup/to_table_of_contents.rb#27
+ # source://rdoc//lib/rdoc/markup/to_table_of_contents.rb#27
def initialize; end
- # source://rdoc//rdoc/markup/formatter.rb#188
+ # source://rdoc//lib/rdoc/markup/formatter.rb#188
def accept_blank_line(*node); end
# :stopdoc:
#
- # source://rdoc//rdoc/markup/formatter.rb#188
+ # source://rdoc//lib/rdoc/markup/formatter.rb#188
def accept_block_quote(*node); end
# Adds +document+ to the output, using its heading cutoff if present
#
- # source://rdoc//rdoc/markup/to_table_of_contents.rb#36
+ # source://rdoc//lib/rdoc/markup/to_table_of_contents.rb#36
def accept_document(document); end
# Adds +heading+ to the table of contents
#
- # source://rdoc//rdoc/markup/to_table_of_contents.rb#45
+ # source://rdoc//lib/rdoc/markup/to_table_of_contents.rb#45
def accept_heading(heading); end
- # source://rdoc//rdoc/markup/formatter.rb#188
+ # source://rdoc//lib/rdoc/markup/formatter.rb#188
def accept_list_end(*node); end
- # source://rdoc//rdoc/markup/formatter.rb#188
+ # source://rdoc//lib/rdoc/markup/formatter.rb#188
def accept_list_end_bullet(*node); end
- # source://rdoc//rdoc/markup/formatter.rb#188
+ # source://rdoc//lib/rdoc/markup/formatter.rb#188
def accept_list_item_end(*node); end
- # source://rdoc//rdoc/markup/formatter.rb#188
+ # source://rdoc//lib/rdoc/markup/formatter.rb#188
def accept_list_item_start(*node); end
- # source://rdoc//rdoc/markup/formatter.rb#188
+ # source://rdoc//lib/rdoc/markup/formatter.rb#188
def accept_list_start(*node); end
- # source://rdoc//rdoc/markup/formatter.rb#188
+ # source://rdoc//lib/rdoc/markup/formatter.rb#188
def accept_paragraph(*node); end
- # source://rdoc//rdoc/markup/formatter.rb#188
+ # source://rdoc//lib/rdoc/markup/formatter.rb#188
def accept_raw(*node); end
- # source://rdoc//rdoc/markup/formatter.rb#188
+ # source://rdoc//lib/rdoc/markup/formatter.rb#188
def accept_rule(*node); end
- # source://rdoc//rdoc/markup/formatter.rb#188
+ # source://rdoc//lib/rdoc/markup/formatter.rb#188
def accept_table(*node); end
- # source://rdoc//rdoc/markup/formatter.rb#188
+ # source://rdoc//lib/rdoc/markup/formatter.rb#188
def accept_verbatim(*node); end
# Returns the table of contents
#
- # source://rdoc//rdoc/markup/to_table_of_contents.rb#52
+ # source://rdoc//lib/rdoc/markup/to_table_of_contents.rb#52
def end_accepting; end
# Omits headings with a level less than the given level.
#
- # source://rdoc//rdoc/markup/to_table_of_contents.rb#25
+ # source://rdoc//lib/rdoc/markup/to_table_of_contents.rb#25
def omit_headings_below; end
# Omits headings with a level less than the given level.
#
- # source://rdoc//rdoc/markup/to_table_of_contents.rb#25
+ # source://rdoc//lib/rdoc/markup/to_table_of_contents.rb#25
def omit_headings_below=(_arg0); end
# Output accumulator
#
- # source://rdoc//rdoc/markup/to_table_of_contents.rb#20
+ # source://rdoc//lib/rdoc/markup/to_table_of_contents.rb#20
def res; end
# Prepares the visitor for text generation
#
- # source://rdoc//rdoc/markup/to_table_of_contents.rb#59
+ # source://rdoc//lib/rdoc/markup/to_table_of_contents.rb#59
def start_accepting; end
# Returns true if +heading+ is below the display threshold
#
# @return [Boolean]
#
- # source://rdoc//rdoc/markup/to_table_of_contents.rb#67
+ # source://rdoc//lib/rdoc/markup/to_table_of_contents.rb#67
def suppressed?(heading); end
class << self
# Singleton for table-of-contents generation
#
- # source://rdoc//rdoc/markup/to_table_of_contents.rb#13
+ # source://rdoc//lib/rdoc/markup/to_table_of_contents.rb#13
def to_toc; end
end
end
# This Markup outputter is used for testing purposes.
+#
+# source://rdoc//lib/rdoc/markup/to_test.rb#5
class RDoc::Markup::ToTest < ::RDoc::Markup::Formatter
- # source://rdoc//rdoc/markup/to_test.rb#55
+ # source://rdoc//lib/rdoc/markup/to_test.rb#55
def accept_blank_line(blank_line); end
- # source://rdoc//rdoc/markup/to_test.rb#59
+ # source://rdoc//lib/rdoc/markup/to_test.rb#59
def accept_heading(heading); end
- # source://rdoc//rdoc/markup/to_test.rb#44
+ # source://rdoc//lib/rdoc/markup/to_test.rb#44
def accept_list_end(list); end
- # source://rdoc//rdoc/markup/to_test.rb#52
+ # source://rdoc//lib/rdoc/markup/to_test.rb#52
def accept_list_item_end(list_item); end
- # source://rdoc//rdoc/markup/to_test.rb#48
+ # source://rdoc//lib/rdoc/markup/to_test.rb#48
def accept_list_item_start(list_item); end
- # source://rdoc//rdoc/markup/to_test.rb#33
+ # source://rdoc//lib/rdoc/markup/to_test.rb#33
def accept_list_start(list); end
- # source://rdoc//rdoc/markup/to_test.rb#21
+ # source://rdoc//lib/rdoc/markup/to_test.rb#21
def accept_paragraph(paragraph); end
- # source://rdoc//rdoc/markup/to_test.rb#25
+ # source://rdoc//lib/rdoc/markup/to_test.rb#25
def accept_raw(raw); end
- # source://rdoc//rdoc/markup/to_test.rb#63
+ # source://rdoc//lib/rdoc/markup/to_test.rb#63
def accept_rule(rule); end
- # source://rdoc//rdoc/markup/to_test.rb#29
+ # source://rdoc//lib/rdoc/markup/to_test.rb#29
def accept_verbatim(verbatim); end
- # source://rdoc//rdoc/markup/to_test.rb#17
+ # source://rdoc//lib/rdoc/markup/to_test.rb#17
def end_accepting; end
# :section: Visitor
#
- # source://rdoc//rdoc/markup/to_test.rb#12
+ # source://rdoc//lib/rdoc/markup/to_test.rb#12
def start_accepting; end
end
# Extracts sections of text enclosed in plus, tt or code. Used to discover
# undocumented parameters.
+#
+# source://rdoc//lib/rdoc/markup/to_tt_only.rb#6
class RDoc::Markup::ToTtOnly < ::RDoc::Markup::Formatter
# Creates a new tt-only formatter.
#
# @return [ToTtOnly] a new instance of ToTtOnly
#
- # source://rdoc//rdoc/markup/to_tt_only.rb#21
+ # source://rdoc//lib/rdoc/markup/to_tt_only.rb#21
def initialize(markup = T.unsafe(nil)); end
# Does nothing to +markup_item+ because it doesn't have any user-built
# content
#
- # source://rdoc//rdoc/markup/to_tt_only.rb#71
+ # source://rdoc//lib/rdoc/markup/to_tt_only.rb#71
def accept_blank_line(markup_item); end
# Adds tts from +block_quote+ to the output
#
- # source://rdoc//rdoc/markup/to_tt_only.rb#30
+ # source://rdoc//lib/rdoc/markup/to_tt_only.rb#30
def accept_block_quote(block_quote); end
# Does nothing to +markup_item+ because it doesn't have any user-built
# content
#
- # source://rdoc//rdoc/markup/to_tt_only.rb#71
+ # source://rdoc//lib/rdoc/markup/to_tt_only.rb#71
def accept_heading(markup_item); end
# Pops the list type for +list+ from #list_type
#
- # source://rdoc//rdoc/markup/to_tt_only.rb#37
+ # source://rdoc//lib/rdoc/markup/to_tt_only.rb#37
def accept_list_end(list); end
# Does nothing to +markup_item+ because it doesn't have any user-built
# content
#
- # source://rdoc//rdoc/markup/to_tt_only.rb#71
+ # source://rdoc//lib/rdoc/markup/to_tt_only.rb#71
def accept_list_item_end(markup_item); end
# Prepares the visitor for consuming +list_item+
#
- # source://rdoc//rdoc/markup/to_tt_only.rb#51
+ # source://rdoc//lib/rdoc/markup/to_tt_only.rb#51
def accept_list_item_start(list_item); end
# Pushes the list type for +list+ onto #list_type
#
- # source://rdoc//rdoc/markup/to_tt_only.rb#44
+ # source://rdoc//lib/rdoc/markup/to_tt_only.rb#44
def accept_list_start(list); end
# Adds +paragraph+ to the output
#
- # source://rdoc//rdoc/markup/to_tt_only.rb#63
+ # source://rdoc//lib/rdoc/markup/to_tt_only.rb#63
def accept_paragraph(paragraph); end
# Does nothing to +markup_item+ because it doesn't have any user-built
# content
#
- # source://rdoc//rdoc/markup/to_tt_only.rb#71
+ # source://rdoc//lib/rdoc/markup/to_tt_only.rb#71
def accept_raw(markup_item); end
# Does nothing to +markup_item+ because it doesn't have any user-built
# content
#
- # source://rdoc//rdoc/markup/to_tt_only.rb#71
+ # source://rdoc//lib/rdoc/markup/to_tt_only.rb#71
def accept_rule(markup_item); end
# Does nothing to +markup_item+ because it doesn't have any user-built
# content
#
- # source://rdoc//rdoc/markup/to_tt_only.rb#71
+ # source://rdoc//lib/rdoc/markup/to_tt_only.rb#71
def accept_verbatim(markup_item); end
# Does nothing to +markup_item+ because it doesn't have any user-built
# content
#
- # source://rdoc//rdoc/markup/to_tt_only.rb#71
+ # source://rdoc//lib/rdoc/markup/to_tt_only.rb#71
def do_nothing(markup_item); end
# Returns an Array of items that were wrapped in plus, tt or code.
#
- # source://rdoc//rdoc/markup/to_tt_only.rb#107
+ # source://rdoc//lib/rdoc/markup/to_tt_only.rb#107
def end_accepting; end
# Stack of list types
#
- # source://rdoc//rdoc/markup/to_tt_only.rb#11
+ # source://rdoc//lib/rdoc/markup/to_tt_only.rb#11
def list_type; end
# Output accumulator
#
- # source://rdoc//rdoc/markup/to_tt_only.rb#16
+ # source://rdoc//lib/rdoc/markup/to_tt_only.rb#16
def res; end
# Prepares the visitor for gathering tt sections
#
- # source://rdoc//rdoc/markup/to_tt_only.rb#114
+ # source://rdoc//lib/rdoc/markup/to_tt_only.rb#114
def start_accepting; end
# Extracts tt sections from +text+
#
- # source://rdoc//rdoc/markup/to_tt_only.rb#84
+ # source://rdoc//lib/rdoc/markup/to_tt_only.rb#84
def tt_sections(text); end
end
# A section of verbatim text
+#
+# source://rdoc//lib/rdoc/markup/verbatim.rb#5
class RDoc::Markup::Verbatim < ::RDoc::Markup::Raw
# @return [Verbatim] a new instance of Verbatim
#
- # source://rdoc//rdoc/markup/verbatim.rb#12
+ # source://rdoc//lib/rdoc/markup/verbatim.rb#12
def initialize(*parts); end
- # source://rdoc//rdoc/markup/verbatim.rb#18
+ # source://rdoc//lib/rdoc/markup/verbatim.rb#18
def ==(other); end
# Calls #accept_verbatim on +visitor+
#
- # source://rdoc//rdoc/markup/verbatim.rb#25
+ # source://rdoc//lib/rdoc/markup/verbatim.rb#25
def accept(visitor); end
# Format of this verbatim section
#
- # source://rdoc//rdoc/markup/verbatim.rb#10
+ # source://rdoc//lib/rdoc/markup/verbatim.rb#10
def format; end
# Format of this verbatim section
#
- # source://rdoc//rdoc/markup/verbatim.rb#10
+ # source://rdoc//lib/rdoc/markup/verbatim.rb#10
def format=(_arg0); end
# Collapses 3+ newlines into two newlines
#
- # source://rdoc//rdoc/markup/verbatim.rb#32
+ # source://rdoc//lib/rdoc/markup/verbatim.rb#32
def normalize; end
- # source://rdoc//rdoc/markup/verbatim.rb#53
+ # source://rdoc//lib/rdoc/markup/verbatim.rb#53
def pretty_print(q); end
# Is this verbatim section Ruby code?
#
# @return [Boolean]
#
- # source://rdoc//rdoc/markup/verbatim.rb#71
+ # source://rdoc//lib/rdoc/markup/verbatim.rb#71
def ruby?; end
# The text of the section
#
- # source://rdoc//rdoc/markup/verbatim.rb#79
+ # source://rdoc//lib/rdoc/markup/verbatim.rb#79
def text; end
end
# Abstract class representing either a method or an attribute.
+#
+# source://rdoc//lib/rdoc/method_attr.rb#5
class RDoc::MethodAttr < ::RDoc::CodeObject
include ::Comparable
@@ -7096,15 +7220,15 @@ class RDoc::MethodAttr < ::RDoc::CodeObject
#
# @return [MethodAttr] a new instance of MethodAttr
#
- # source://rdoc//rdoc/method_attr.rb#78
+ # source://rdoc//lib/rdoc/method_attr.rb#78
def initialize(text, name); end
# Order by #singleton then #name
#
- # source://rdoc//rdoc/method_attr.rb#113
+ # source://rdoc//lib/rdoc/method_attr.rb#113
def <=>(other); end
- # source://rdoc//rdoc/method_attr.rb#121
+ # source://rdoc//lib/rdoc/method_attr.rb#121
def ==(other); end
# Abstract method. Contexts in their building phase call this
@@ -7117,7 +7241,7 @@ class RDoc::MethodAttr < ::RDoc::CodeObject
#
# @raise [NotImplementedError]
#
- # source://rdoc//rdoc/method_attr.rb#209
+ # source://rdoc//lib/rdoc/method_attr.rb#209
def add_alias(an_alias, context); end
# Prepend +src+ with line numbers. Relies on the first line of a source
@@ -7128,50 +7252,50 @@ class RDoc::MethodAttr < ::RDoc::CodeObject
# If it has this comment then line numbers are added to +src+ and the ,
# line dddd portion of the comment is removed.
#
- # source://rdoc//rdoc/generator/markup.rb#77
+ # source://rdoc//lib/rdoc/generator/markup.rb#77
def add_line_numbers(src); end
# Array of other names for this method/attribute
#
- # source://rdoc//rdoc/method_attr.rb#32
+ # source://rdoc//lib/rdoc/method_attr.rb#32
def aliases; end
# HTML fragment reference for this method
#
- # source://rdoc//rdoc/method_attr.rb#216
+ # source://rdoc//lib/rdoc/method_attr.rb#216
def aref; end
# Prefix for +aref+, defined by subclasses.
#
# @raise [NotImplementedError]
#
- # source://rdoc//rdoc/method_attr.rb#225
+ # source://rdoc//lib/rdoc/method_attr.rb#225
def aref_prefix; end
# The call_seq or the param_seq with method name, if there is no call_seq.
#
- # source://rdoc//rdoc/method_attr.rb#64
+ # source://rdoc//lib/rdoc/method_attr.rb#64
def arglists; end
# Parameters yielded by the called block
#
- # source://rdoc//rdoc/method_attr.rb#49
+ # source://rdoc//lib/rdoc/method_attr.rb#49
def block_params; end
# Attempts to sanitize the content passed by the Ruby parser:
# remove outer parentheses, etc.
#
- # source://rdoc//rdoc/method_attr.rb#233
+ # source://rdoc//lib/rdoc/method_attr.rb#233
def block_params=(value); end
# Different ways to call this method
#
- # source://rdoc//rdoc/method_attr.rb#59
+ # source://rdoc//lib/rdoc/method_attr.rb#59
def call_seq; end
# Different ways to call this method
#
- # source://rdoc//rdoc/method_attr.rb#59
+ # source://rdoc//lib/rdoc/method_attr.rb#59
def call_seq=(_arg0); end
# A method/attribute is documented if any of the following is true:
@@ -7181,61 +7305,61 @@ class RDoc::MethodAttr < ::RDoc::CodeObject
#
# @return [Boolean]
#
- # source://rdoc//rdoc/method_attr.rb#132
+ # source://rdoc//lib/rdoc/method_attr.rb#132
def documented?; end
- # source://rdoc//rdoc/method_attr.rb#178
+ # source://rdoc//lib/rdoc/method_attr.rb#178
def find_method_or_attribute(name); end
- # source://rdoc//rdoc/method_attr.rb#166
+ # source://rdoc//lib/rdoc/method_attr.rb#166
def find_see; end
# Full method/attribute name including namespace
#
- # source://rdoc//rdoc/method_attr.rb#300
+ # source://rdoc//lib/rdoc/method_attr.rb#300
def full_name; end
# HTML id-friendly method/attribute name
#
- # source://rdoc//rdoc/method_attr.rb#291
+ # source://rdoc//lib/rdoc/method_attr.rb#291
def html_name; end
- # source://rdoc//rdoc/method_attr.rb#105
+ # source://rdoc//lib/rdoc/method_attr.rb#105
def initialize_visibility; end
- # source://rdoc//rdoc/method_attr.rb#304
+ # source://rdoc//lib/rdoc/method_attr.rb#304
def inspect; end
# The method/attribute we're aliasing
#
- # source://rdoc//rdoc/method_attr.rb#37
+ # source://rdoc//lib/rdoc/method_attr.rb#37
def is_alias_for; end
# The method/attribute we're aliasing
#
- # source://rdoc//rdoc/method_attr.rb#37
+ # source://rdoc//lib/rdoc/method_attr.rb#37
def is_alias_for=(_arg0); end
# Turns the method's token stream into HTML.
#
# Prepends line numbers if +options.line_numbers+ is true.
#
- # source://rdoc//rdoc/generator/markup.rb#101
+ # source://rdoc//lib/rdoc/generator/markup.rb#101
def markup_code; end
# Name of this method/attribute.
#
- # source://rdoc//rdoc/method_attr.rb#12
+ # source://rdoc//lib/rdoc/method_attr.rb#12
def name; end
# Name of this method/attribute.
#
- # source://rdoc//rdoc/method_attr.rb#12
+ # source://rdoc//lib/rdoc/method_attr.rb#12
def name=(_arg0); end
# '::' for a class method/attribute, '#' for an instance method.
#
- # source://rdoc//rdoc/method_attr.rb#319
+ # source://rdoc//lib/rdoc/method_attr.rb#319
def name_prefix; end
# Name for output to HTML. For class methods the full name with a "." is
@@ -7244,46 +7368,46 @@ class RDoc::MethodAttr < ::RDoc::CodeObject
#
# This is to help prevent people from using :: to call class methods.
#
- # source://rdoc//rdoc/method_attr.rb#330
+ # source://rdoc//lib/rdoc/method_attr.rb#330
def output_name(context); end
# Pretty parameter list for this method
#
- # source://rdoc//rdoc/method_attr.rb#69
+ # source://rdoc//lib/rdoc/method_attr.rb#69
def param_seq; end
# Parameters for this method
#
- # source://rdoc//rdoc/method_attr.rb#54
+ # source://rdoc//lib/rdoc/method_attr.rb#54
def params; end
# Parameters for this method
#
- # source://rdoc//rdoc/method_attr.rb#54
+ # source://rdoc//lib/rdoc/method_attr.rb#54
def params=(_arg0); end
# Name of our parent with special handling for un-marshaled methods
#
- # source://rdoc//rdoc/method_attr.rb#360
+ # source://rdoc//lib/rdoc/method_attr.rb#360
def parent_name; end
# Path to this method for use with HTML generator output.
#
- # source://rdoc//rdoc/method_attr.rb#353
+ # source://rdoc//lib/rdoc/method_attr.rb#353
def path; end
# Method/attribute name with class/instance indicator
#
- # source://rdoc//rdoc/method_attr.rb#339
+ # source://rdoc//lib/rdoc/method_attr.rb#339
def pretty_name; end
- # source://rdoc//rdoc/method_attr.rb#364
+ # source://rdoc//lib/rdoc/method_attr.rb#364
def pretty_print(q); end
# Used by RDoc::Generator::JsonIndex to create a record for the search
# engine.
#
- # source://rdoc//rdoc/method_attr.rb#398
+ # source://rdoc//lib/rdoc/method_attr.rb#398
def search_record; end
# A method/attribute to look at,
@@ -7299,85 +7423,87 @@ class RDoc::MethodAttr < ::RDoc::CodeObject
# Templates may generate a "see also ..." if this method/attribute
# has documentation, and "see ..." if it does not.
#
- # source://rdoc//rdoc/method_attr.rb#152
+ # source://rdoc//lib/rdoc/method_attr.rb#152
def see; end
# Is this a singleton method/attribute?
#
- # source://rdoc//rdoc/method_attr.rb#22
+ # source://rdoc//lib/rdoc/method_attr.rb#22
def singleton; end
# Is this a singleton method/attribute?
#
- # source://rdoc//rdoc/method_attr.rb#22
+ # source://rdoc//lib/rdoc/method_attr.rb#22
def singleton=(_arg0); end
# Sets the store for this class or module and its contained code objects.
#
- # source://rdoc//rdoc/method_attr.rb#160
+ # source://rdoc//lib/rdoc/method_attr.rb#160
def store=(store); end
# Source file token stream
#
- # source://rdoc//rdoc/method_attr.rb#27
+ # source://rdoc//lib/rdoc/method_attr.rb#27
def text; end
- # source://rdoc//rdoc/method_attr.rb#410
+ # source://rdoc//lib/rdoc/method_attr.rb#410
def to_s; end
# Type of method/attribute (class or instance)
#
- # source://rdoc//rdoc/method_attr.rb#346
+ # source://rdoc//lib/rdoc/method_attr.rb#346
def type; end
# public, protected, private
#
- # source://rdoc//rdoc/method_attr.rb#17
+ # source://rdoc//lib/rdoc/method_attr.rb#17
def visibility; end
# public, protected, private
#
- # source://rdoc//rdoc/method_attr.rb#17
+ # source://rdoc//lib/rdoc/method_attr.rb#17
def visibility=(_arg0); end
private
# Resets cached data for the object so it can be rebuilt by accessor methods
#
- # source://rdoc//rdoc/method_attr.rb#101
+ # source://rdoc//lib/rdoc/method_attr.rb#101
def initialize_copy(other); end
end
# A Mixin adds features from a module into another context. RDoc::Include and
# RDoc::Extend are both mixins.
+#
+# source://rdoc//lib/rdoc/mixin.rb#6
class RDoc::Mixin < ::RDoc::CodeObject
# Creates a new Mixin for +name+ with +comment+
#
# @return [Mixin] a new instance of Mixin
#
- # source://rdoc//rdoc/mixin.rb#16
+ # source://rdoc//lib/rdoc/mixin.rb#16
def initialize(name, comment); end
# Mixins are sorted by name
#
- # source://rdoc//rdoc/mixin.rb#26
+ # source://rdoc//lib/rdoc/mixin.rb#26
def <=>(other); end
- # source://rdoc//rdoc/mixin.rb#32
+ # source://rdoc//lib/rdoc/mixin.rb#32
def ==(other); end
- # source://rdoc//rdoc/mixin.rb#32
+ # source://rdoc//lib/rdoc/mixin.rb#32
def eql?(other); end
# Full name based on #module
#
- # source://rdoc//rdoc/mixin.rb#41
+ # source://rdoc//lib/rdoc/mixin.rb#41
def full_name; end
- # source://rdoc//rdoc/mixin.rb#46
+ # source://rdoc//lib/rdoc/mixin.rb#46
def hash; end
- # source://rdoc//rdoc/mixin.rb#50
+ # source://rdoc//lib/rdoc/mixin.rb#50
def inspect; end
# Attempts to locate the included module object. Returns the name if not
@@ -7396,86 +7522,90 @@ class RDoc::Mixin < ::RDoc::CodeObject
#
# As of the beginning of October, 2011, no gem includes nonexistent modules.
#
- # source://rdoc//rdoc/mixin.rb#75
+ # source://rdoc//lib/rdoc/mixin.rb#75
def module; end
# Name of included module
#
- # source://rdoc//rdoc/mixin.rb#11
+ # source://rdoc//lib/rdoc/mixin.rb#11
def name; end
# Name of included module
#
- # source://rdoc//rdoc/mixin.rb#11
+ # source://rdoc//lib/rdoc/mixin.rb#11
def name=(_arg0); end
# Sets the store for this class or module and its contained code objects.
#
- # source://rdoc//rdoc/mixin.rb#110
+ # source://rdoc//lib/rdoc/mixin.rb#110
def store=(store); end
- # source://rdoc//rdoc/mixin.rb#116
+ # source://rdoc//lib/rdoc/mixin.rb#116
def to_s; end
end
# A normal class, neither singleton nor anonymous
+#
+# source://rdoc//lib/rdoc/normal_class.rb#5
class RDoc::NormalClass < ::RDoc::ClassModule
# The ancestors of this class including modules. Unlike Module#ancestors,
# this class is not included in the result. The result will contain both
# RDoc::ClassModules and Strings.
#
- # source://rdoc//rdoc/normal_class.rb#12
+ # source://rdoc//lib/rdoc/normal_class.rb#12
def ancestors; end
- # source://rdoc//rdoc/normal_class.rb#24
+ # source://rdoc//lib/rdoc/normal_class.rb#24
def aref_prefix; end
# The definition of this class, class MyClassName
#
- # source://rdoc//rdoc/normal_class.rb#31
+ # source://rdoc//lib/rdoc/normal_class.rb#31
def definition; end
- # source://rdoc//rdoc/normal_class.rb#35
+ # source://rdoc//lib/rdoc/normal_class.rb#35
def direct_ancestors; end
- # source://rdoc//rdoc/normal_class.rb#39
+ # source://rdoc//lib/rdoc/normal_class.rb#39
def inspect; end
- # source://rdoc//rdoc/normal_class.rb#56
+ # source://rdoc//lib/rdoc/normal_class.rb#56
def pretty_print(q); end
- # source://rdoc//rdoc/normal_class.rb#47
+ # source://rdoc//lib/rdoc/normal_class.rb#47
def to_s; end
end
# A normal module, like NormalClass
+#
+# source://rdoc//lib/rdoc/normal_module.rb#5
class RDoc::NormalModule < ::RDoc::ClassModule
- # source://rdoc//rdoc/normal_module.rb#7
+ # source://rdoc//lib/rdoc/normal_module.rb#7
def aref_prefix; end
# The definition of this module, module MyModuleName
#
- # source://rdoc//rdoc/normal_module.rb#21
+ # source://rdoc//lib/rdoc/normal_module.rb#21
def definition; end
- # source://rdoc//rdoc/normal_module.rb#11
+ # source://rdoc//lib/rdoc/normal_module.rb#11
def inspect; end
# This is a module, returns true
#
# @return [Boolean]
#
- # source://rdoc//rdoc/normal_module.rb#28
+ # source://rdoc//lib/rdoc/normal_module.rb#28
def module?; end
- # source://rdoc//rdoc/normal_module.rb#32
+ # source://rdoc//lib/rdoc/normal_module.rb#32
def pretty_print(q); end
# Modules don't have one, raises NoMethodError
#
# @raise [NoMethodError]
#
- # source://rdoc//rdoc/normal_module.rb#69
+ # source://rdoc//lib/rdoc/normal_module.rb#69
def superclass; end
end
@@ -7547,342 +7677,344 @@ end
# addition to the validators that ship with OptionParser (String, Integer,
# Float, TrueClass, FalseClass, Array, Regexp, Date, Time, URI, etc.),
# RDoc::Options adds Path, PathArray and Template.
+#
+# source://rdoc//lib/rdoc/options.rb#75
class RDoc::Options
# @return [Options] a new instance of Options
#
- # source://rdoc//rdoc/options.rb#346
+ # source://rdoc//lib/rdoc/options.rb#346
def initialize(loaded_options = T.unsafe(nil)); end
- # source://rdoc//rdoc/options.rb#459
+ # source://rdoc//lib/rdoc/options.rb#459
def ==(other); end
# Character-set for HTML output. #encoding is preferred over #charset
#
- # source://rdoc//rdoc/options.rb#151
+ # source://rdoc//lib/rdoc/options.rb#151
def charset; end
# Character-set for HTML output. #encoding is preferred over #charset
#
- # source://rdoc//rdoc/options.rb#151
+ # source://rdoc//lib/rdoc/options.rb#151
def charset=(_arg0); end
# Check that the files on the command line exist
#
- # source://rdoc//rdoc/options.rb#483
+ # source://rdoc//lib/rdoc/options.rb#483
def check_files; end
# Ensure only one generator is loaded
#
- # source://rdoc//rdoc/options.rb#504
+ # source://rdoc//lib/rdoc/options.rb#504
def check_generator; end
# If true, only report on undocumented files
#
- # source://rdoc//rdoc/options.rb#243
+ # source://rdoc//lib/rdoc/options.rb#243
def coverage_report; end
# If true, only report on undocumented files
#
- # source://rdoc//rdoc/options.rb#243
+ # source://rdoc//lib/rdoc/options.rb#243
def coverage_report=(_arg0); end
# Set the title, but only if not already set. Used to set the title
# from a source file, so that a title set from the command line
# will have the priority.
#
- # source://rdoc//rdoc/options.rb#516
+ # source://rdoc//lib/rdoc/options.rb#516
def default_title=(string); end
# If true, RDoc will not write any files.
#
- # source://rdoc//rdoc/options.rb#156
+ # source://rdoc//lib/rdoc/options.rb#156
def dry_run; end
# If true, RDoc will not write any files.
#
- # source://rdoc//rdoc/options.rb#156
+ # source://rdoc//lib/rdoc/options.rb#156
def dry_run=(_arg0); end
# The output encoding. All input files will be transcoded to this encoding.
#
# The default encoding is UTF-8. This is set via --encoding.
#
- # source://rdoc//rdoc/options.rb#163
+ # source://rdoc//lib/rdoc/options.rb#163
def encoding; end
# The output encoding. All input files will be transcoded to this encoding.
#
# The default encoding is UTF-8. This is set via --encoding.
#
- # source://rdoc//rdoc/options.rb#163
+ # source://rdoc//lib/rdoc/options.rb#163
def encoding=(_arg0); end
# Create a regexp for #exclude
#
- # source://rdoc//rdoc/options.rb#544
+ # source://rdoc//lib/rdoc/options.rb#544
def exclude; end
# Files matching this pattern will be excluded
#
- # source://rdoc//rdoc/options.rb#168
+ # source://rdoc//lib/rdoc/options.rb#168
def exclude=(_arg0); end
# The list of files to be processed
#
- # source://rdoc//rdoc/options.rb#173
+ # source://rdoc//lib/rdoc/options.rb#173
def files; end
# The list of files to be processed
#
- # source://rdoc//rdoc/options.rb#173
+ # source://rdoc//lib/rdoc/options.rb#173
def files=(_arg0); end
# Completes any unfinished option setup business such as filtering for
# existent files, creating a regexp for #exclude and setting a default
# #template.
#
- # source://rdoc//rdoc/options.rb#560
+ # source://rdoc//lib/rdoc/options.rb#560
def finish; end
# Fixes the page_dir to be relative to the root_dir and adds the page_dir to
# the files list.
#
- # source://rdoc//rdoc/options.rb#601
+ # source://rdoc//lib/rdoc/options.rb#601
def finish_page_dir; end
# Create the output even if the output directory does not look
# like an rdoc output directory
#
- # source://rdoc//rdoc/options.rb#179
+ # source://rdoc//lib/rdoc/options.rb#179
def force_output; end
# Create the output even if the output directory does not look
# like an rdoc output directory
#
- # source://rdoc//rdoc/options.rb#179
+ # source://rdoc//lib/rdoc/options.rb#179
def force_output=(_arg0); end
# Scan newer sources than the flag file if true.
#
- # source://rdoc//rdoc/options.rb#184
+ # source://rdoc//lib/rdoc/options.rb#184
def force_update; end
# Scan newer sources than the flag file if true.
#
- # source://rdoc//rdoc/options.rb#184
+ # source://rdoc//lib/rdoc/options.rb#184
def force_update=(_arg0); end
# Formatter to mark up text with
#
- # source://rdoc//rdoc/options.rb#189
+ # source://rdoc//lib/rdoc/options.rb#189
def formatter; end
# Formatter to mark up text with
#
- # source://rdoc//rdoc/options.rb#189
+ # source://rdoc//lib/rdoc/options.rb#189
def formatter=(_arg0); end
# Description of the output generator (set with the --format option)
#
- # source://rdoc//rdoc/options.rb#194
+ # source://rdoc//lib/rdoc/options.rb#194
def generator; end
# Description of the output generator (set with the --format option)
#
- # source://rdoc//rdoc/options.rb#194
+ # source://rdoc//lib/rdoc/options.rb#194
def generator=(_arg0); end
# Returns a properly-space list of generators and their descriptions.
#
- # source://rdoc//rdoc/options.rb#620
+ # source://rdoc//lib/rdoc/options.rb#620
def generator_descriptions; end
# For #==
#
- # source://rdoc//rdoc/options.rb#199
+ # source://rdoc//lib/rdoc/options.rb#199
def generator_name; end
# Loaded generator options. Used to prevent --help from loading the same
# options multiple times.
#
- # source://rdoc//rdoc/options.rb#205
+ # source://rdoc//lib/rdoc/options.rb#205
def generator_options; end
# Loaded generator options. Used to prevent --help from loading the same
# options multiple times.
#
- # source://rdoc//rdoc/options.rb#205
+ # source://rdoc//lib/rdoc/options.rb#205
def generator_options=(_arg0); end
# Old rdoc behavior: hyperlink all words that match a method name,
# even if not preceded by '#' or '::'
#
- # source://rdoc//rdoc/options.rb#211
+ # source://rdoc//lib/rdoc/options.rb#211
def hyperlink_all; end
# Old rdoc behavior: hyperlink all words that match a method name,
# even if not preceded by '#' or '::'
#
- # source://rdoc//rdoc/options.rb#211
+ # source://rdoc//lib/rdoc/options.rb#211
def hyperlink_all=(_arg0); end
- # source://rdoc//rdoc/options.rb#351
+ # source://rdoc//lib/rdoc/options.rb#351
def init_ivars; end
- # source://rdoc//rdoc/options.rb#396
+ # source://rdoc//lib/rdoc/options.rb#396
def init_with(map); end
# Include line numbers in the source code
#
- # source://rdoc//rdoc/options.rb#216
+ # source://rdoc//lib/rdoc/options.rb#216
def line_numbers; end
# Include line numbers in the source code
#
- # source://rdoc//rdoc/options.rb#216
+ # source://rdoc//lib/rdoc/options.rb#216
def line_numbers=(_arg0); end
# The output locale.
#
- # source://rdoc//rdoc/options.rb#221
+ # source://rdoc//lib/rdoc/options.rb#221
def locale; end
# The output locale.
#
- # source://rdoc//rdoc/options.rb#221
+ # source://rdoc//lib/rdoc/options.rb#221
def locale=(_arg0); end
# The directory where locale data live.
#
- # source://rdoc//rdoc/options.rb#226
+ # source://rdoc//lib/rdoc/options.rb#226
def locale_dir; end
# The directory where locale data live.
#
- # source://rdoc//rdoc/options.rb#226
+ # source://rdoc//lib/rdoc/options.rb#226
def locale_dir=(_arg0); end
# Name of the file, class or module to display in the initial index page (if
# not specified the first file we encounter is used)
#
- # source://rdoc//rdoc/options.rb#232
+ # source://rdoc//lib/rdoc/options.rb#232
def main_page; end
# Name of the file, class or module to display in the initial index page (if
# not specified the first file we encounter is used)
#
- # source://rdoc//rdoc/options.rb#232
+ # source://rdoc//lib/rdoc/options.rb#232
def main_page=(_arg0); end
# The default markup format. The default is 'rdoc'. 'markdown', 'tomdoc'
# and 'rd' are also built-in.
#
- # source://rdoc//rdoc/options.rb#238
+ # source://rdoc//lib/rdoc/options.rb#238
def markup; end
# The default markup format. The default is 'rdoc'. 'markdown', 'tomdoc'
# and 'rd' are also built-in.
#
- # source://rdoc//rdoc/options.rb#238
+ # source://rdoc//lib/rdoc/options.rb#238
def markup=(_arg0); end
# The name of the output directory
#
- # source://rdoc//rdoc/options.rb#248
+ # source://rdoc//lib/rdoc/options.rb#248
def op_dir; end
# The name of the output directory
#
- # source://rdoc//rdoc/options.rb#248
+ # source://rdoc//lib/rdoc/options.rb#248
def op_dir=(_arg0); end
# The OptionParser for this instance
#
- # source://rdoc//rdoc/options.rb#253
+ # source://rdoc//lib/rdoc/options.rb#253
def option_parser; end
# The OptionParser for this instance
#
- # source://rdoc//rdoc/options.rb#253
+ # source://rdoc//lib/rdoc/options.rb#253
def option_parser=(_arg0); end
# Output heading decorations?
#
- # source://rdoc//rdoc/options.rb#257
+ # source://rdoc//lib/rdoc/options.rb#257
def output_decoration; end
# Output heading decorations?
#
- # source://rdoc//rdoc/options.rb#257
+ # source://rdoc//lib/rdoc/options.rb#257
def output_decoration=(_arg0); end
- # source://rdoc//rdoc/options.rb#427
+ # source://rdoc//lib/rdoc/options.rb#427
def override(map); end
# Directory where guides, FAQ, and other pages not associated with a class
# live. You may leave this unset if these are at the root of your project.
#
- # source://rdoc//rdoc/options.rb#263
+ # source://rdoc//lib/rdoc/options.rb#263
def page_dir; end
# Directory where guides, FAQ, and other pages not associated with a class
# live. You may leave this unset if these are at the root of your project.
#
- # source://rdoc//rdoc/options.rb#263
+ # source://rdoc//lib/rdoc/options.rb#263
def page_dir=(_arg0); end
# Parses command line options.
#
- # source://rdoc//rdoc/options.rb#646
+ # source://rdoc//lib/rdoc/options.rb#646
def parse(argv); end
# Is RDoc in pipe mode?
#
- # source://rdoc//rdoc/options.rb#268
+ # source://rdoc//lib/rdoc/options.rb#268
def pipe; end
# Is RDoc in pipe mode?
#
- # source://rdoc//rdoc/options.rb#268
+ # source://rdoc//lib/rdoc/options.rb#268
def pipe=(_arg0); end
# Don't display progress as we process the files
#
- # source://rdoc//rdoc/options.rb#1191
+ # source://rdoc//lib/rdoc/options.rb#1191
def quiet; end
# Set quietness to +bool+
#
- # source://rdoc//rdoc/options.rb#1198
+ # source://rdoc//lib/rdoc/options.rb#1198
def quiet=(bool); end
# Array of directories to search for files to satisfy an :include:
#
- # source://rdoc//rdoc/options.rb#273
+ # source://rdoc//lib/rdoc/options.rb#273
def rdoc_include; end
# Array of directories to search for files to satisfy an :include:
#
- # source://rdoc//rdoc/options.rb#273
+ # source://rdoc//lib/rdoc/options.rb#273
def rdoc_include=(_arg0); end
# Root of the source documentation will be generated for. Set this when
# building documentation outside the source directory. Defaults to the
# current directory.
#
- # source://rdoc//rdoc/options.rb#280
+ # source://rdoc//lib/rdoc/options.rb#280
def root; end
# Root of the source documentation will be generated for. Set this when
# building documentation outside the source directory. Defaults to the
# current directory.
#
- # source://rdoc//rdoc/options.rb#280
+ # source://rdoc//lib/rdoc/options.rb#280
def root=(_arg0); end
# Removes directories from +path+ that are outside the current directory
#
- # source://rdoc//rdoc/options.rb#1205
+ # source://rdoc//lib/rdoc/options.rb#1205
def sanitize_path(path); end
# Set up an output generator for the named +generator_name+.
@@ -7891,117 +8023,117 @@ class RDoc::Options
# the options instance. This allows generators to add custom options or set
# default options.
#
- # source://rdoc//rdoc/options.rb#1232
+ # source://rdoc//lib/rdoc/options.rb#1232
def setup_generator(generator_name = T.unsafe(nil)); end
# Include the '#' at the front of hyperlinked instance method names
#
- # source://rdoc//rdoc/options.rb#285
+ # source://rdoc//lib/rdoc/options.rb#285
def show_hash; end
# Include the '#' at the front of hyperlinked instance method names
#
- # source://rdoc//rdoc/options.rb#285
+ # source://rdoc//lib/rdoc/options.rb#285
def show_hash=(_arg0); end
# Indicates if files of test suites should be skipped
#
- # source://rdoc//rdoc/options.rb#344
+ # source://rdoc//lib/rdoc/options.rb#344
def skip_tests; end
# Indicates if files of test suites should be skipped
#
- # source://rdoc//rdoc/options.rb#344
+ # source://rdoc//lib/rdoc/options.rb#344
def skip_tests=(_arg0); end
# Directory to copy static files from
#
- # source://rdoc//rdoc/options.rb#290
+ # source://rdoc//lib/rdoc/options.rb#290
def static_path; end
# Directory to copy static files from
#
- # source://rdoc//rdoc/options.rb#290
+ # source://rdoc//lib/rdoc/options.rb#290
def static_path=(_arg0); end
# The number of columns in a tab
#
- # source://rdoc//rdoc/options.rb#295
+ # source://rdoc//lib/rdoc/options.rb#295
def tab_width; end
# The number of columns in a tab
#
- # source://rdoc//rdoc/options.rb#295
+ # source://rdoc//lib/rdoc/options.rb#295
def tab_width=(_arg0); end
# Template to be used when generating output
#
- # source://rdoc//rdoc/options.rb#300
+ # source://rdoc//lib/rdoc/options.rb#300
def template; end
# Template to be used when generating output
#
- # source://rdoc//rdoc/options.rb#300
+ # source://rdoc//lib/rdoc/options.rb#300
def template=(_arg0); end
# Directory the template lives in
#
- # source://rdoc//rdoc/options.rb#305
+ # source://rdoc//lib/rdoc/options.rb#305
def template_dir; end
# Directory the template lives in
#
- # source://rdoc//rdoc/options.rb#305
+ # source://rdoc//lib/rdoc/options.rb#305
def template_dir=(_arg0); end
# Finds the template dir for +template+
#
- # source://rdoc//rdoc/options.rb#1254
+ # source://rdoc//lib/rdoc/options.rb#1254
def template_dir_for(template); end
# Additional template stylesheets
#
- # source://rdoc//rdoc/options.rb#310
+ # source://rdoc//lib/rdoc/options.rb#310
def template_stylesheets; end
# Additional template stylesheets
#
- # source://rdoc//rdoc/options.rb#310
+ # source://rdoc//lib/rdoc/options.rb#310
def template_stylesheets=(_arg0); end
# Documentation title
#
- # source://rdoc//rdoc/options.rb#315
+ # source://rdoc//lib/rdoc/options.rb#315
def title; end
# Documentation title
#
- # source://rdoc//rdoc/options.rb#315
+ # source://rdoc//lib/rdoc/options.rb#315
def title=(_arg0); end
# For dumping YAML
#
- # source://rdoc//rdoc/options.rb#523
+ # source://rdoc//lib/rdoc/options.rb#523
def to_yaml(*options); end
# Should RDoc update the timestamps in the output dir?
#
- # source://rdoc//rdoc/options.rb#320
+ # source://rdoc//lib/rdoc/options.rb#320
def update_output_dir; end
# Should RDoc update the timestamps in the output dir?
#
- # source://rdoc//rdoc/options.rb#320
+ # source://rdoc//lib/rdoc/options.rb#320
def update_output_dir=(_arg0); end
# Verbosity, zero means quiet
#
- # source://rdoc//rdoc/options.rb#325
+ # source://rdoc//lib/rdoc/options.rb#325
def verbosity; end
# Verbosity, zero means quiet
#
- # source://rdoc//rdoc/options.rb#325
+ # source://rdoc//lib/rdoc/options.rb#325
def verbosity=(_arg0); end
# Minimum visibility of a documented method. One of +:public+, +:protected+,
@@ -8010,7 +8142,7 @@ class RDoc::Options
# The +:nodoc+ visibility ignores all directives related to visibility. The
# directive.
#
- # source://rdoc//rdoc/options.rb#340
+ # source://rdoc//lib/rdoc/options.rb#340
def visibility; end
# Sets the minimum visibility of a documented method.
@@ -8020,31 +8152,31 @@ class RDoc::Options
# When +:all+ is passed, visibility is set to +:private+, similarly to
# RDOCOPT="--all", see #visibility for more information.
#
- # source://rdoc//rdoc/options.rb#1271
+ # source://rdoc//lib/rdoc/options.rb#1271
def visibility=(visibility); end
# Displays a warning using Kernel#warn if we're being verbose
#
- # source://rdoc//rdoc/options.rb#1283
+ # source://rdoc//lib/rdoc/options.rb#1283
def warn(message); end
# URL of web cvs frontend
#
- # source://rdoc//rdoc/options.rb#330
+ # source://rdoc//lib/rdoc/options.rb#330
def webcvs; end
# URL of web cvs frontend
#
- # source://rdoc//rdoc/options.rb#330
+ # source://rdoc//lib/rdoc/options.rb#330
def webcvs=(_arg0); end
# Writes the YAML file .rdoc_options to the current directory containing the
# parsed options.
#
- # source://rdoc//rdoc/options.rb#1291
+ # source://rdoc//lib/rdoc/options.rb#1291
def write_options; end
- # source://rdoc//rdoc/options.rb#423
+ # source://rdoc//lib/rdoc/options.rb#423
def yaml_initialize(tag, map); end
class << self
@@ -8053,7 +8185,7 @@ class RDoc::Options
#
# @raise [RDoc::Error]
#
- # source://rdoc//rdoc/options.rb#1305
+ # source://rdoc//lib/rdoc/options.rb#1305
def load_options; end
end
end
@@ -8085,6 +8217,8 @@ end
# # parse file and fill in @top_level
# end
# end
+#
+# source://rdoc//lib/rdoc/parser.rb#33
class RDoc::Parser
# Creates a new Parser storing +top_level+, +file_name+, +content+,
# +options+ and +stats+ in instance variables. In +@preprocess+ an
@@ -8093,24 +8227,24 @@ class RDoc::Parser
#
# @return [Parser] a new instance of Parser
#
- # source://rdoc//rdoc/parser.rb#252
+ # source://rdoc//lib/rdoc/parser.rb#252
def initialize(top_level, file_name, content, options, stats); end
# The name of the file being parsed
#
- # source://rdoc//rdoc/parser.rb#52
+ # source://rdoc//lib/rdoc/parser.rb#52
def file_name; end
# Normalizes tabs in +body+
#
- # source://rdoc//rdoc/parser.rb#272
+ # source://rdoc//lib/rdoc/parser.rb#272
def handle_tab_width(body); end
class << self
# Alias an extension to another extension. After this call, files ending
# "new_ext" will be parsed using the same parser as "old_ext"
#
- # source://rdoc//rdoc/parser.rb#58
+ # source://rdoc//lib/rdoc/parser.rb#58
def alias_extension(old_ext, new_ext); end
# Determines if the file is a "binary" file which basically means it has
@@ -8118,36 +8252,36 @@ class RDoc::Parser
#
# @return [Boolean]
#
- # source://rdoc//rdoc/parser.rb#74
+ # source://rdoc//lib/rdoc/parser.rb#74
def binary?(file); end
# Return a parser that can handle a particular extension
#
- # source://rdoc//rdoc/parser.rb#107
+ # source://rdoc//lib/rdoc/parser.rb#107
def can_parse(file_name); end
# Returns a parser that can handle the extension for +file_name+. This does
# not depend upon the file being readable.
#
- # source://rdoc//rdoc/parser.rb#120
+ # source://rdoc//lib/rdoc/parser.rb#120
def can_parse_by_name(file_name); end
# Returns the file type from the modeline in +file_name+
#
- # source://rdoc//rdoc/parser.rb#141
+ # source://rdoc//lib/rdoc/parser.rb#141
def check_modeline(file_name); end
# Finds and instantiates the correct parser for the given +file_name+ and
# +content+.
#
- # source://rdoc//rdoc/parser.rb#167
+ # source://rdoc//lib/rdoc/parser.rb#167
def for(top_level, file_name, content, options, stats); end
# Record which file types this parser can understand.
#
# It is ok to call this multiple times.
#
- # source://rdoc//rdoc/parser.rb#201
+ # source://rdoc//lib/rdoc/parser.rb#201
def parse_files_matching(regexp); end
# An Array of arrays that maps file extension (or name) regular
@@ -8155,12 +8289,12 @@ class RDoc::Parser
#
# Use parse_files_matching to register a parser's file extensions.
#
- # source://rdoc//rdoc/parser.rb#45
+ # source://rdoc//lib/rdoc/parser.rb#45
def parsers; end
# Removes an emacs-style modeline from the first line of the document
#
- # source://rdoc//rdoc/parser.rb#208
+ # source://rdoc//lib/rdoc/parser.rb#208
def remove_modeline(content); end
# If there is a markup: parser_name comment at the front of the
@@ -8179,7 +8313,7 @@ class RDoc::Parser
#
# Any comment style may be used to hide the markup comment.
#
- # source://rdoc//rdoc/parser.rb#229
+ # source://rdoc//lib/rdoc/parser.rb#229
def use_markup(content); end
# Checks if +file+ is a zip file in disguise. Signatures from
@@ -8187,7 +8321,7 @@ class RDoc::Parser
#
# @return [Boolean]
#
- # source://rdoc//rdoc/parser.rb#94
+ # source://rdoc//lib/rdoc/parser.rb#94
def zip?(file); end
end
end
@@ -8305,6 +8439,8 @@ end
# * In the second form, if the key isn't found, invoke the
# * block and return its value.
# */
+#
+# source://rdoc//lib/rdoc/parser/c.rb#119
class RDoc::Parser::C < ::RDoc::Parser
include ::RDoc::Text
@@ -8313,85 +8449,85 @@ class RDoc::Parser::C < ::RDoc::Parser
#
# @return [C] a new instance of C
#
- # source://rdoc//rdoc/parser/c.rb#171
+ # source://rdoc//lib/rdoc/parser/c.rb#171
def initialize(top_level, file_name, content, options, stats); end
# Add alias, either from a direct alias definition, or from two
# method that reference the same function.
#
- # source://rdoc//rdoc/parser/c.rb#250
+ # source://rdoc//lib/rdoc/parser/c.rb#250
def add_alias(var_name, class_obj, old_name, new_name, comment); end
# Maps C variable names to names of Ruby classes or modules
#
- # source://rdoc//rdoc/parser/c.rb#133
+ # source://rdoc//lib/rdoc/parser/c.rb#133
def classes; end
# C file the parser is parsing
#
- # source://rdoc//rdoc/parser/c.rb#138
+ # source://rdoc//lib/rdoc/parser/c.rb#138
def content; end
# C file the parser is parsing
#
- # source://rdoc//rdoc/parser/c.rb#138
+ # source://rdoc//lib/rdoc/parser/c.rb#138
def content=(_arg0); end
# Scans #content for rb_define_alias
#
- # source://rdoc//rdoc/parser/c.rb#222
+ # source://rdoc//lib/rdoc/parser/c.rb#222
def do_aliases; end
# Scans #content for rb_attr and rb_define_attr
#
- # source://rdoc//rdoc/parser/c.rb#263
+ # source://rdoc//lib/rdoc/parser/c.rb#263
def do_attrs; end
# Scans #content for boot_defclass
#
- # source://rdoc//rdoc/parser/c.rb#286
+ # source://rdoc//lib/rdoc/parser/c.rb#286
def do_boot_defclass; end
# Scans #content for rb_define_class, boot_defclass, rb_define_class_under
# and rb_singleton_class
#
- # source://rdoc//rdoc/parser/c.rb#298
+ # source://rdoc//lib/rdoc/parser/c.rb#298
def do_classes_and_modules; end
# Scans #content for rb_define_variable, rb_define_readonly_variable,
# rb_define_const and rb_define_global_const
#
- # source://rdoc//rdoc/parser/c.rb#396
+ # source://rdoc//lib/rdoc/parser/c.rb#396
def do_constants; end
# Scans #content for rb_include_module
#
- # source://rdoc//rdoc/parser/c.rb#442
+ # source://rdoc//lib/rdoc/parser/c.rb#442
def do_includes; end
# Scans #content for rb_define_method, rb_define_singleton_method,
# rb_define_module_function, rb_define_private_method,
# rb_define_global_function and define_filetest_function
#
- # source://rdoc//rdoc/parser/c.rb#458
+ # source://rdoc//lib/rdoc/parser/c.rb#458
def do_methods; end
# Creates classes and module that were missing were defined due to the file
# order being different than the declaration order.
#
- # source://rdoc//rdoc/parser/c.rb#507
+ # source://rdoc//lib/rdoc/parser/c.rb#507
def do_missing; end
# Dependencies from a missing enclosing class to the classes in
# missing_dependencies that depend upon it.
#
- # source://rdoc//rdoc/parser/c.rb#144
+ # source://rdoc//lib/rdoc/parser/c.rb#144
def enclosure_dependencies; end
# Finds the comment for an alias on +class_name+ from +new_name+ to
# +old_name+
#
- # source://rdoc//rdoc/parser/c.rb#523
+ # source://rdoc//lib/rdoc/parser/c.rb#523
def find_alias_comment(class_name, new_name, old_name); end
# Finds a comment for rb_define_attr, rb_attr or Document-attr.
@@ -8402,17 +8538,17 @@ class RDoc::Parser::C < ::RDoc::Parser
# +read+ and +write+ are the read/write flags ('1' or '0'). Either both or
# neither must be provided.
#
- # source://rdoc//rdoc/parser/c.rb#541
+ # source://rdoc//lib/rdoc/parser/c.rb#541
def find_attr_comment(var_name, attr_name, read = T.unsafe(nil), write = T.unsafe(nil)); end
# Find the C code corresponding to a Ruby method
#
- # source://rdoc//rdoc/parser/c.rb#598
+ # source://rdoc//lib/rdoc/parser/c.rb#598
def find_body(class_name, meth_name, meth_obj, file_content, quiet = T.unsafe(nil)); end
# Finds a RDoc::NormalClass or RDoc::NormalModule for +raw_name+
#
- # source://rdoc//rdoc/parser/c.rb#682
+ # source://rdoc//lib/rdoc/parser/c.rb#682
def find_class(raw_name, name, base_name = T.unsafe(nil)); end
# Look for class or module documentation above Init_+class_name+(void),
@@ -8440,45 +8576,45 @@ class RDoc::Parser::C < ::RDoc::Parser
# */
# VALUE cFoo = rb_define_class("Foo", rb_cObject);
#
- # source://rdoc//rdoc/parser/c.rb#723
+ # source://rdoc//lib/rdoc/parser/c.rb#723
def find_class_comment(class_name, class_mod); end
# Finds a comment matching +type+ and +const_name+ either above the
# comment or in the matching Document- section.
#
- # source://rdoc//rdoc/parser/c.rb#779
+ # source://rdoc//lib/rdoc/parser/c.rb#779
def find_const_comment(type, const_name, class_name = T.unsafe(nil)); end
# Handles modifiers in +comment+ and updates +meth_obj+ as appropriate.
#
- # source://rdoc//rdoc/parser/c.rb#796
+ # source://rdoc//lib/rdoc/parser/c.rb#796
def find_modifiers(comment, meth_obj); end
# Finds a Document-method override for +meth_obj+ on +class_name+
#
- # source://rdoc//rdoc/parser/c.rb#806
+ # source://rdoc//lib/rdoc/parser/c.rb#806
def find_override_comment(class_name, meth_obj); end
# Generate a Ruby-method table
#
- # source://rdoc//rdoc/parser/c.rb#574
+ # source://rdoc//lib/rdoc/parser/c.rb#574
def gen_body_table(file_content); end
# Generate a const table
#
- # source://rdoc//rdoc/parser/c.rb#756
+ # source://rdoc//lib/rdoc/parser/c.rb#756
def gen_const_table(file_content); end
# Creates a new RDoc::Attr +attr_name+ on class +var_name+ that is either
# +read+, +write+ or both
#
- # source://rdoc//rdoc/parser/c.rb#828
+ # source://rdoc//lib/rdoc/parser/c.rb#828
def handle_attr(var_name, attr_name, read, write); end
# Creates a new RDoc::NormalClass or RDoc::NormalModule based on +type+
# named +class_name+ in +parent+ which was assigned to the C +var_name+.
#
- # source://rdoc//rdoc/parser/c.rb#857
+ # source://rdoc//lib/rdoc/parser/c.rb#857
def handle_class_module(var_name, type, class_name, parent, in_module); end
# Adds constants. By providing some_value: at the start of the comment you
@@ -8490,35 +8626,35 @@ class RDoc::Parser::C < ::RDoc::Parser
# Will override INT2FIX(300) with the value +300+ in the output
# RDoc. Values may include quotes and escaped colons (\:).
#
- # source://rdoc//rdoc/parser/c.rb#922
+ # source://rdoc//lib/rdoc/parser/c.rb#922
def handle_constants(type, var_name, const_name, definition); end
# Removes #ifdefs that would otherwise confuse us
#
- # source://rdoc//rdoc/parser/c.rb#972
+ # source://rdoc//lib/rdoc/parser/c.rb#972
def handle_ifdefs_in(body); end
# Adds an RDoc::AnyMethod +meth_name+ defined on a class or module assigned
# to +var_name+. +type+ is the type of method definition function used.
# +singleton_method+ and +module_function+ create a singleton method.
#
- # source://rdoc//rdoc/parser/c.rb#981
+ # source://rdoc//lib/rdoc/parser/c.rb#981
def handle_method(type, var_name, meth_name, function, param_count, source_file = T.unsafe(nil)); end
# Registers a singleton class +sclass_var+ as a singleton of +class_var+
#
- # source://rdoc//rdoc/parser/c.rb#1051
+ # source://rdoc//lib/rdoc/parser/c.rb#1051
def handle_singleton(sclass_var, class_var); end
# Maps C variable names to names of Ruby classes (and singleton classes)
#
- # source://rdoc//rdoc/parser/c.rb#149
+ # source://rdoc//lib/rdoc/parser/c.rb#149
def known_classes; end
# Loads the variable map with the given +name+ from the RDoc::Store, if
# present.
#
- # source://rdoc//rdoc/parser/c.rb#1062
+ # source://rdoc//lib/rdoc/parser/c.rb#1062
def load_variable_map(map_name); end
# Look for directives in a normal comment block:
@@ -8529,55 +8665,55 @@ class RDoc::Parser::C < ::RDoc::Parser
#
# This method modifies the +comment+
#
- # source://rdoc//rdoc/parser/c.rb#1091
+ # source://rdoc//lib/rdoc/parser/c.rb#1091
def look_for_directives_in(context, comment); end
# Classes found while parsing the C file that were not yet registered due to
# a missing enclosing class. These are processed by do_missing
#
- # source://rdoc//rdoc/parser/c.rb#155
+ # source://rdoc//lib/rdoc/parser/c.rb#155
def missing_dependencies; end
# Creates a RDoc::Comment instance.
#
- # source://rdoc//rdoc/parser/c.rb#1221
+ # source://rdoc//lib/rdoc/parser/c.rb#1221
def new_comment(text = T.unsafe(nil), location = T.unsafe(nil), language = T.unsafe(nil)); end
# Extracts parameters from the +method_body+ and returns a method
# parameter string. Follows 1.9.3dev's scan-arg-spec, see README.EXT
#
- # source://rdoc//rdoc/parser/c.rb#1110
+ # source://rdoc//lib/rdoc/parser/c.rb#1110
def rb_scan_args(method_body); end
# Removes lines that are commented out that might otherwise get picked up
# when scanning for classes and methods
#
- # source://rdoc//rdoc/parser/c.rb#1193
+ # source://rdoc//lib/rdoc/parser/c.rb#1193
def remove_commented_out_lines; end
# Extracts the classes, modules, methods, attributes, constants and aliases
# from a C file and returns an RDoc::TopLevel for this file
#
- # source://rdoc//rdoc/parser/c.rb#1201
+ # source://rdoc//lib/rdoc/parser/c.rb#1201
def scan; end
# Maps C variable names to names of Ruby singleton classes
#
- # source://rdoc//rdoc/parser/c.rb#160
+ # source://rdoc//lib/rdoc/parser/c.rb#160
def singleton_classes; end
# The TopLevel items in the parsed file belong to
#
- # source://rdoc//rdoc/parser/c.rb#165
+ # source://rdoc//lib/rdoc/parser/c.rb#165
def top_level; end
end
# :stopdoc:
#
-# source://rdoc//rdoc/parser/c.rb#126
+# source://rdoc//lib/rdoc/parser/c.rb#126
RDoc::Parser::C::BOOL_ARG_PATTERN = T.let(T.unsafe(nil), Regexp)
-# source://rdoc//rdoc/parser/c.rb#127
+# source://rdoc//lib/rdoc/parser/c.rb#127
RDoc::Parser::C::TRUE_VALUES = T.let(T.unsafe(nil), Array)
# A ChangeLog file parser.
@@ -8589,6 +8725,8 @@ RDoc::Parser::C::TRUE_VALUES = T.let(T.unsafe(nil), Array)
# This parser is meant to parse the MRI ChangeLog, but can be used to parse any
# {GNU style Change
# Log}[http://www.gnu.org/prep/standards/html_node/Style-of-Change-Logs.html].
+#
+# source://rdoc//lib/rdoc/parser/changelog.rb#14
class RDoc::Parser::ChangeLog < ::RDoc::Parser
include ::RDoc::Parser::Text
@@ -8597,34 +8735,34 @@ class RDoc::Parser::ChangeLog < ::RDoc::Parser
# Continued function listings are joined together as a single entry.
# Continued descriptions are joined to make a single paragraph.
#
- # source://rdoc//rdoc/parser/changelog.rb#26
+ # source://rdoc//lib/rdoc/parser/changelog.rb#26
def continue_entry_body(entry_body, continuation); end
# Creates an RDoc::Markup::Document given the +groups+ of ChangeLog entries.
#
- # source://rdoc//rdoc/parser/changelog.rb#44
+ # source://rdoc//lib/rdoc/parser/changelog.rb#44
def create_document(groups); end
# Returns a list of ChangeLog entries an RDoc::Markup nodes for the given
# +entries+.
#
- # source://rdoc//rdoc/parser/changelog.rb#66
+ # source://rdoc//lib/rdoc/parser/changelog.rb#66
def create_entries(entries); end
# Returns an RDoc::Markup::List containing the given +items+ in the
# ChangeLog
#
- # source://rdoc//rdoc/parser/changelog.rb#83
+ # source://rdoc//lib/rdoc/parser/changelog.rb#83
def create_items(items); end
# Groups +entries+ by date.
#
- # source://rdoc//rdoc/parser/changelog.rb#103
+ # source://rdoc//lib/rdoc/parser/changelog.rb#103
def group_entries(entries); end
# Parse date in ISO-8601, RFC-2822, or default of Git
#
- # source://rdoc//rdoc/parser/changelog.rb#119
+ # source://rdoc//lib/rdoc/parser/changelog.rb#119
def parse_date(date); end
# Parses the entries in the ChangeLog.
@@ -8641,49 +8779,52 @@ class RDoc::Parser::ChangeLog < ::RDoc::Parser
# [ 'README.EXT: Converted to RDoc format',
# 'README.EXT.ja: ditto']]
#
- # source://rdoc//rdoc/parser/changelog.rb#149
+ # source://rdoc//lib/rdoc/parser/changelog.rb#149
def parse_entries; end
# Converts the ChangeLog into an RDoc::Markup::Document
#
- # source://rdoc//rdoc/parser/changelog.rb#206
+ # source://rdoc//lib/rdoc/parser/changelog.rb#206
def scan; end
end
# The extension for Git commit log
+#
+# source://rdoc//lib/rdoc/parser/changelog.rb#222
module RDoc::Parser::ChangeLog::Git
# Returns a list of ChangeLog entries as
# RDoc::Parser::ChangeLog::Git::LogEntry list for the given
# +entries+.
#
- # source://rdoc//rdoc/parser/changelog.rb#262
+ # source://rdoc//lib/rdoc/parser/changelog.rb#262
def create_entries(entries); end
# Parses the entries in the Git commit logs
#
- # source://rdoc//rdoc/parser/changelog.rb#235
+ # source://rdoc//lib/rdoc/parser/changelog.rb#235
def parse_entries; end
# Parses auxiliary info. Currentry `base-url` to expand
# references is effective.
#
- # source://rdoc//rdoc/parser/changelog.rb#227
+ # source://rdoc//lib/rdoc/parser/changelog.rb#227
def parse_info(info); end
end
-# source://rdoc//rdoc/parser/changelog.rb#271
+# source://rdoc//lib/rdoc/parser/changelog.rb#271
RDoc::Parser::ChangeLog::Git::HEADING_LEVEL = T.let(T.unsafe(nil), Integer)
+# source://rdoc//lib/rdoc/parser/changelog.rb#270
class RDoc::Parser::ChangeLog::Git::LogEntry < ::Struct
# @return [LogEntry] a new instance of LogEntry
#
- # source://rdoc//rdoc/parser/changelog.rb#273
+ # source://rdoc//lib/rdoc/parser/changelog.rb#273
def initialize(base, commit, author, email, date, contents); end
- # source://rdoc//rdoc/parser/changelog.rb#313
+ # source://rdoc//lib/rdoc/parser/changelog.rb#313
def accept(visitor); end
- # source://rdoc//rdoc/parser/changelog.rb#294
+ # source://rdoc//lib/rdoc/parser/changelog.rb#294
def aref; end
# Returns the value of attribute author
@@ -8752,16 +8893,16 @@ class RDoc::Parser::ChangeLog::Git::LogEntry < ::Struct
# @return [Object] the newly set value
def email=(_); end
- # source://rdoc//rdoc/parser/changelog.rb#298
+ # source://rdoc//lib/rdoc/parser/changelog.rb#298
def label(context = T.unsafe(nil)); end
- # source://rdoc//rdoc/parser/changelog.rb#290
+ # source://rdoc//lib/rdoc/parser/changelog.rb#290
def level; end
- # source://rdoc//rdoc/parser/changelog.rb#330
+ # source://rdoc//lib/rdoc/parser/changelog.rb#330
def pretty_print(q); end
- # source://rdoc//rdoc/parser/changelog.rb#302
+ # source://rdoc//lib/rdoc/parser/changelog.rb#302
def text; end
class << self
@@ -8775,67 +8916,73 @@ end
# Parse a Markdown format file. The parsed RDoc::Markup::Document is attached
# as a file comment.
+#
+# source://rdoc//lib/rdoc/parser/markdown.rb#6
class RDoc::Parser::Markdown < ::RDoc::Parser
include ::RDoc::Parser::Text
# Creates an Markdown-format TopLevel for the given file.
#
- # source://rdoc//rdoc/parser/markdown.rb#15
+ # source://rdoc//lib/rdoc/parser/markdown.rb#15
def scan; end
end
# Parse a RD format file. The parsed RDoc::Markup::Document is attached as a
# file comment.
+#
+# source://rdoc//lib/rdoc/parser/rd.rb#6
class RDoc::Parser::RD < ::RDoc::Parser
include ::RDoc::Parser::Text
# Creates an rd-format TopLevel for the given file.
#
- # source://rdoc//rdoc/parser/rd.rb#15
+ # source://rdoc//lib/rdoc/parser/rd.rb#15
def scan; end
end
# Wrapper for Ripper lex states
+#
+# source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#7
class RDoc::Parser::RipperStateLex
# New lexer for +code+.
#
# @return [RipperStateLex] a new instance of RipperStateLex
#
- # source://rdoc//rdoc/parser/ripper_state_lex.rb#576
+ # source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#576
def initialize(code); end
- # source://rdoc//rdoc/parser/ripper_state_lex.rb#322
+ # source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#322
def get_squashed_tk; end
private
- # source://rdoc//rdoc/parser/ripper_state_lex.rb#465
+ # source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#465
def get_embdoc_tk(tk); end
- # source://rdoc//rdoc/parser/ripper_state_lex.rb#474
+ # source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#474
def get_heredoc_tk(heredoc_name, indent); end
- # source://rdoc//rdoc/parser/ripper_state_lex.rb#549
+ # source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#549
def get_op_tk(tk); end
- # source://rdoc//rdoc/parser/ripper_state_lex.rb#447
+ # source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#447
def get_regexp_tk(tk); end
- # source://rdoc//rdoc/parser/ripper_state_lex.rb#420
+ # source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#420
def get_string_tk(tk); end
- # source://rdoc//rdoc/parser/ripper_state_lex.rb#373
+ # source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#373
def get_symbol_tk(tk); end
- # source://rdoc//rdoc/parser/ripper_state_lex.rb#511
+ # source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#511
def get_words_tk(tk); end
# @return [Boolean]
#
- # source://rdoc//rdoc/parser/ripper_state_lex.rb#499
+ # source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#499
def heredoc_end?(name, indent, tk); end
- # source://rdoc//rdoc/parser/ripper_state_lex.rb#493
+ # source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#493
def retrieve_heredoc_info(tk); end
class << self
@@ -8843,85 +8990,87 @@ class RDoc::Parser::RipperStateLex
#
# @return [Boolean]
#
- # source://rdoc//rdoc/parser/ripper_state_lex.rb#597
+ # source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#597
def end?(token); end
# Returns tokens parsed from +code+.
#
- # source://rdoc//rdoc/parser/ripper_state_lex.rb#584
+ # source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#584
def parse(code); end
end
end
-# source://rdoc//rdoc/parser/ripper_state_lex.rb#20
+# source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#20
RDoc::Parser::RipperStateLex::EXPR_ARG = T.let(T.unsafe(nil), Integer)
-# source://rdoc//rdoc/parser/ripper_state_lex.rb#31
+# source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#31
RDoc::Parser::RipperStateLex::EXPR_ARG_ANY = T.let(T.unsafe(nil), Integer)
-# source://rdoc//rdoc/parser/ripper_state_lex.rb#16
+# source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#16
RDoc::Parser::RipperStateLex::EXPR_BEG = T.let(T.unsafe(nil), Integer)
-# source://rdoc//rdoc/parser/ripper_state_lex.rb#30
+# source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#30
RDoc::Parser::RipperStateLex::EXPR_BEG_ANY = T.let(T.unsafe(nil), Integer)
-# source://rdoc//rdoc/parser/ripper_state_lex.rb#25
+# source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#25
RDoc::Parser::RipperStateLex::EXPR_CLASS = T.let(T.unsafe(nil), Integer)
-# source://rdoc//rdoc/parser/ripper_state_lex.rb#21
+# source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#21
RDoc::Parser::RipperStateLex::EXPR_CMDARG = T.let(T.unsafe(nil), Integer)
-# source://rdoc//rdoc/parser/ripper_state_lex.rb#24
+# source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#24
RDoc::Parser::RipperStateLex::EXPR_DOT = T.let(T.unsafe(nil), Integer)
-# source://rdoc//rdoc/parser/ripper_state_lex.rb#17
+# source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#17
RDoc::Parser::RipperStateLex::EXPR_END = T.let(T.unsafe(nil), Integer)
-# source://rdoc//rdoc/parser/ripper_state_lex.rb#18
+# source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#18
RDoc::Parser::RipperStateLex::EXPR_ENDARG = T.let(T.unsafe(nil), Integer)
-# source://rdoc//rdoc/parser/ripper_state_lex.rb#19
+# source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#19
RDoc::Parser::RipperStateLex::EXPR_ENDFN = T.let(T.unsafe(nil), Integer)
-# source://rdoc//rdoc/parser/ripper_state_lex.rb#32
+# source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#32
RDoc::Parser::RipperStateLex::EXPR_END_ANY = T.let(T.unsafe(nil), Integer)
-# source://rdoc//rdoc/parser/ripper_state_lex.rb#28
+# source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#28
RDoc::Parser::RipperStateLex::EXPR_FITEM = T.let(T.unsafe(nil), Integer)
-# source://rdoc//rdoc/parser/ripper_state_lex.rb#23
+# source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#23
RDoc::Parser::RipperStateLex::EXPR_FNAME = T.let(T.unsafe(nil), Integer)
-# source://rdoc//rdoc/parser/ripper_state_lex.rb#26
+# source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#26
RDoc::Parser::RipperStateLex::EXPR_LABEL = T.let(T.unsafe(nil), Integer)
-# source://rdoc//rdoc/parser/ripper_state_lex.rb#27
+# source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#27
RDoc::Parser::RipperStateLex::EXPR_LABELED = T.let(T.unsafe(nil), Integer)
-# source://rdoc//rdoc/parser/ripper_state_lex.rb#22
+# source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#22
RDoc::Parser::RipperStateLex::EXPR_MID = T.let(T.unsafe(nil), Integer)
-# source://rdoc//rdoc/parser/ripper_state_lex.rb#15
+# source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#15
RDoc::Parser::RipperStateLex::EXPR_NONE = T.let(T.unsafe(nil), Integer)
-# source://rdoc//rdoc/parser/ripper_state_lex.rb#29
+# source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#29
RDoc::Parser::RipperStateLex::EXPR_VALUE = T.let(T.unsafe(nil), Integer)
+# source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#312
class RDoc::Parser::RipperStateLex::InnerStateLex < ::Ripper::Filter
# @return [InnerStateLex] a new instance of InnerStateLex
#
- # source://rdoc//rdoc/parser/ripper_state_lex.rb#313
+ # source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#313
def initialize(code); end
- # source://rdoc//rdoc/parser/ripper_state_lex.rb#317
+ # source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#317
def on_default(event, tok, data); end
end
# TODO: Remove this constants after Ruby 2.4 EOL
#
-# source://rdoc//rdoc/parser/ripper_state_lex.rb#11
+# source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#11
RDoc::Parser::RipperStateLex::RIPPER_HAS_LEX_STATE = T.let(T.unsafe(nil), TrueClass)
+# source://rdoc//lib/rdoc/parser/ripper_state_lex.rb#13
class RDoc::Parser::RipperStateLex::Token < ::Struct
# Returns the value of attribute char_no
#
@@ -9115,6 +9264,8 @@ end
#
# Note that by default, the :method: directive will be ignored if there is a
# standard rdocable item following it.
+#
+# source://rdoc//lib/rdoc/parser/ruby.rb#144
class RDoc::Parser::Ruby < ::RDoc::Parser
include ::RDoc::TokenStream
include ::RDoc::Parser::RubyTools
@@ -9123,56 +9274,56 @@ class RDoc::Parser::Ruby < ::RDoc::Parser
#
# @return [Ruby] a new instance of Ruby
#
- # source://rdoc//rdoc/parser/ruby.rb#164
+ # source://rdoc//lib/rdoc/parser/ruby.rb#164
def initialize(top_level, file_name, content, options, stats); end
# Look for the first comment in a file that isn't a shebang line.
#
- # source://rdoc//rdoc/parser/ruby.rb#236
+ # source://rdoc//lib/rdoc/parser/ruby.rb#236
def collect_first_comment; end
# Consumes trailing whitespace from the token stream
#
- # source://rdoc//rdoc/parser/ruby.rb#279
+ # source://rdoc//lib/rdoc/parser/ruby.rb#279
def consume_trailing_spaces; end
# Creates a new attribute in +container+ with +name+.
#
- # source://rdoc//rdoc/parser/ruby.rb#286
+ # source://rdoc//lib/rdoc/parser/ruby.rb#286
def create_attr(container, single, name, rw, comment); end
# Creates a module alias in +container+ at +rhs_name+ (or at the top-level
# for "::") with the name from +constant+.
#
- # source://rdoc//rdoc/parser/ruby.rb#300
+ # source://rdoc//lib/rdoc/parser/ruby.rb#300
def create_module_alias(container, constant, rhs_name); end
# Aborts with +msg+
#
- # source://rdoc//rdoc/parser/ruby.rb#313
+ # source://rdoc//lib/rdoc/parser/ruby.rb#313
def error(msg); end
# Looks for a true or false token.
#
- # source://rdoc//rdoc/parser/ruby.rb#322
+ # source://rdoc//lib/rdoc/parser/ruby.rb#322
def get_bool; end
# Look for the name of a class of module (optionally with a leading :: or
# with :: separated named) and return the ultimate name, the associated
# container, and the given name (with the ::).
#
- # source://rdoc//rdoc/parser/ruby.rb#340
+ # source://rdoc//lib/rdoc/parser/ruby.rb#340
def get_class_or_module(container, ignore_constants = T.unsafe(nil)); end
# Return a superclass, which can be either a constant of an expression
#
- # source://rdoc//rdoc/parser/ruby.rb#423
+ # source://rdoc//lib/rdoc/parser/ruby.rb#423
def get_class_specification; end
# Parse a constant, which might be qualified by one or more class or module
# names
#
- # source://rdoc//rdoc/parser/ruby.rb#456
+ # source://rdoc//lib/rdoc/parser/ruby.rb#456
def get_constant; end
# Little hack going on here. In the statement:
@@ -9182,28 +9333,28 @@ class RDoc::Parser::Ruby < ::RDoc::Parser
# We see the RPAREN as the next token, so we need to exit early. This still
# won't catch all cases (such as "a = yield + 1"
#
- # source://rdoc//rdoc/parser/ruby.rb#558
+ # source://rdoc//lib/rdoc/parser/ruby.rb#558
def get_end_token(tk); end
# Get an included module that may be surrounded by parens
#
- # source://rdoc//rdoc/parser/ruby.rb#473
+ # source://rdoc//lib/rdoc/parser/ruby.rb#473
def get_included_module_with_optional_parens; end
# Retrieves the method container for a singleton method.
#
- # source://rdoc//rdoc/parser/ruby.rb#578
+ # source://rdoc//lib/rdoc/parser/ruby.rb#578
def get_method_container(container, name_t); end
# Extracts a name or symbol from the token stream.
#
- # source://rdoc//rdoc/parser/ruby.rb#621
+ # source://rdoc//lib/rdoc/parser/ruby.rb#621
def get_symbol_or_name; end
# Retrieves the read token stream and replaces +pattern+ with +replacement+
# using gsub. If the result is only a ";" returns an empty string.
#
- # source://rdoc//rdoc/parser/ruby.rb#194
+ # source://rdoc//lib/rdoc/parser/ruby.rb#194
def get_tkread_clean(pattern, replacement); end
# Extracts the visibility information for the visibility token +tk+
@@ -9213,7 +9364,7 @@ class RDoc::Parser::Ruby < ::RDoc::Parser
# +singleton+ if the methods following should be converted to singleton
# methods.
#
- # source://rdoc//rdoc/parser/ruby.rb#208
+ # source://rdoc//lib/rdoc/parser/ruby.rb#208
def get_visibility_information(tk, single); end
# Look for directives in a normal comment block:
@@ -9223,108 +9374,108 @@ class RDoc::Parser::Ruby < ::RDoc::Parser
#
# This routine modifies its +comment+ parameter.
#
- # source://rdoc//rdoc/parser/ruby.rb#661
+ # source://rdoc//lib/rdoc/parser/ruby.rb#661
def look_for_directives_in(container, comment); end
# Adds useful info about the parser to +message+
#
- # source://rdoc//rdoc/parser/ruby.rb#681
+ # source://rdoc//lib/rdoc/parser/ruby.rb#681
def make_message(message); end
# Creates a comment with the correct format
#
- # source://rdoc//rdoc/parser/ruby.rb#693
+ # source://rdoc//lib/rdoc/parser/ruby.rb#693
def new_comment(comment, line_no = T.unsafe(nil)); end
# Parses an +alias+ in +context+ with +comment+
#
- # source://rdoc//rdoc/parser/ruby.rb#762
+ # source://rdoc//lib/rdoc/parser/ruby.rb#762
def parse_alias(context, single, tk, comment); end
# Creates an RDoc::Attr for the name following +tk+, setting the comment to
# +comment+.
#
- # source://rdoc//rdoc/parser/ruby.rb#704
+ # source://rdoc//lib/rdoc/parser/ruby.rb#704
def parse_attr(context, single, tk, comment); end
# Creates an RDoc::Attr for each attribute listed after +tk+, setting the
# comment for each to +comment+.
#
- # source://rdoc//rdoc/parser/ruby.rb#733
+ # source://rdoc//lib/rdoc/parser/ruby.rb#733
def parse_attr_accessor(context, single, tk, comment); end
# Extracts call parameters from the token stream.
#
- # source://rdoc//rdoc/parser/ruby.rb#801
+ # source://rdoc//lib/rdoc/parser/ruby.rb#801
def parse_call_parameters(tk); end
# Parses a class in +context+ with +comment+
#
- # source://rdoc//rdoc/parser/ruby.rb#844
+ # source://rdoc//lib/rdoc/parser/ruby.rb#844
def parse_class(container, single, tk, comment); end
# Parses and creates a regular class
#
- # source://rdoc//rdoc/parser/ruby.rb#878
+ # source://rdoc//lib/rdoc/parser/ruby.rb#878
def parse_class_regular(container, declaration_context, single, name_t, given_name, comment); end
# Parses a singleton class in +container+ with the given +name+ and
# +comment+.
#
- # source://rdoc//rdoc/parser/ruby.rb#918
+ # source://rdoc//lib/rdoc/parser/ruby.rb#918
def parse_class_singleton(container, name, comment); end
# Generates an RDoc::Method or RDoc::Attr from +comment+ by looking for
# :method: or :attr: directives in +comment+.
#
- # source://rdoc//rdoc/parser/ruby.rb#1083
+ # source://rdoc//lib/rdoc/parser/ruby.rb#1083
def parse_comment(container, tk, comment); end
# Parse a comment that is describing an attribute in +container+ with the
# given +name+ and +comment+.
#
- # source://rdoc//rdoc/parser/ruby.rb#1111
+ # source://rdoc//lib/rdoc/parser/ruby.rb#1111
def parse_comment_attr(container, type, name, comment); end
- # source://rdoc//rdoc/parser/ruby.rb#1123
+ # source://rdoc//lib/rdoc/parser/ruby.rb#1123
def parse_comment_ghost(container, text, name, column, line_no, comment); end
# Creates an RDoc::Method on +container+ from +comment+ if there is a
# Signature section in the comment
#
- # source://rdoc//rdoc/parser/ruby.rb#1162
+ # source://rdoc//lib/rdoc/parser/ruby.rb#1162
def parse_comment_tomdoc(container, tk, comment); end
# Parses a constant in +context+ with +comment+. If +ignore_constants+ is
# true, no found constants will be added to RDoc.
#
- # source://rdoc//rdoc/parser/ruby.rb#957
+ # source://rdoc//lib/rdoc/parser/ruby.rb#957
def parse_constant(container, tk, comment, ignore_constants = T.unsafe(nil)); end
- # source://rdoc//rdoc/parser/ruby.rb#1024
+ # source://rdoc//lib/rdoc/parser/ruby.rb#1024
def parse_constant_body(container, constant, is_array_or_hash); end
# Parses a Module#private_constant or Module#public_constant call from +tk+.
#
- # source://rdoc//rdoc/parser/ruby.rb#2094
+ # source://rdoc//lib/rdoc/parser/ruby.rb#2094
def parse_constant_visibility(container, single, tk); end
# Parses an +include+ or +extend+, indicated by the +klass+ and adds it to
# +container+ # with +comment+
#
- # source://rdoc//rdoc/parser/ruby.rb#1197
+ # source://rdoc//lib/rdoc/parser/ruby.rb#1197
def parse_extend_or_include(klass, container, comment); end
# Parses identifiers that can create new methods or change visibility.
#
# Returns true if the comment was not consumed.
#
- # source://rdoc//rdoc/parser/ruby.rb#1235
+ # source://rdoc//lib/rdoc/parser/ruby.rb#1235
def parse_identifier(container, single, tk, comment); end
# Parses an +included+ with a block feature of ActiveSupport::Concern.
#
- # source://rdoc//rdoc/parser/ruby.rb#1217
+ # source://rdoc//lib/rdoc/parser/ruby.rb#1217
def parse_included_with_activesupport_concern(container, comment); end
# Parses a meta-programmed attribute and creates an RDoc::Attr.
@@ -9355,34 +9506,34 @@ class RDoc::Parser::Ruby < ::RDoc::Parser
#
# end
#
- # source://rdoc//rdoc/parser/ruby.rb#1299
+ # source://rdoc//lib/rdoc/parser/ruby.rb#1299
def parse_meta_attr(context, single, tk, comment); end
# Parses a meta-programmed method
#
- # source://rdoc//rdoc/parser/ruby.rb#1333
+ # source://rdoc//lib/rdoc/parser/ruby.rb#1333
def parse_meta_method(container, single, tk, comment); end
# Parses the name of a metaprogrammed method. +comment+ is used to
# determine the name while +tk+ is used in an error message if the name
# cannot be determined.
#
- # source://rdoc//rdoc/parser/ruby.rb#1379
+ # source://rdoc//lib/rdoc/parser/ruby.rb#1379
def parse_meta_method_name(comment, tk); end
# Parses the parameters and block for a meta-programmed method.
#
- # source://rdoc//rdoc/parser/ruby.rb#1403
+ # source://rdoc//lib/rdoc/parser/ruby.rb#1403
def parse_meta_method_params(container, single, meth, tk, comment); end
# Parses a normal method defined by +def+
#
- # source://rdoc//rdoc/parser/ruby.rb#1435
+ # source://rdoc//lib/rdoc/parser/ruby.rb#1435
def parse_method(container, single, tk, comment); end
# Parses a method that needs to be ignored.
#
- # source://rdoc//rdoc/parser/ruby.rb#1514
+ # source://rdoc//lib/rdoc/parser/ruby.rb#1514
def parse_method_dummy(container); end
# Parses the name of a method in +container+.
@@ -9390,25 +9541,25 @@ class RDoc::Parser::Ruby < ::RDoc::Parser
# Returns the method name, the container it is in (for def Foo.name) and if
# it is a singleton or regular method.
#
- # source://rdoc//rdoc/parser/ruby.rb#1527
+ # source://rdoc//lib/rdoc/parser/ruby.rb#1527
def parse_method_name(container); end
# For the given +container+ and initial name token +name_t+ the method name
# is parsed from the token stream for a regular method.
#
- # source://rdoc//rdoc/parser/ruby.rb#1554
+ # source://rdoc//lib/rdoc/parser/ruby.rb#1554
def parse_method_name_regular(container, name_t); end
# For the given +container+ and initial name token +name_t+ the method name
# and the new +container+ (if necessary) are parsed from the token stream
# for a singleton method.
#
- # source://rdoc//rdoc/parser/ruby.rb#1572
+ # source://rdoc//lib/rdoc/parser/ruby.rb#1572
def parse_method_name_singleton(container, name_t); end
# Extracts +yield+ parameters from +method+
#
- # source://rdoc//rdoc/parser/ruby.rb#1616
+ # source://rdoc//lib/rdoc/parser/ruby.rb#1616
def parse_method_or_yield_parameters(method = T.unsafe(nil), modifiers = T.unsafe(nil)); end
# Capture the method's parameters. Along the way, look for a comment
@@ -9418,69 +9569,69 @@ class RDoc::Parser::Ruby < ::RDoc::Parser
#
# and add this as the block_params for the method
#
- # source://rdoc//rdoc/parser/ruby.rb#1683
+ # source://rdoc//lib/rdoc/parser/ruby.rb#1683
def parse_method_parameters(method); end
# Parses the parameters and body of +meth+
#
- # source://rdoc//rdoc/parser/ruby.rb#1484
+ # source://rdoc//lib/rdoc/parser/ruby.rb#1484
def parse_method_params_and_body(container, single, meth, added_container); end
# Parses an RDoc::NormalModule in +container+ with +comment+
#
- # source://rdoc//rdoc/parser/ruby.rb#1698
+ # source://rdoc//lib/rdoc/parser/ruby.rb#1698
def parse_module(container, single, tk, comment); end
# Parses an RDoc::Require in +context+ containing +comment+
#
- # source://rdoc//rdoc/parser/ruby.rb#1720
+ # source://rdoc//lib/rdoc/parser/ruby.rb#1720
def parse_require(context, comment); end
# Parses a rescue
#
- # source://rdoc//rdoc/parser/ruby.rb#1741
+ # source://rdoc//lib/rdoc/parser/ruby.rb#1741
def parse_rescue; end
# The core of the Ruby parser.
#
- # source://rdoc//rdoc/parser/ruby.rb#1772
+ # source://rdoc//lib/rdoc/parser/ruby.rb#1772
def parse_statements(container, single = T.unsafe(nil), current_method = T.unsafe(nil), comment = T.unsafe(nil)); end
# Parse up to +no+ symbol arguments
#
- # source://rdoc//rdoc/parser/ruby.rb#1962
+ # source://rdoc//lib/rdoc/parser/ruby.rb#1962
def parse_symbol_arg(no = T.unsafe(nil)); end
# Parses up to +no+ symbol arguments surrounded by () and places them in
# +args+.
#
- # source://rdoc//rdoc/parser/ruby.rb#1977
+ # source://rdoc//lib/rdoc/parser/ruby.rb#1977
def parse_symbol_arg_paren(no); end
# Parses up to +no+ symbol arguments separated by spaces and places them in
# +args+.
#
- # source://rdoc//rdoc/parser/ruby.rb#2005
+ # source://rdoc//lib/rdoc/parser/ruby.rb#2005
def parse_symbol_arg_space(no, tk); end
# Returns symbol text from the next token
#
- # source://rdoc//rdoc/parser/ruby.rb#2036
+ # source://rdoc//lib/rdoc/parser/ruby.rb#2036
def parse_symbol_in_arg; end
# Parses statements in the top-level +container+
#
- # source://rdoc//rdoc/parser/ruby.rb#2053
+ # source://rdoc//lib/rdoc/parser/ruby.rb#2053
def parse_top_level_statements(container); end
# Determines the visibility in +container+ from +tk+
#
- # source://rdoc//rdoc/parser/ruby.rb#2071
+ # source://rdoc//lib/rdoc/parser/ruby.rb#2071
def parse_visibility(container, single, tk); end
# Determines the block parameter for +context+
#
- # source://rdoc//rdoc/parser/ruby.rb#2110
+ # source://rdoc//lib/rdoc/parser/ruby.rb#2110
def parse_yield(context, single, tk, method); end
# Directives are modifier comments that can appear after class, module, or
@@ -9495,7 +9646,7 @@ class RDoc::Parser::Ruby < ::RDoc::Parser
# the name is in +allowed+. A directive can be found anywhere up to the end
# of the current line.
#
- # source://rdoc//rdoc/parser/ruby.rb#2131
+ # source://rdoc//lib/rdoc/parser/ruby.rb#2131
def read_directive(allowed); end
# Handles directives following the definition for +context+ (any
@@ -9503,140 +9654,144 @@ class RDoc::Parser::Ruby < ::RDoc::Parser
#
# See also RDoc::Markup::PreProcess#handle_directive
#
- # source://rdoc//rdoc/parser/ruby.rb#2163
+ # source://rdoc//lib/rdoc/parser/ruby.rb#2163
def read_documentation_modifiers(context, allowed); end
# Records the location of this +container+ in the file for this parser and
# adds it to the list of classes and modules in the file.
#
- # source://rdoc//rdoc/parser/ruby.rb#2182
+ # source://rdoc//lib/rdoc/parser/ruby.rb#2182
def record_location(container); end
# Retrieve comment body without =begin/=end
#
- # source://rdoc//rdoc/parser/ruby.rb#1761
+ # source://rdoc//lib/rdoc/parser/ruby.rb#1761
def retrieve_comment_body(tk); end
# Scans this Ruby file for Ruby constructs
#
- # source://rdoc//rdoc/parser/ruby.rb#2194
+ # source://rdoc//lib/rdoc/parser/ruby.rb#2194
def scan; end
# skip the var [in] part of a 'for' statement
#
- # source://rdoc//rdoc/parser/ruby.rb#2282
+ # source://rdoc//lib/rdoc/parser/ruby.rb#2282
def skip_for_variable; end
# Skips the next method in +container+
#
- # source://rdoc//rdoc/parser/ruby.rb#2293
+ # source://rdoc//lib/rdoc/parser/ruby.rb#2293
def skip_method(container); end
# while, until, and for have an optional do
#
- # source://rdoc//rdoc/parser/ruby.rb#2241
+ # source://rdoc//lib/rdoc/parser/ruby.rb#2241
def skip_optional_do_after_expression; end
# Skip opening parentheses and yield the block.
# Skip closing parentheses too when exists.
#
- # source://rdoc//rdoc/parser/ruby.rb#401
+ # source://rdoc//lib/rdoc/parser/ruby.rb#401
def skip_parentheses(&block); end
# Skip spaces until a comment is found
#
- # source://rdoc//rdoc/parser/ruby.rb#2302
+ # source://rdoc//lib/rdoc/parser/ruby.rb#2302
def skip_tkspace_comment(skip_nl = T.unsafe(nil)); end
# Marks containers between +container+ and +ancestor+ as ignored
#
- # source://rdoc//rdoc/parser/ruby.rb#646
+ # source://rdoc//lib/rdoc/parser/ruby.rb#646
def suppress_parents(container, ancestor); end
# Return +true+ if +tk+ is a newline.
#
# @return [Boolean]
#
- # source://rdoc//rdoc/parser/ruby.rb#186
+ # source://rdoc//lib/rdoc/parser/ruby.rb#186
def tk_nl?(tk); end
# Updates visibility in +container+ from +vis_type+ and +vis+.
#
- # source://rdoc//rdoc/parser/ruby.rb#2314
+ # source://rdoc//lib/rdoc/parser/ruby.rb#2314
def update_visibility(container, vis_type, vis, singleton); end
# Prints +message+ to +$stderr+ unless we're being quiet
#
- # source://rdoc//rdoc/parser/ruby.rb#2359
+ # source://rdoc//lib/rdoc/parser/ruby.rb#2359
def warn(message); end
end
# Collection of methods for writing parsers
+#
+# source://rdoc//lib/rdoc/parser/ruby_tools.rb#5
module RDoc::Parser::RubyTools
# Adds a token listener +obj+, but you should probably use token_listener
#
- # source://rdoc//rdoc/parser/ruby_tools.rb#10
+ # source://rdoc//lib/rdoc/parser/ruby_tools.rb#10
def add_token_listener(obj); end
# Fetches the next token from the scanner
#
- # source://rdoc//rdoc/parser/ruby_tools.rb#18
+ # source://rdoc//lib/rdoc/parser/ruby_tools.rb#18
def get_tk; end
# Reads and returns all tokens up to one of +tokens+. Leaves the matched
# token in the token list.
#
- # source://rdoc//rdoc/parser/ruby_tools.rb#52
+ # source://rdoc//lib/rdoc/parser/ruby_tools.rb#52
def get_tk_until(*tokens); end
# Retrieves a String representation of the read tokens
#
- # source://rdoc//rdoc/parser/ruby_tools.rb#73
+ # source://rdoc//lib/rdoc/parser/ruby_tools.rb#73
def get_tkread; end
# Peek equivalent for get_tkread
#
- # source://rdoc//rdoc/parser/ruby_tools.rb#82
+ # source://rdoc//lib/rdoc/parser/ruby_tools.rb#82
def peek_read; end
# Peek at the next token, but don't remove it from the stream
#
- # source://rdoc//rdoc/parser/ruby_tools.rb#89
+ # source://rdoc//lib/rdoc/parser/ruby_tools.rb#89
def peek_tk; end
# Removes the token listener +obj+
#
- # source://rdoc//rdoc/parser/ruby_tools.rb#97
+ # source://rdoc//lib/rdoc/parser/ruby_tools.rb#97
def remove_token_listener(obj); end
# Resets the tools
#
- # source://rdoc//rdoc/parser/ruby_tools.rb#104
+ # source://rdoc//lib/rdoc/parser/ruby_tools.rb#104
def reset; end
# Skips whitespace tokens including newlines
#
- # source://rdoc//rdoc/parser/ruby_tools.rb#115
+ # source://rdoc//lib/rdoc/parser/ruby_tools.rb#115
def skip_tkspace; end
# Skips whitespace tokens excluding newlines
#
- # source://rdoc//rdoc/parser/ruby_tools.rb#129
+ # source://rdoc//lib/rdoc/parser/ruby_tools.rb#129
def skip_tkspace_without_nl; end
# Has +obj+ listen to tokens
#
- # source://rdoc//rdoc/parser/ruby_tools.rb#143
+ # source://rdoc//lib/rdoc/parser/ruby_tools.rb#143
def token_listener(obj); end
# Returns +tk+ to the scanner
#
- # source://rdoc//rdoc/parser/ruby_tools.rb#153
+ # source://rdoc//lib/rdoc/parser/ruby_tools.rb#153
def unget_tk(tk); end
end
# Parse a non-source file. We basically take the whole thing as one big
# comment.
+#
+# source://rdoc//lib/rdoc/parser/simple.rb#6
class RDoc::Parser::Simple < ::RDoc::Parser
include ::RDoc::Parser::Text
@@ -9644,15 +9799,15 @@ class RDoc::Parser::Simple < ::RDoc::Parser
#
# @return [Simple] a new instance of Simple
#
- # source://rdoc//rdoc/parser/simple.rb#17
+ # source://rdoc//lib/rdoc/parser/simple.rb#17
def initialize(top_level, file_name, content, options, stats); end
- # source://rdoc//rdoc/parser/simple.rb#12
+ # source://rdoc//lib/rdoc/parser/simple.rb#12
def content; end
# Removes the encoding magic comment from +text+
#
- # source://rdoc//rdoc/parser/simple.rb#41
+ # source://rdoc//lib/rdoc/parser/simple.rb#41
def remove_coding_comment(text); end
# Removes private comments.
@@ -9661,366 +9816,370 @@ class RDoc::Parser::Simple < ::RDoc::Parser
# dashes at the beginning of the line. Three or more dashes are considered
# to be a rule and ignored.
#
- # source://rdoc//rdoc/parser/simple.rb#52
+ # source://rdoc//lib/rdoc/parser/simple.rb#52
def remove_private_comment(comment); end
# Extract the file contents and attach them to the TopLevel as a comment
#
- # source://rdoc//rdoc/parser/simple.rb#28
+ # source://rdoc//lib/rdoc/parser/simple.rb#28
def scan; end
end
-# racc/parser.rb end
+# source://rdoc//lib/rdoc/rd.rb#72
class RDoc::RD
class << self
# Parses +rd+ source and returns an RDoc::Markup::Document. If the
# =begin or =end lines are missing they will be added.
#
- # source://rdoc//rdoc/rd.rb#78
+ # source://rdoc//lib/rdoc/rd.rb#78
def parse(rd); end
end
end
# RD format parser for headings, paragraphs, lists, verbatim sections that
# exist as blocks.
+#
+# source://rdoc//lib/rdoc/rd/block_parser.rb#664
class RDoc::RD::BlockParser < ::Racc::Parser
# Creates a new RDoc::RD::BlockParser. Use #parse to parse an rd-format
# document.
#
# @return [BlockParser] a new instance of BlockParser
#
- # source://rdoc//rdoc/rd/block_parser.rb#699
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#699
def initialize; end
# reduce 0 omitted
#
- # source://rdoc//rdoc/rd/block_parser.rb#1334
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#1334
def _reduce_1(val, _values, result); end
- # source://rdoc//rdoc/rd/block_parser.rb#1376
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#1376
def _reduce_10(val, _values, result); end
- # source://rdoc//rdoc/rd/block_parser.rb#1381
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#1381
def _reduce_11(val, _values, result); end
- # source://rdoc//rdoc/rd/block_parser.rb#1386
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#1386
def _reduce_12(val, _values, result); end
- # source://rdoc//rdoc/rd/block_parser.rb#1394
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#1394
def _reduce_13(val, _values, result); end
- # source://rdoc//rdoc/rd/block_parser.rb#1400
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#1400
def _reduce_14(val, _values, result); end
- # source://rdoc//rdoc/rd/block_parser.rb#1407
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#1407
def _reduce_15(val, _values, result); end
- # source://rdoc//rdoc/rd/block_parser.rb#1412
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#1412
def _reduce_16(val, _values, result); end
- # source://rdoc//rdoc/rd/block_parser.rb#1417
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#1417
def _reduce_17(val, _values, result); end
- # source://rdoc//rdoc/rd/block_parser.rb#1428
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#1428
def _reduce_18(val, _values, result); end
- # source://rdoc//rdoc/rd/block_parser.rb#1439
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#1439
def _reduce_19(val, _values, result); end
# @raise [ParseError]
#
- # source://rdoc//rdoc/rd/block_parser.rb#1339
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#1339
def _reduce_2(val, _values, result); end
- # source://rdoc//rdoc/rd/block_parser.rb#1445
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#1445
def _reduce_20(val, _values, result); end
- # source://rdoc//rdoc/rd/block_parser.rb#1451
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#1451
def _reduce_21(val, _values, result); end
- # source://rdoc//rdoc/rd/block_parser.rb#1457
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#1457
def _reduce_22(val, _values, result); end
# reduce 26 omitted
#
- # source://rdoc//rdoc/rd/block_parser.rb#1473
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#1473
def _reduce_27(val, _values, result); end
- # source://rdoc//rdoc/rd/block_parser.rb#1479
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#1479
def _reduce_28(val, _values, result); end
- # source://rdoc//rdoc/rd/block_parser.rb#1485
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#1485
def _reduce_29(val, _values, result); end
- # source://rdoc//rdoc/rd/block_parser.rb#1344
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#1344
def _reduce_3(val, _values, result); end
- # source://rdoc//rdoc/rd/block_parser.rb#1491
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#1491
def _reduce_30(val, _values, result); end
- # source://rdoc//rdoc/rd/block_parser.rb#1496
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#1496
def _reduce_31(val, _values, result); end
- # source://rdoc//rdoc/rd/block_parser.rb#1501
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#1501
def _reduce_32(val, _values, result); end
- # source://rdoc//rdoc/rd/block_parser.rb#1507
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#1507
def _reduce_33(val, _values, result); end
- # source://rdoc//rdoc/rd/block_parser.rb#1512
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#1512
def _reduce_34(val, _values, result); end
- # source://rdoc//rdoc/rd/block_parser.rb#1517
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#1517
def _reduce_35(val, _values, result); end
- # source://rdoc//rdoc/rd/block_parser.rb#1523
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#1523
def _reduce_36(val, _values, result); end
- # source://rdoc//rdoc/rd/block_parser.rb#1529
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#1529
def _reduce_37(val, _values, result); end
- # source://rdoc//rdoc/rd/block_parser.rb#1534
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#1534
def _reduce_38(val, _values, result); end
- # source://rdoc//rdoc/rd/block_parser.rb#1539
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#1539
def _reduce_39(val, _values, result); end
- # source://rdoc//rdoc/rd/block_parser.rb#1349
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#1349
def _reduce_4(val, _values, result); end
- # source://rdoc//rdoc/rd/block_parser.rb#1545
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#1545
def _reduce_40(val, _values, result); end
- # source://rdoc//rdoc/rd/block_parser.rb#1551
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#1551
def _reduce_41(val, _values, result); end
- # source://rdoc//rdoc/rd/block_parser.rb#1556
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#1556
def _reduce_42(val, _values, result); end
- # source://rdoc//rdoc/rd/block_parser.rb#1561
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#1561
def _reduce_43(val, _values, result); end
- # source://rdoc//rdoc/rd/block_parser.rb#1569
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#1569
def _reduce_44(val, _values, result); end
- # source://rdoc//rdoc/rd/block_parser.rb#1575
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#1575
def _reduce_45(val, _values, result); end
- # source://rdoc//rdoc/rd/block_parser.rb#1580
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#1580
def _reduce_46(val, _values, result); end
- # source://rdoc//rdoc/rd/block_parser.rb#1585
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#1585
def _reduce_47(val, _values, result); end
- # source://rdoc//rdoc/rd/block_parser.rb#1591
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#1591
def _reduce_48(val, _values, result); end
- # source://rdoc//rdoc/rd/block_parser.rb#1597
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#1597
def _reduce_49(val, _values, result); end
- # source://rdoc//rdoc/rd/block_parser.rb#1354
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#1354
def _reduce_5(val, _values, result); end
- # source://rdoc//rdoc/rd/block_parser.rb#1603
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#1603
def _reduce_50(val, _values, result); end
- # source://rdoc//rdoc/rd/block_parser.rb#1609
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#1609
def _reduce_51(val, _values, result); end
- # source://rdoc//rdoc/rd/block_parser.rb#1615
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#1615
def _reduce_52(val, _values, result); end
# reduce 53 omitted
#
- # source://rdoc//rdoc/rd/block_parser.rb#1622
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#1622
def _reduce_54(val, _values, result); end
- # source://rdoc//rdoc/rd/block_parser.rb#1627
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#1627
def _reduce_55(val, _values, result); end
# reduce 56 omitted
#
- # source://rdoc//rdoc/rd/block_parser.rb#1634
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#1634
def _reduce_57(val, _values, result); end
- # source://rdoc//rdoc/rd/block_parser.rb#1359
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#1359
def _reduce_6(val, _values, result); end
# reduce 61 omitted
#
- # source://rdoc//rdoc/rd/block_parser.rb#1647
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#1647
def _reduce_62(val, _values, result); end
- # source://rdoc//rdoc/rd/block_parser.rb#1653
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#1653
def _reduce_63(val, _values, result); end
- # source://rdoc//rdoc/rd/block_parser.rb#1659
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#1659
def _reduce_64(val, _values, result); end
- # source://rdoc//rdoc/rd/block_parser.rb#1665
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#1665
def _reduce_65(val, _values, result); end
- # source://rdoc//rdoc/rd/block_parser.rb#1671
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#1671
def _reduce_66(val, _values, result); end
- # source://rdoc//rdoc/rd/block_parser.rb#1677
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#1677
def _reduce_67(val, _values, result); end
- # source://rdoc//rdoc/rd/block_parser.rb#1682
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#1682
def _reduce_68(val, _values, result); end
- # source://rdoc//rdoc/rd/block_parser.rb#1687
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#1687
def _reduce_69(val, _values, result); end
# reduce 70 omitted
#
- # source://rdoc//rdoc/rd/block_parser.rb#1694
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#1694
def _reduce_71(val, _values, result); end
- # source://rdoc//rdoc/rd/block_parser.rb#1699
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#1699
def _reduce_72(val, _values, result); end
# reduce 7 omitted
#
- # source://rdoc//rdoc/rd/block_parser.rb#1366
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#1366
def _reduce_8(val, _values, result); end
- # source://rdoc//rdoc/rd/block_parser.rb#1371
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#1371
def _reduce_9(val, _values, result); end
- # source://rdoc//rdoc/rd/block_parser.rb#1704
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#1704
def _reduce_none(val, _values, result); end
# Adds footnote +content+ to the document
#
- # source://rdoc//rdoc/rd/block_parser.rb#1049
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#1049
def add_footnote(content); end
# Adds label +label+ to the document
#
- # source://rdoc//rdoc/rd/block_parser.rb#1063
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#1063
def add_label(label); end
# Retrieves the content of +values+ as a single String
#
- # source://rdoc//rdoc/rd/block_parser.rb#1032
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#1032
def content(values); end
# Footnotes for this document
#
- # source://rdoc//rdoc/rd/block_parser.rb#683
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#683
def footnotes; end
# Path to find included files in
#
- # source://rdoc//rdoc/rd/block_parser.rb#693
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#693
def include_path; end
# Path to find included files in
#
- # source://rdoc//rdoc/rd/block_parser.rb#693
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#693
def include_path=(_arg0); end
# Labels for items in this document
#
- # source://rdoc//rdoc/rd/block_parser.rb#688
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#688
def labels; end
# Current line number
#
- # source://rdoc//rdoc/rd/block_parser.rb#987
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#987
def line_index; end
# Returns the next token from the document
#
- # source://rdoc//rdoc/rd/block_parser.rb#755
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#755
def next_token; end
# Raises a ParseError when invalid formatting is found
#
# @raise [ParseError]
#
- # source://rdoc//rdoc/rd/block_parser.rb#971
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#971
def on_error(et, ev, _values); end
# Creates a paragraph for +value+
#
- # source://rdoc//rdoc/rd/block_parser.rb#1039
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#1039
def paragraph(value); end
# Parses +src+ and returns an RDoc::Markup::Document.
#
- # source://rdoc//rdoc/rd/block_parser.rb#711
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#711
def parse(src); end
private
# Cuts off excess whitespace in +src+
#
- # source://rdoc//rdoc/rd/block_parser.rb#935
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#935
def cut_off(src); end
# Formats line numbers +line_numbers+ prettily
#
- # source://rdoc//rdoc/rd/block_parser.rb#1023
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#1023
def format_line_num(*line_numbers); end
# Retrieves the content for +file+ from the include_path
#
- # source://rdoc//rdoc/rd/block_parser.rb#1004
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#1004
def get_included(file); end
# Yields to the given block if +indent+ matches the current indent, otherwise
# an indentation token is processed.
#
- # source://rdoc//rdoc/rd/block_parser.rb#917
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#917
def if_current_indent_equal(indent); end
# Parses subtree +src+
#
- # source://rdoc//rdoc/rd/block_parser.rb#994
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#994
def parse_subtree(src); end
- # source://rdoc//rdoc/rd/block_parser.rb#962
+ # source://rdoc//lib/rdoc/rd/block_parser.rb#962
def set_term_to_element(parent, term); end
end
-# source://rdoc//rdoc/rd/block_parser.rb#1328
+# source://rdoc//lib/rdoc/rd/block_parser.rb#1328
RDoc::RD::BlockParser::Racc_debug_parser = T.let(T.unsafe(nil), FalseClass)
# Inline keeps track of markup and labels to create proper links.
+#
+# source://rdoc//lib/rdoc/rd/inline.rb#5
class RDoc::RD::Inline
# Initializes the Inline with +rdoc+ and +inline+
#
# @return [Inline] a new instance of Inline
#
- # source://rdoc//rdoc/rd/inline.rb#34
+ # source://rdoc//lib/rdoc/rd/inline.rb#34
def initialize(rdoc, reference); end
- # source://rdoc//rdoc/rd/inline.rb#42
+ # source://rdoc//lib/rdoc/rd/inline.rb#42
def ==(other); end
# Appends +more+ to this inline. +more+ may be a String or another Inline.
#
- # source://rdoc//rdoc/rd/inline.rb#50
+ # source://rdoc//lib/rdoc/rd/inline.rb#50
def append(more); end
- # source://rdoc//rdoc/rd/inline.rb#65
+ # source://rdoc//lib/rdoc/rd/inline.rb#65
def inspect; end
# The markup of this reference in RDoc format
#
- # source://rdoc//rdoc/rd/inline.rb#15
+ # source://rdoc//lib/rdoc/rd/inline.rb#15
def rdoc; end
# The text of the reference
#
- # source://rdoc//rdoc/rd/inline.rb#10
+ # source://rdoc//lib/rdoc/rd/inline.rb#10
def reference; end
# The markup of this reference in RDoc format
#
- # source://rdoc//rdoc/rd/inline.rb#15
+ # source://rdoc//lib/rdoc/rd/inline.rb#15
def to_s; end
class << self
@@ -10029,239 +10188,241 @@ class RDoc::RD::Inline
# +rdoc+ may be another Inline or a String. If +reference+ is not given it
# will use the text from +rdoc+.
#
- # source://rdoc//rdoc/rd/inline.rb#23
+ # source://rdoc//lib/rdoc/rd/inline.rb#23
def new(rdoc, reference = T.unsafe(nil)); end
end
end
# RD format parser for inline markup such as emphasis, links, footnotes, etc.
+#
+# source://rdoc//lib/rdoc/rd/inline_parser.rb#665
class RDoc::RD::InlineParser < ::Racc::Parser
# Creates a new parser for inline markup in the rd format. The +block_parser+
# is used to for footnotes and labels in the inline text.
#
# @return [InlineParser] a new instance of InlineParser
#
- # source://rdoc//rdoc/rd/inline_parser.rb#738
+ # source://rdoc//lib/rdoc/rd/inline_parser.rb#738
def initialize(block_parser); end
# reduce 100 omitted
#
- # source://rdoc//rdoc/rd/inline_parser.rb#1750
+ # source://rdoc//lib/rdoc/rd/inline_parser.rb#1750
def _reduce_101(val, _values, result); end
- # source://rdoc//rdoc/rd/inline_parser.rb#1757
+ # source://rdoc//lib/rdoc/rd/inline_parser.rb#1757
def _reduce_102(val, _values, result); end
# reduce 108 omitted
#
- # source://rdoc//rdoc/rd/inline_parser.rb#1775
+ # source://rdoc//lib/rdoc/rd/inline_parser.rb#1775
def _reduce_109(val, _values, result); end
# reduce 110 omitted
#
- # source://rdoc//rdoc/rd/inline_parser.rb#1782
+ # source://rdoc//lib/rdoc/rd/inline_parser.rb#1782
def _reduce_111(val, _values, result); end
# reduce 112 omitted
#
- # source://rdoc//rdoc/rd/inline_parser.rb#1790
+ # source://rdoc//lib/rdoc/rd/inline_parser.rb#1790
def _reduce_113(val, _values, result); end
- # source://rdoc//rdoc/rd/inline_parser.rb#1795
+ # source://rdoc//lib/rdoc/rd/inline_parser.rb#1795
def _reduce_114(val, _values, result); end
- # source://rdoc//rdoc/rd/inline_parser.rb#1800
+ # source://rdoc//lib/rdoc/rd/inline_parser.rb#1800
def _reduce_115(val, _values, result); end
# reduce 12 omitted
#
- # source://rdoc//rdoc/rd/inline_parser.rb#1413
+ # source://rdoc//lib/rdoc/rd/inline_parser.rb#1413
def _reduce_13(val, _values, result); end
# reduce 135 omitted
#
- # source://rdoc//rdoc/rd/inline_parser.rb#1845
+ # source://rdoc//lib/rdoc/rd/inline_parser.rb#1845
def _reduce_136(val, _values, result); end
- # source://rdoc//rdoc/rd/inline_parser.rb#1420
+ # source://rdoc//lib/rdoc/rd/inline_parser.rb#1420
def _reduce_14(val, _values, result); end
- # source://rdoc//rdoc/rd/inline_parser.rb#1427
+ # source://rdoc//lib/rdoc/rd/inline_parser.rb#1427
def _reduce_15(val, _values, result); end
- # source://rdoc//rdoc/rd/inline_parser.rb#1434
+ # source://rdoc//lib/rdoc/rd/inline_parser.rb#1434
def _reduce_16(val, _values, result); end
- # source://rdoc//rdoc/rd/inline_parser.rb#1441
+ # source://rdoc//lib/rdoc/rd/inline_parser.rb#1441
def _reduce_17(val, _values, result); end
- # source://rdoc//rdoc/rd/inline_parser.rb#1449
+ # source://rdoc//lib/rdoc/rd/inline_parser.rb#1449
def _reduce_18(val, _values, result); end
- # source://rdoc//rdoc/rd/inline_parser.rb#1455
+ # source://rdoc//lib/rdoc/rd/inline_parser.rb#1455
def _reduce_19(val, _values, result); end
# reduce 1 omitted
#
- # source://rdoc//rdoc/rd/inline_parser.rb#1385
+ # source://rdoc//lib/rdoc/rd/inline_parser.rb#1385
def _reduce_2(val, _values, result); end
- # source://rdoc//rdoc/rd/inline_parser.rb#1463
+ # source://rdoc//lib/rdoc/rd/inline_parser.rb#1463
def _reduce_20(val, _values, result); end
- # source://rdoc//rdoc/rd/inline_parser.rb#1469
+ # source://rdoc//lib/rdoc/rd/inline_parser.rb#1469
def _reduce_21(val, _values, result); end
- # source://rdoc//rdoc/rd/inline_parser.rb#1478
+ # source://rdoc//lib/rdoc/rd/inline_parser.rb#1478
def _reduce_22(val, _values, result); end
- # source://rdoc//rdoc/rd/inline_parser.rb#1484
+ # source://rdoc//lib/rdoc/rd/inline_parser.rb#1484
def _reduce_23(val, _values, result); end
- # source://rdoc//rdoc/rd/inline_parser.rb#1490
+ # source://rdoc//lib/rdoc/rd/inline_parser.rb#1490
def _reduce_24(val, _values, result); end
- # source://rdoc//rdoc/rd/inline_parser.rb#1496
+ # source://rdoc//lib/rdoc/rd/inline_parser.rb#1496
def _reduce_25(val, _values, result); end
- # source://rdoc//rdoc/rd/inline_parser.rb#1505
+ # source://rdoc//lib/rdoc/rd/inline_parser.rb#1505
def _reduce_26(val, _values, result); end
- # source://rdoc//rdoc/rd/inline_parser.rb#1511
+ # source://rdoc//lib/rdoc/rd/inline_parser.rb#1511
def _reduce_27(val, _values, result); end
# reduce 28 omitted
#
- # source://rdoc//rdoc/rd/inline_parser.rb#1520
+ # source://rdoc//lib/rdoc/rd/inline_parser.rb#1520
def _reduce_29(val, _values, result); end
- # source://rdoc//rdoc/rd/inline_parser.rb#1390
+ # source://rdoc//lib/rdoc/rd/inline_parser.rb#1390
def _reduce_3(val, _values, result); end
- # source://rdoc//rdoc/rd/inline_parser.rb#1525
+ # source://rdoc//lib/rdoc/rd/inline_parser.rb#1525
def _reduce_30(val, _values, result); end
- # source://rdoc//rdoc/rd/inline_parser.rb#1530
+ # source://rdoc//lib/rdoc/rd/inline_parser.rb#1530
def _reduce_31(val, _values, result); end
- # source://rdoc//rdoc/rd/inline_parser.rb#1536
+ # source://rdoc//lib/rdoc/rd/inline_parser.rb#1536
def _reduce_32(val, _values, result); end
- # source://rdoc//rdoc/rd/inline_parser.rb#1542
+ # source://rdoc//lib/rdoc/rd/inline_parser.rb#1542
def _reduce_33(val, _values, result); end
- # source://rdoc//rdoc/rd/inline_parser.rb#1548
+ # source://rdoc//lib/rdoc/rd/inline_parser.rb#1548
def _reduce_34(val, _values, result); end
# reduce 35 omitted
#
- # source://rdoc//rdoc/rd/inline_parser.rb#1556
+ # source://rdoc//lib/rdoc/rd/inline_parser.rb#1556
def _reduce_36(val, _values, result); end
- # source://rdoc//rdoc/rd/inline_parser.rb#1561
+ # source://rdoc//lib/rdoc/rd/inline_parser.rb#1561
def _reduce_37(val, _values, result); end
- # source://rdoc//rdoc/rd/inline_parser.rb#1566
+ # source://rdoc//lib/rdoc/rd/inline_parser.rb#1566
def _reduce_38(val, _values, result); end
- # source://rdoc//rdoc/rd/inline_parser.rb#1572
+ # source://rdoc//lib/rdoc/rd/inline_parser.rb#1572
def _reduce_39(val, _values, result); end
- # source://rdoc//rdoc/rd/inline_parser.rb#1578
+ # source://rdoc//lib/rdoc/rd/inline_parser.rb#1578
def _reduce_40(val, _values, result); end
- # source://rdoc//rdoc/rd/inline_parser.rb#1584
+ # source://rdoc//lib/rdoc/rd/inline_parser.rb#1584
def _reduce_41(val, _values, result); end
# reduce 42 omitted
#
- # source://rdoc//rdoc/rd/inline_parser.rb#1592
+ # source://rdoc//lib/rdoc/rd/inline_parser.rb#1592
def _reduce_43(val, _values, result); end
- # source://rdoc//rdoc/rd/inline_parser.rb#1598
+ # source://rdoc//lib/rdoc/rd/inline_parser.rb#1598
def _reduce_44(val, _values, result); end
- # source://rdoc//rdoc/rd/inline_parser.rb#1604
+ # source://rdoc//lib/rdoc/rd/inline_parser.rb#1604
def _reduce_45(val, _values, result); end
- # source://rdoc//rdoc/rd/inline_parser.rb#1610
+ # source://rdoc//lib/rdoc/rd/inline_parser.rb#1610
def _reduce_46(val, _values, result); end
# reduce 56 omitted
#
- # source://rdoc//rdoc/rd/inline_parser.rb#1636
+ # source://rdoc//lib/rdoc/rd/inline_parser.rb#1636
def _reduce_57(val, _values, result); end
- # source://rdoc//rdoc/rd/inline_parser.rb#1642
+ # source://rdoc//lib/rdoc/rd/inline_parser.rb#1642
def _reduce_58(val, _values, result); end
- # source://rdoc//rdoc/rd/inline_parser.rb#1648
+ # source://rdoc//lib/rdoc/rd/inline_parser.rb#1648
def _reduce_59(val, _values, result); end
- # source://rdoc//rdoc/rd/inline_parser.rb#1654
+ # source://rdoc//lib/rdoc/rd/inline_parser.rb#1654
def _reduce_60(val, _values, result); end
# reduce 61 omitted
#
- # source://rdoc//rdoc/rd/inline_parser.rb#1661
+ # source://rdoc//lib/rdoc/rd/inline_parser.rb#1661
def _reduce_62(val, _values, result); end
# reduce 63 omitted
#
- # source://rdoc//rdoc/rd/inline_parser.rb#1669
+ # source://rdoc//lib/rdoc/rd/inline_parser.rb#1669
def _reduce_64(val, _values, result); end
# reduce 77 omitted
#
- # source://rdoc//rdoc/rd/inline_parser.rb#1701
+ # source://rdoc//lib/rdoc/rd/inline_parser.rb#1701
def _reduce_78(val, _values, result); end
# reduce 137 omitted
#
- # source://rdoc//rdoc/rd/inline_parser.rb#1852
+ # source://rdoc//lib/rdoc/rd/inline_parser.rb#1852
def _reduce_none(val, _values, result); end
# Creates a new RDoc::RD::Inline for the +rdoc+ markup and the raw +reference+
#
- # source://rdoc//rdoc/rd/inline_parser.rb#887
+ # source://rdoc//lib/rdoc/rd/inline_parser.rb#887
def inline(rdoc, reference = T.unsafe(nil)); end
# Returns the next token from the inline text
#
- # source://rdoc//rdoc/rd/inline_parser.rb#756
+ # source://rdoc//lib/rdoc/rd/inline_parser.rb#756
def next_token; end
# Returns words following an error
#
- # source://rdoc//rdoc/rd/inline_parser.rb#876
+ # source://rdoc//lib/rdoc/rd/inline_parser.rb#876
def next_words_on_error; end
# Raises a ParseError when invalid formatting is found
#
# @raise [ParseError]
#
- # source://rdoc//rdoc/rd/inline_parser.rb#836
+ # source://rdoc//lib/rdoc/rd/inline_parser.rb#836
def on_error(et, ev, values); end
# Parses the +inline+ text from RD format into RDoc format.
#
- # source://rdoc//rdoc/rd/inline_parser.rb#745
+ # source://rdoc//lib/rdoc/rd/inline_parser.rb#745
def parse(inline); end
# Returns words before the error
#
- # source://rdoc//rdoc/rd/inline_parser.rb#853
+ # source://rdoc//lib/rdoc/rd/inline_parser.rb#853
def prev_words_on_error(ev); end
private
# Returns the last line of +src+
#
- # source://rdoc//rdoc/rd/inline_parser.rb#864
+ # source://rdoc//lib/rdoc/rd/inline_parser.rb#864
def last_line(src); end
end
-# source://rdoc//rdoc/rd/inline_parser.rb#1377
+# source://rdoc//lib/rdoc/rd/inline_parser.rb#1377
RDoc::RD::InlineParser::Racc_debug_parser = T.let(T.unsafe(nil), FalseClass)
# This is the driver for generating RDoc output. It handles file parsing and
@@ -10282,13 +10443,15 @@ RDoc::RD::InlineParser::Racc_debug_parser = T.let(T.unsafe(nil), FalseClass)
#
# Where +argv+ is an array of strings, each corresponding to an argument you'd
# give rdoc on the command line. See rdoc --help for details.
+#
+# source://rdoc//lib/rdoc/rdoc.rb#29
class RDoc::RDoc
# Creates a new RDoc::RDoc instance. Call #document to parse files and
# generate documentation.
#
# @return [RDoc] a new instance of RDoc
#
- # source://rdoc//rdoc/rdoc.rb#100
+ # source://rdoc//lib/rdoc/rdoc.rb#100
def initialize; end
# Generates documentation or a coverage report depending upon the settings
@@ -10304,52 +10467,52 @@ class RDoc::RDoc
# By default, output will be stored in a directory called "doc" below the
# current directory, so make sure you're somewhere writable before invoking.
#
- # source://rdoc//rdoc/rdoc.rb#450
+ # source://rdoc//lib/rdoc/rdoc.rb#450
def document(options); end
# Report an error message and exit
#
# @raise [RDoc::Error]
#
- # source://rdoc//rdoc/rdoc.rb#113
+ # source://rdoc//lib/rdoc/rdoc.rb#113
def error(msg); end
# Gathers a set of parseable files from the files and directories listed in
# +files+.
#
- # source://rdoc//rdoc/rdoc.rb#121
+ # source://rdoc//lib/rdoc/rdoc.rb#121
def gather_files(files); end
# Generates documentation for +file_info+ (from #parse_files) into the
# output dir using the generator selected
# by the RDoc options
#
- # source://rdoc//rdoc/rdoc.rb#515
+ # source://rdoc//lib/rdoc/rdoc.rb#515
def generate; end
# Generator instance used for creating output
#
- # source://rdoc//rdoc/rdoc.rb#52
+ # source://rdoc//lib/rdoc/rdoc.rb#52
def generator; end
# Generator instance used for creating output
#
- # source://rdoc//rdoc/rdoc.rb#52
+ # source://rdoc//lib/rdoc/rdoc.rb#52
def generator=(_arg0); end
# Turns RDoc from stdin into HTML
#
- # source://rdoc//rdoc/rdoc.rb#142
+ # source://rdoc//lib/rdoc/rdoc.rb#142
def handle_pipe; end
# Installs a siginfo handler that prints the current filename.
#
- # source://rdoc//rdoc/rdoc.rb#157
+ # source://rdoc//lib/rdoc/rdoc.rb#157
def install_siginfo_handler; end
# Hash of files and their last modified times.
#
- # source://rdoc//rdoc/rdoc.rb#57
+ # source://rdoc//lib/rdoc/rdoc.rb#57
def last_modified; end
# Return a list of the files to be processed in a directory. We know that
@@ -10357,7 +10520,7 @@ class RDoc::RDoc
# files. However we may well contain subdirectories which must be tested
# for .document files.
#
- # source://rdoc//rdoc/rdoc.rb#323
+ # source://rdoc//lib/rdoc/rdoc.rb#323
def list_files_in_directory(dir); end
# Given a list of files and directories, create a list of all the Ruby
@@ -10371,106 +10534,106 @@ class RDoc::RDoc
# The effect of this is that if you want a file with a non-standard
# extension parsed, you must name it explicitly.
#
- # source://rdoc//rdoc/rdoc.rb#275
+ # source://rdoc//lib/rdoc/rdoc.rb#275
def normalized_file_list(relative_files, force_doc = T.unsafe(nil), exclude_pattern = T.unsafe(nil)); end
# RDoc options
#
- # source://rdoc//rdoc/rdoc.rb#62
+ # source://rdoc//lib/rdoc/rdoc.rb#62
def options; end
# RDoc options
#
- # source://rdoc//rdoc/rdoc.rb#62
+ # source://rdoc//lib/rdoc/rdoc.rb#62
def options=(_arg0); end
# Return the path name of the flag file in an output directory.
#
- # source://rdoc//rdoc/rdoc.rb#240
+ # source://rdoc//lib/rdoc/rdoc.rb#240
def output_flag_file(op_dir); end
# The .document file contains a list of file and directory name patterns,
# representing candidates for documentation. It may also contain comments
# (starting with '#')
#
- # source://rdoc//rdoc/rdoc.rb#249
+ # source://rdoc//lib/rdoc/rdoc.rb#249
def parse_dot_doc_file(in_dir, filename); end
# Parses +filename+ and returns an RDoc::TopLevel
#
- # source://rdoc//rdoc/rdoc.rb#332
+ # source://rdoc//lib/rdoc/rdoc.rb#332
def parse_file(filename); end
# Parse each file on the command line, recursively entering directories.
#
- # source://rdoc//rdoc/rdoc.rb#404
+ # source://rdoc//lib/rdoc/rdoc.rb#404
def parse_files(files); end
# Removes a siginfo handler and replaces the previous
#
- # source://rdoc//rdoc/rdoc.rb#534
+ # source://rdoc//lib/rdoc/rdoc.rb#534
def remove_siginfo_handler; end
# Removes file extensions known to be unparseable from +files+ and TAGS
# files for emacs and vim.
#
- # source://rdoc//rdoc/rdoc.rb#428
+ # source://rdoc//lib/rdoc/rdoc.rb#428
def remove_unparseable(files); end
# Create an output dir if it doesn't exist. If it does exist, but doesn't
# contain the flag file created.rid then we refuse to use it, as
# we may clobber some manually generated documentation
#
- # source://rdoc//rdoc/rdoc.rb#170
+ # source://rdoc//lib/rdoc/rdoc.rb#170
def setup_output_dir(dir, force); end
# Accessor for statistics. Available after each call to parse_files
#
- # source://rdoc//rdoc/rdoc.rb#67
+ # source://rdoc//lib/rdoc/rdoc.rb#67
def stats; end
# The current documentation store
#
- # source://rdoc//rdoc/rdoc.rb#72
+ # source://rdoc//lib/rdoc/rdoc.rb#72
def store; end
# Sets the current documentation tree to +store+ and sets the store's rdoc
# driver to this instance.
#
- # source://rdoc//rdoc/rdoc.rb#215
+ # source://rdoc//lib/rdoc/rdoc.rb#215
def store=(store); end
# Update the flag file in an output directory.
#
- # source://rdoc//rdoc/rdoc.rb#223
+ # source://rdoc//lib/rdoc/rdoc.rb#223
def update_output_dir(op_dir, time, last = T.unsafe(nil)); end
class << self
# Add +klass+ that can generate output after parsing
#
- # source://rdoc//rdoc/rdoc.rb#77
+ # source://rdoc//lib/rdoc/rdoc.rb#77
def add_generator(klass); end
# Active RDoc::RDoc instance
#
- # source://rdoc//rdoc/rdoc.rb#85
+ # source://rdoc//lib/rdoc/rdoc.rb#85
def current; end
# Sets the active RDoc::RDoc instance
#
- # source://rdoc//rdoc/rdoc.rb#92
+ # source://rdoc//lib/rdoc/rdoc.rb#92
def current=(rdoc); end
end
end
# List of directory names skipped if test suites should be skipped
#
-# source://rdoc//rdoc/rdoc.rb#46
+# source://rdoc//lib/rdoc/rdoc.rb#46
RDoc::RDoc::TEST_SUITE_DIRECTORY_NAMES = T.let(T.unsafe(nil), Array)
# List of directory names always skipped
#
-# source://rdoc//rdoc/rdoc.rb#41
+# source://rdoc//lib/rdoc/rdoc.rb#41
RDoc::RDoc::UNCONDITIONALLY_SKIPPED_DIRECTORIES = T.let(T.unsafe(nil), Array)
# The RI driver implements the command-line ri tool.
@@ -10487,134 +10650,136 @@ RDoc::RDoc::UNCONDITIONALLY_SKIPPED_DIRECTORIES = T.let(T.unsafe(nil), Array)
# * Abbreviated names (ri Zl shows Zlib documentation)
# * Colorized output
# * Merging output from multiple RI data sources
+#
+# source://rdoc//lib/rdoc/ri/driver.rb#25
class RDoc::RI::Driver
# Creates a new driver using +initial_options+ from ::process_args
#
# @return [Driver] a new instance of Driver
#
- # source://rdoc//rdoc/ri/driver.rb#391
+ # source://rdoc//lib/rdoc/ri/driver.rb#391
def initialize(initial_options = T.unsafe(nil)); end
# Adds paths for undocumented classes +also_in+ to +out+
#
- # source://rdoc//rdoc/ri/driver.rb#429
+ # source://rdoc//lib/rdoc/ri/driver.rb#429
def add_also_in(out, also_in); end
# Adds a class header to +out+ for class +name+ which is described in
# +classes+.
#
- # source://rdoc//rdoc/ri/driver.rb#446
+ # source://rdoc//lib/rdoc/ri/driver.rb#446
def add_class(out, name, classes); end
# Adds +extends+ to +out+
#
- # source://rdoc//rdoc/ri/driver.rb#473
+ # source://rdoc//lib/rdoc/ri/driver.rb#473
def add_extends(out, extends); end
# Adds a list of +extensions+ to this module of the given +type+ to +out+.
# add_includes and add_extends call this, so you should use those directly.
#
- # source://rdoc//rdoc/ri/driver.rb#481
+ # source://rdoc//lib/rdoc/ri/driver.rb#481
def add_extension_modules(out, type, extensions); end
# Renders multiple included +modules+ from +store+ to +out+.
#
- # source://rdoc//rdoc/ri/driver.rb#499
+ # source://rdoc//lib/rdoc/ri/driver.rb#499
def add_extension_modules_multiple(out, store, modules); end
# Adds a single extension module +include+ from +store+ to +out+
#
- # source://rdoc//rdoc/ri/driver.rb#526
+ # source://rdoc//lib/rdoc/ri/driver.rb#526
def add_extension_modules_single(out, store, include); end
# Adds "(from ...)" to +out+ for +store+
#
- # source://rdoc//rdoc/ri/driver.rb#466
+ # source://rdoc//lib/rdoc/ri/driver.rb#466
def add_from(out, store); end
# Adds +includes+ to +out+
#
- # source://rdoc//rdoc/ri/driver.rb#540
+ # source://rdoc//lib/rdoc/ri/driver.rb#540
def add_includes(out, includes); end
# Looks up the method +name+ and adds it to +out+
#
- # source://rdoc//rdoc/ri/driver.rb#547
+ # source://rdoc//lib/rdoc/ri/driver.rb#547
def add_method(out, name); end
# Adds documentation for all methods in +klass+ to +out+
#
- # source://rdoc//rdoc/ri/driver.rb#558
+ # source://rdoc//lib/rdoc/ri/driver.rb#558
def add_method_documentation(out, klass); end
# Adds a list of +methods+ to +out+ with a heading of +name+
#
- # source://rdoc//rdoc/ri/driver.rb#571
+ # source://rdoc//lib/rdoc/ri/driver.rb#571
def add_method_list(out, methods, name); end
# Returns ancestor classes of +klass+
#
- # source://rdoc//rdoc/ri/driver.rb#591
+ # source://rdoc//lib/rdoc/ri/driver.rb#591
def ancestors_of(klass); end
- # source://rdoc//rdoc/ri/driver.rb#926
+ # source://rdoc//lib/rdoc/ri/driver.rb#926
def check_did_you_mean; end
# For RubyGems backwards compatibility
#
- # source://rdoc//rdoc/ri/driver.rb#622
+ # source://rdoc//lib/rdoc/ri/driver.rb#622
def class_cache; end
# Builds a RDoc::Markup::Document from +found+, +klasess+ and +includes+
#
- # source://rdoc//rdoc/ri/driver.rb#628
+ # source://rdoc//lib/rdoc/ri/driver.rb#628
def class_document(name, found, klasses, includes, extends); end
# Adds the class +comment+ to +out+.
#
- # source://rdoc//rdoc/ri/driver.rb#650
+ # source://rdoc//lib/rdoc/ri/driver.rb#650
def class_document_comment(out, comment); end
# Adds the constants from +klass+ to the Document +out+.
#
- # source://rdoc//rdoc/ri/driver.rb#670
+ # source://rdoc//lib/rdoc/ri/driver.rb#670
def class_document_constants(out, klass); end
# Hash mapping a known class or module to the stores it can be loaded from
#
- # source://rdoc//rdoc/ri/driver.rb#694
+ # source://rdoc//lib/rdoc/ri/driver.rb#694
def classes; end
# Returns the stores wherein +name+ is found along with the classes,
# extends and includes that match it
#
- # source://rdoc//rdoc/ri/driver.rb#714
+ # source://rdoc//lib/rdoc/ri/driver.rb#714
def classes_and_includes_and_extends_for(name); end
# Completes +name+ based on the caches. For Readline
#
- # source://rdoc//rdoc/ri/driver.rb#739
+ # source://rdoc//lib/rdoc/ri/driver.rb#739
def complete(name); end
- # source://rdoc//rdoc/ri/driver.rb#750
+ # source://rdoc//lib/rdoc/ri/driver.rb#750
def complete_klass(name, klass, selector, method, completions); end
- # source://rdoc//rdoc/ri/driver.rb#769
+ # source://rdoc//lib/rdoc/ri/driver.rb#769
def complete_method(name, klass, selector, completions); end
# Converts +document+ to text and writes it to the pager
#
- # source://rdoc//rdoc/ri/driver.rb#789
+ # source://rdoc//lib/rdoc/ri/driver.rb#789
def display(document); end
# Outputs formatted RI data for class +name+. Groups undocumented classes
#
- # source://rdoc//rdoc/ri/driver.rb#802
+ # source://rdoc//lib/rdoc/ri/driver.rb#802
def display_class(name); end
# Outputs formatted RI data for method +name+
#
- # source://rdoc//rdoc/ri/driver.rb#818
+ # source://rdoc//lib/rdoc/ri/driver.rb#818
def display_method(name); end
# Outputs formatted RI data for the class or method +name+.
@@ -10622,39 +10787,39 @@ class RDoc::RI::Driver
# Returns true if +name+ was found, false if it was not an alternative could
# be guessed, raises an error if +name+ couldn't be guessed.
#
- # source://rdoc//rdoc/ri/driver.rb#832
+ # source://rdoc//lib/rdoc/ri/driver.rb#832
def display_name(name); end
# Displays each name in +name+
#
- # source://rdoc//rdoc/ri/driver.rb#861
+ # source://rdoc//lib/rdoc/ri/driver.rb#861
def display_names(names); end
# Outputs formatted RI data for page +name+.
#
- # source://rdoc//rdoc/ri/driver.rb#872
+ # source://rdoc//lib/rdoc/ri/driver.rb#872
def display_page(name); end
# Outputs a formatted RI page list for the pages in +store+.
#
- # source://rdoc//rdoc/ri/driver.rb#903
+ # source://rdoc//lib/rdoc/ri/driver.rb#903
def display_page_list(store, pages = T.unsafe(nil), search = T.unsafe(nil)); end
# Expands abbreviated klass +klass+ into a fully-qualified class. "Zl::Da"
# will be expanded to Zlib::DataError.
#
- # source://rdoc//rdoc/ri/driver.rb#947
+ # source://rdoc//lib/rdoc/ri/driver.rb#947
def expand_class(klass); end
# Expands the class portion of +name+ into a fully-qualified class. See
# #expand_class.
#
- # source://rdoc//rdoc/ri/driver.rb#965
+ # source://rdoc//lib/rdoc/ri/driver.rb#965
def expand_name(name); end
# Filters the methods in +found+ trying to find a match for +name+.
#
- # source://rdoc//rdoc/ri/driver.rb#981
+ # source://rdoc//lib/rdoc/ri/driver.rb#981
def filter_methods(found, name); end
# Yields items matching +name+ including the store they were found in, the
@@ -10662,7 +10827,7 @@ class RDoc::RI::Driver
# types of methods to look up (from #method_type), and the method name being
# searched for
#
- # source://rdoc//rdoc/ri/driver.rb#999
+ # source://rdoc//lib/rdoc/ri/driver.rb#999
def find_methods(name); end
# Finds a store that matches +name+ which can be the name of a gem, "ruby",
@@ -10672,73 +10837,73 @@ class RDoc::RI::Driver
#
# @raise [RDoc::RI::Driver::NotFoundError]
#
- # source://rdoc//rdoc/ri/driver.rb#1045
+ # source://rdoc//lib/rdoc/ri/driver.rb#1045
def find_store(name); end
# Creates a new RDoc::Markup::Formatter. If a formatter is given with -f,
# use it. If we're outputting to a pager, use bs, otherwise ansi.
#
- # source://rdoc//rdoc/ri/driver.rb#1062
+ # source://rdoc//lib/rdoc/ri/driver.rb#1062
def formatter(io); end
# Runs ri interactively using Readline if it is available.
#
- # source://rdoc//rdoc/ri/driver.rb#1075
+ # source://rdoc//lib/rdoc/ri/driver.rb#1075
def interactive; end
# Lists classes known to ri starting with +names+. If +names+ is empty all
# known classes are shown.
#
- # source://rdoc//rdoc/ri/driver.rb#1114
+ # source://rdoc//lib/rdoc/ri/driver.rb#1114
def list_known_classes(names = T.unsafe(nil)); end
# Returns an Array of methods matching +name+
#
- # source://rdoc//rdoc/ri/driver.rb#1146
+ # source://rdoc//lib/rdoc/ri/driver.rb#1146
def list_methods_matching(name); end
# Loads RI data for method +name+ on +klass+ from +store+. +type+ and
# +cache+ indicate if it is a class or instance method.
#
- # source://rdoc//rdoc/ri/driver.rb#1185
+ # source://rdoc//lib/rdoc/ri/driver.rb#1185
def load_method(store, cache, klass, type, name); end
# Returns an Array of RI data for methods matching +name+
#
- # source://rdoc//rdoc/ri/driver.rb#1208
+ # source://rdoc//lib/rdoc/ri/driver.rb#1208
def load_methods_matching(name); end
# Returns a filtered list of methods matching +name+
#
- # source://rdoc//rdoc/ri/driver.rb#1229
+ # source://rdoc//lib/rdoc/ri/driver.rb#1229
def lookup_method(name); end
# Builds a RDoc::Markup::Document from +found+, +klasses+ and +includes+
#
- # source://rdoc//rdoc/ri/driver.rb#1254
+ # source://rdoc//lib/rdoc/ri/driver.rb#1254
def method_document(name, filtered); end
# Returns the type of method (:both, :instance, :class) for +selector+
#
- # source://rdoc//rdoc/ri/driver.rb#1272
+ # source://rdoc//lib/rdoc/ri/driver.rb#1272
def method_type(selector); end
# Returns a regular expression for +name+ that will match an
# RDoc::AnyMethod's name.
#
- # source://rdoc//rdoc/ri/driver.rb#1284
+ # source://rdoc//lib/rdoc/ri/driver.rb#1284
def name_regexp(name); end
# Paginates output through a pager program.
#
- # source://rdoc//rdoc/ri/driver.rb#1298
+ # source://rdoc//lib/rdoc/ri/driver.rb#1298
def page; end
# Are we using a pager?
#
# @return [Boolean]
#
- # source://rdoc//rdoc/ri/driver.rb#1316
+ # source://rdoc//lib/rdoc/ri/driver.rb#1316
def paging?; end
# Extracts the class, selector and method name parts from +name+ like
@@ -10747,146 +10912,152 @@ class RDoc::RI::Driver
# NOTE: Given Foo::Bar, Bar is considered a class even though it may be a
# method
#
- # source://rdoc//rdoc/ri/driver.rb#1327
+ # source://rdoc//lib/rdoc/ri/driver.rb#1327
def parse_name(name); end
# Renders the +klass+ from +store+ to +out+. If the klass has no
# documentable items the class is added to +also_in+ instead.
#
- # source://rdoc//rdoc/ri/driver.rb#1359
+ # source://rdoc//lib/rdoc/ri/driver.rb#1359
def render_class(out, store, klass, also_in); end
- # source://rdoc//rdoc/ri/driver.rb#1389
+ # source://rdoc//lib/rdoc/ri/driver.rb#1389
def render_method(out, store, method, name); end
- # source://rdoc//rdoc/ri/driver.rb#1409
+ # source://rdoc//lib/rdoc/ri/driver.rb#1409
def render_method_arguments(out, arglists); end
- # source://rdoc//rdoc/ri/driver.rb#1418
+ # source://rdoc//lib/rdoc/ri/driver.rb#1418
def render_method_comment(out, method, alias_for = T.unsafe(nil)); end
- # source://rdoc//rdoc/ri/driver.rb#1436
+ # source://rdoc//lib/rdoc/ri/driver.rb#1436
def render_method_superclass(out, method); end
# Looks up and displays ri data according to the options given.
#
- # source://rdoc//rdoc/ri/driver.rb#1448
+ # source://rdoc//lib/rdoc/ri/driver.rb#1448
def run; end
# Sets up a pager program to pass output through. Tries the RI_PAGER and
# PAGER environment variables followed by pager, less then more.
#
- # source://rdoc//rdoc/ri/driver.rb#1468
+ # source://rdoc//lib/rdoc/ri/driver.rb#1468
def setup_pager; end
# Show all method documentation following a class or module
#
- # source://rdoc//rdoc/ri/driver.rb#62
+ # source://rdoc//lib/rdoc/ri/driver.rb#62
def show_all; end
# Show all method documentation following a class or module
#
- # source://rdoc//rdoc/ri/driver.rb#62
+ # source://rdoc//lib/rdoc/ri/driver.rb#62
def show_all=(_arg0); end
# Starts a WEBrick server for ri.
#
- # source://rdoc//rdoc/ri/driver.rb#1494
+ # source://rdoc//lib/rdoc/ri/driver.rb#1494
def start_server; end
# An RDoc::RI::Store for each entry in the RI path
#
- # source://rdoc//rdoc/ri/driver.rb#67
+ # source://rdoc//lib/rdoc/ri/driver.rb#67
def stores; end
# An RDoc::RI::Store for each entry in the RI path
#
- # source://rdoc//rdoc/ri/driver.rb#67
+ # source://rdoc//lib/rdoc/ri/driver.rb#67
def stores=(_arg0); end
# Controls the user of the pager vs $stdout
#
- # source://rdoc//rdoc/ri/driver.rb#72
+ # source://rdoc//lib/rdoc/ri/driver.rb#72
def use_stdout; end
# Controls the user of the pager vs $stdout
#
- # source://rdoc//rdoc/ri/driver.rb#72
+ # source://rdoc//lib/rdoc/ri/driver.rb#72
def use_stdout=(_arg0); end
class << self
# Default options for ri
#
- # source://rdoc//rdoc/ri/driver.rb#77
+ # source://rdoc//lib/rdoc/ri/driver.rb#77
def default_options; end
# Dump +data_path+ using pp
#
- # source://rdoc//rdoc/ri/driver.rb#98
+ # source://rdoc//lib/rdoc/ri/driver.rb#98
def dump(data_path); end
# Parses +argv+ and returns a Hash of options
#
- # source://rdoc//rdoc/ri/driver.rb#109
+ # source://rdoc//lib/rdoc/ri/driver.rb#109
def process_args(argv); end
# Runs the ri command line executable using +argv+
#
- # source://rdoc//rdoc/ri/driver.rb#376
+ # source://rdoc//lib/rdoc/ri/driver.rb#376
def run(argv = T.unsafe(nil)); end
end
end
# Raised when a name isn't found in the ri data stores
+#
+# source://rdoc//lib/rdoc/ri/driver.rb#35
class RDoc::RI::Driver::NotFoundError < ::RDoc::RI::Driver::Error
# @return [NotFoundError] a new instance of NotFoundError
#
- # source://rdoc//rdoc/ri/driver.rb#37
+ # source://rdoc//lib/rdoc/ri/driver.rb#37
def initialize(klass, suggestion_proc = T.unsafe(nil)); end
- # source://rdoc//rdoc/ri/driver.rb#49
+ # source://rdoc//lib/rdoc/ri/driver.rb#49
def message; end
# Name that wasn't found
#
- # source://rdoc//rdoc/ri/driver.rb#45
+ # source://rdoc//lib/rdoc/ri/driver.rb#45
def name; end
end
# For RubyGems backwards compatibility
+#
+# source://rdoc//lib/rdoc/ri/formatter.rb#5
module RDoc::RI::Formatter; end
-# source://rdoc//rdoc/ri/store.rb#4
+# source://rdoc//lib/rdoc/ri/store.rb#4
RDoc::RI::Store = RDoc::Store
# A file loaded by \#require
+#
+# source://rdoc//lib/rdoc/require.rb#5
class RDoc::Require < ::RDoc::CodeObject
# Creates a new Require that loads +name+ with +comment+
#
# @return [Require] a new instance of Require
#
- # source://rdoc//rdoc/require.rb#15
+ # source://rdoc//lib/rdoc/require.rb#15
def initialize(name, comment); end
- # source://rdoc//rdoc/require.rb#22
+ # source://rdoc//lib/rdoc/require.rb#22
def inspect; end
# Name of the required file
#
- # source://rdoc//rdoc/require.rb#10
+ # source://rdoc//lib/rdoc/require.rb#10
def name; end
# Name of the required file
#
- # source://rdoc//rdoc/require.rb#10
+ # source://rdoc//lib/rdoc/require.rb#10
def name=(_arg0); end
- # source://rdoc//rdoc/require.rb#31
+ # source://rdoc//lib/rdoc/require.rb#31
def to_s; end
# The RDoc::TopLevel corresponding to this require, or +nil+ if not found.
#
- # source://rdoc//rdoc/require.rb#38
+ # source://rdoc//lib/rdoc/require.rb#38
def top_level; end
end
@@ -10909,6 +11080,8 @@ end
# base path when mounting:
#
# server.mount '/rdoc', RDoc::Servlet, '/rdoc'
+#
+# source://rdoc//lib/rdoc/servlet.rb#34
class RDoc::Servlet < ::WEBrick::HTTPServlet::AbstractServlet
# Creates a new WEBrick servlet.
#
@@ -10921,22 +11094,22 @@ class RDoc::Servlet < ::WEBrick::HTTPServlet::AbstractServlet
#
# @return [Servlet] a new instance of Servlet
#
- # source://rdoc//rdoc/servlet.rb#69
+ # source://rdoc//lib/rdoc/servlet.rb#69
def initialize(server, stores, cache, mount_path = T.unsafe(nil), extra_doc_dirs = T.unsafe(nil)); end
# Serves the asset at the path in +req+ for +generator_name+ via +res+.
#
- # source://rdoc//rdoc/servlet.rb#100
+ # source://rdoc//lib/rdoc/servlet.rb#100
def asset(generator_name, req, res); end
# Maps an asset type to its path on the filesystem
#
- # source://rdoc//rdoc/servlet.rb#42
+ # source://rdoc//lib/rdoc/servlet.rb#42
def asset_dirs; end
# GET request entry point. Fills in +res+ for the path, etc. in +req+.
#
- # source://rdoc//rdoc/servlet.rb#119
+ # source://rdoc//lib/rdoc/servlet.rb#119
def do_GET(req, res); end
# Fills in +res+ with the class, module or page for +req+ from +store+.
@@ -10945,36 +11118,36 @@ class RDoc::Servlet < ::WEBrick::HTTPServlet::AbstractServlet
# module or page name (/RDoc/Servlet.html becomes RDoc::Servlet).
# +generator+ is used to create the page.
#
- # source://rdoc//rdoc/servlet.rb#152
+ # source://rdoc//lib/rdoc/servlet.rb#152
def documentation_page(store, generator, path, req, res); end
# Creates the JSON search index on +res+ for the given +store+. +generator+
# must respond to \#json_index to build. +req+ is ignored.
#
- # source://rdoc//rdoc/servlet.rb#171
+ # source://rdoc//lib/rdoc/servlet.rb#171
def documentation_search(store, generator, req, res); end
# Returns the RDoc::Store and path relative to +mount_path+ for
# documentation at +path+.
#
- # source://rdoc//rdoc/servlet.rb#185
+ # source://rdoc//lib/rdoc/servlet.rb#185
def documentation_source(path); end
# Generates an error page for the +exception+ while handling +req+ on +res+.
#
- # source://rdoc//rdoc/servlet.rb#203
+ # source://rdoc//lib/rdoc/servlet.rb#203
def error(exception, req, res); end
# Instantiates a Darkfish generator for +store+
#
- # source://rdoc//rdoc/servlet.rb#246
+ # source://rdoc//lib/rdoc/servlet.rb#246
def generator_for(store); end
# Handles the If-Modified-Since HTTP header on +req+ for +path+. If the
# file has not been modified a Not Modified response is returned. If the
# file has been modified a Last-Modified header is added to +res+.
#
- # source://rdoc//rdoc/servlet.rb#267
+ # source://rdoc//lib/rdoc/servlet.rb#267
def if_modified_since(req, res, path = T.unsafe(nil)); end
# Returns an Array of installed documentation.
@@ -10984,75 +11157,79 @@ class RDoc::Servlet < ::WEBrick::HTTPServlet::AbstractServlet
# documentation exists, the type of documentation (See RDoc::RI::Paths#each)
# and the filesystem to the RDoc::Store for the documentation.
#
- # source://rdoc//rdoc/servlet.rb#290
+ # source://rdoc//lib/rdoc/servlet.rb#290
def installed_docs; end
# Returns a 404 page built by +generator+ for +req+ on +res+.
#
- # source://rdoc//rdoc/servlet.rb#318
+ # source://rdoc//lib/rdoc/servlet.rb#318
def not_found(generator, req, res, message = T.unsafe(nil)); end
# An RDoc::Options instance used for rendering options
#
- # source://rdoc//rdoc/servlet.rb#47
+ # source://rdoc//lib/rdoc/servlet.rb#47
def options; end
# Enumerates the ri paths. See RDoc::RI::Paths#each
#
- # source://rdoc//rdoc/servlet.rb#327
+ # source://rdoc//lib/rdoc/servlet.rb#327
def ri_paths(&block); end
# Generates the root page on +res+. +req+ is ignored.
#
- # source://rdoc//rdoc/servlet.rb#334
+ # source://rdoc//lib/rdoc/servlet.rb#334
def root(req, res); end
# Generates a search index for the root page on +res+. +req+ is ignored.
#
- # source://rdoc//rdoc/servlet.rb#345
+ # source://rdoc//lib/rdoc/servlet.rb#345
def root_search(req, res); end
# Displays documentation for +req+ on +res+, whether that be HTML or some
# asset.
#
- # source://rdoc//rdoc/servlet.rb#395
+ # source://rdoc//lib/rdoc/servlet.rb#395
def show_documentation(req, res); end
# Returns an RDoc::Store for the given +source_name+ ('ruby' or a gem name).
#
- # source://rdoc//rdoc/servlet.rb#419
+ # source://rdoc//lib/rdoc/servlet.rb#419
def store_for(source_name); end
class << self
# Creates an instance of this servlet that shares cached data between
# requests.
#
- # source://rdoc//rdoc/servlet.rb#53
+ # source://rdoc//lib/rdoc/servlet.rb#53
def get_instance(server, *options); end
end
end
# A singleton class
+#
+# source://rdoc//lib/rdoc/single_class.rb#5
class RDoc::SingleClass < ::RDoc::ClassModule
# Adds the superclass to the included modules.
#
- # source://rdoc//rdoc/single_class.rb#10
+ # source://rdoc//lib/rdoc/single_class.rb#10
def ancestors; end
- # source://rdoc//rdoc/single_class.rb#14
+ # source://rdoc//lib/rdoc/single_class.rb#14
def aref_prefix; end
# The definition of this singleton class, class << MyClassName
#
- # source://rdoc//rdoc/single_class.rb#21
+ # source://rdoc//lib/rdoc/single_class.rb#21
def definition; end
- # source://rdoc//rdoc/single_class.rb#25
+ # source://rdoc//lib/rdoc/single_class.rb#25
def pretty_print(q); end
end
# RDoc statistics collector which prints a summary and report of a project's
# documentation totals.
+#
+# source://rdoc//lib/rdoc/stats.rb#6
class RDoc::Stats
include ::RDoc::Text
@@ -11061,58 +11238,58 @@ class RDoc::Stats
#
# @return [Stats] a new instance of Stats
#
- # source://rdoc//rdoc/stats.rb#29
+ # source://rdoc//lib/rdoc/stats.rb#29
def initialize(store, num_files, verbosity = T.unsafe(nil)); end
# Records the parsing of an alias +as+.
#
- # source://rdoc//rdoc/stats.rb#52
+ # source://rdoc//lib/rdoc/stats.rb#52
def add_alias(as); end
# Records the parsing of an attribute +attribute+
#
- # source://rdoc//rdoc/stats.rb#59
+ # source://rdoc//lib/rdoc/stats.rb#59
def add_attribute(attribute); end
# Records the parsing of a class +klass+
#
- # source://rdoc//rdoc/stats.rb#66
+ # source://rdoc//lib/rdoc/stats.rb#66
def add_class(klass); end
# Records the parsing of +constant+
#
- # source://rdoc//rdoc/stats.rb#73
+ # source://rdoc//lib/rdoc/stats.rb#73
def add_constant(constant); end
# Records the parsing of +file+
#
- # source://rdoc//rdoc/stats.rb#80
+ # source://rdoc//lib/rdoc/stats.rb#80
def add_file(file); end
# Records the parsing of +method+
#
- # source://rdoc//rdoc/stats.rb#88
+ # source://rdoc//lib/rdoc/stats.rb#88
def add_method(method); end
# Records the parsing of a module +mod+
#
- # source://rdoc//rdoc/stats.rb#95
+ # source://rdoc//lib/rdoc/stats.rb#95
def add_module(mod); end
# Call this to mark the beginning of parsing for display purposes
#
- # source://rdoc//rdoc/stats.rb#102
+ # source://rdoc//lib/rdoc/stats.rb#102
def begin_adding; end
# Calculates documentation totals and percentages for classes, modules,
# constants, attributes and methods.
#
- # source://rdoc//rdoc/stats.rb#110
+ # source://rdoc//lib/rdoc/stats.rb#110
def calculate; end
# Output level for the coverage report
#
- # source://rdoc//rdoc/stats.rb#13
+ # source://rdoc//lib/rdoc/stats.rb#13
def coverage_level; end
# Sets coverage report level. Accepted values are:
@@ -11121,22 +11298,22 @@ class RDoc::Stats
# 0:: Classes, modules, constants, attributes, methods
# 1:: Level 0 + method parameters
#
- # source://rdoc//rdoc/stats.rb#158
+ # source://rdoc//lib/rdoc/stats.rb#158
def coverage_level=(level); end
# Returns the length and number of undocumented items in +collection+.
#
- # source://rdoc//rdoc/stats.rb#167
+ # source://rdoc//lib/rdoc/stats.rb#167
def doc_stats(collection); end
# Call this to mark the end of parsing for display purposes
#
- # source://rdoc//rdoc/stats.rb#175
+ # source://rdoc//lib/rdoc/stats.rb#175
def done_adding; end
# Count of files parsed during parsing
#
- # source://rdoc//rdoc/stats.rb#18
+ # source://rdoc//lib/rdoc/stats.rb#18
def files_so_far; end
# The documentation status of this project. +true+ when 100%, +false+ when
@@ -11146,158 +11323,164 @@ class RDoc::Stats
#
# @return [Boolean]
#
- # source://rdoc//rdoc/stats.rb#185
+ # source://rdoc//lib/rdoc/stats.rb#185
def fully_documented?; end
# A report that says you did a great job!
#
- # source://rdoc//rdoc/stats.rb#192
+ # source://rdoc//lib/rdoc/stats.rb#192
def great_job; end
# Total number of files found
#
- # source://rdoc//rdoc/stats.rb#23
+ # source://rdoc//lib/rdoc/stats.rb#23
def num_files; end
# Calculates the percentage of items documented.
#
- # source://rdoc//rdoc/stats.rb#204
+ # source://rdoc//lib/rdoc/stats.rb#204
def percent_doc; end
# Returns a report on which items are not documented
#
- # source://rdoc//rdoc/stats.rb#218
+ # source://rdoc//lib/rdoc/stats.rb#218
def report; end
# Returns a report on undocumented attributes in ClassModule +cm+
#
- # source://rdoc//rdoc/stats.rb#259
+ # source://rdoc//lib/rdoc/stats.rb#259
def report_attributes(cm); end
# Returns a report on undocumented items in ClassModule +cm+
#
- # source://rdoc//rdoc/stats.rb#277
+ # source://rdoc//lib/rdoc/stats.rb#277
def report_class_module(cm); end
# Returns a report on undocumented constants in ClassModule +cm+
#
- # source://rdoc//rdoc/stats.rb#329
+ # source://rdoc//lib/rdoc/stats.rb#329
def report_constants(cm); end
# Returns a report on undocumented methods in ClassModule +cm+
#
- # source://rdoc//rdoc/stats.rb#351
+ # source://rdoc//lib/rdoc/stats.rb#351
def report_methods(cm); end
# Returns a summary of the collected statistics.
#
- # source://rdoc//rdoc/stats.rb#389
+ # source://rdoc//lib/rdoc/stats.rb#389
def summary; end
# Determines which parameters in +method+ were not documented. Returns a
# total parameter count and an Array of undocumented methods.
#
- # source://rdoc//rdoc/stats.rb#439
+ # source://rdoc//lib/rdoc/stats.rb#439
def undoc_params(method); end
end
# Stats printer that prints just the files being documented with a progress
# bar
+#
+# source://rdoc//lib/rdoc/stats/normal.rb#13
class RDoc::Stats::Normal < ::RDoc::Stats::Quiet
- # source://rdoc//rdoc/stats/normal.rb#15
+ # source://rdoc//lib/rdoc/stats/normal.rb#15
def begin_adding; end
- # source://rdoc//rdoc/stats/normal.rb#54
+ # source://rdoc//lib/rdoc/stats/normal.rb#54
def done_adding; end
# Prints a file with a progress bar
#
- # source://rdoc//rdoc/stats/normal.rb#23
+ # source://rdoc//lib/rdoc/stats/normal.rb#23
def print_file(files_so_far, filename); end
end
# Stats printer that prints nothing
+#
+# source://rdoc//lib/rdoc/stats/quiet.rb#5
class RDoc::Stats::Quiet
# Creates a new Quiet that will print nothing
#
# @return [Quiet] a new instance of Quiet
#
- # source://rdoc//rdoc/stats/quiet.rb#10
+ # source://rdoc//lib/rdoc/stats/quiet.rb#10
def initialize(num_files); end
# Prints a message at the beginning of parsing
#
- # source://rdoc//rdoc/stats/quiet.rb#17
+ # source://rdoc//lib/rdoc/stats/quiet.rb#17
def begin_adding(*_arg0); end
# Prints when RDoc is done
#
- # source://rdoc//rdoc/stats/quiet.rb#57
+ # source://rdoc//lib/rdoc/stats/quiet.rb#57
def done_adding(*_arg0); end
# Prints when an alias is added
#
- # source://rdoc//rdoc/stats/quiet.rb#22
+ # source://rdoc//lib/rdoc/stats/quiet.rb#22
def print_alias(*_arg0); end
# Prints when an attribute is added
#
- # source://rdoc//rdoc/stats/quiet.rb#27
+ # source://rdoc//lib/rdoc/stats/quiet.rb#27
def print_attribute(*_arg0); end
# Prints when a class is added
#
- # source://rdoc//rdoc/stats/quiet.rb#32
+ # source://rdoc//lib/rdoc/stats/quiet.rb#32
def print_class(*_arg0); end
# Prints when a constant is added
#
- # source://rdoc//rdoc/stats/quiet.rb#37
+ # source://rdoc//lib/rdoc/stats/quiet.rb#37
def print_constant(*_arg0); end
# Prints when a file is added
#
- # source://rdoc//rdoc/stats/quiet.rb#42
+ # source://rdoc//lib/rdoc/stats/quiet.rb#42
def print_file(*_arg0); end
# Prints when a method is added
#
- # source://rdoc//rdoc/stats/quiet.rb#47
+ # source://rdoc//lib/rdoc/stats/quiet.rb#47
def print_method(*_arg0); end
# Prints when a module is added
#
- # source://rdoc//rdoc/stats/quiet.rb#52
+ # source://rdoc//lib/rdoc/stats/quiet.rb#52
def print_module(*_arg0); end
end
# Stats printer that prints everything documented, including the documented
# status
+#
+# source://rdoc//lib/rdoc/stats/verbose.rb#6
class RDoc::Stats::Verbose < ::RDoc::Stats::Normal
# Returns a marker for RDoc::CodeObject +co+ being undocumented
#
- # source://rdoc//rdoc/stats/verbose.rb#11
+ # source://rdoc//lib/rdoc/stats/verbose.rb#11
def nodoc(co); end
- # source://rdoc//rdoc/stats/verbose.rb#15
+ # source://rdoc//lib/rdoc/stats/verbose.rb#15
def print_alias(as); end
- # source://rdoc//rdoc/stats/verbose.rb#19
+ # source://rdoc//lib/rdoc/stats/verbose.rb#19
def print_attribute(attribute); end
- # source://rdoc//rdoc/stats/verbose.rb#23
+ # source://rdoc//lib/rdoc/stats/verbose.rb#23
def print_class(klass); end
- # source://rdoc//rdoc/stats/verbose.rb#27
+ # source://rdoc//lib/rdoc/stats/verbose.rb#27
def print_constant(constant); end
- # source://rdoc//rdoc/stats/verbose.rb#31
+ # source://rdoc//lib/rdoc/stats/verbose.rb#31
def print_file(files_so_far, file); end
- # source://rdoc//rdoc/stats/verbose.rb#36
+ # source://rdoc//lib/rdoc/stats/verbose.rb#36
def print_method(method); end
- # source://rdoc//rdoc/stats/verbose.rb#40
+ # source://rdoc//lib/rdoc/stats/verbose.rb#40
def print_module(mod); end
end
@@ -11320,117 +11503,119 @@ end
# }
# --
# TODO need to prune classes
+#
+# source://rdoc//lib/rdoc/store.rb#25
class RDoc::Store
# Creates a new Store of +type+ that will load or save to +path+
#
# @return [Store] a new instance of Store
#
- # source://rdoc//rdoc/store.rb#127
+ # source://rdoc//lib/rdoc/store.rb#127
def initialize(path = T.unsafe(nil), type = T.unsafe(nil)); end
# Adds +module+ as an enclosure (namespace) for the given +variable+ for C
# files.
#
- # source://rdoc//rdoc/store.rb#169
+ # source://rdoc//lib/rdoc/store.rb#169
def add_c_enclosure(variable, namespace); end
# Adds C variables from an RDoc::Parser::C
#
- # source://rdoc//rdoc/store.rb#176
+ # source://rdoc//lib/rdoc/store.rb#176
def add_c_variables(c_parser); end
# Adds the file with +name+ as an RDoc::TopLevel to the store. Returns the
# created RDoc::TopLevel.
#
- # source://rdoc//rdoc/store.rb#188
+ # source://rdoc//lib/rdoc/store.rb#188
def add_file(absolute_name, relative_name: T.unsafe(nil), parser: T.unsafe(nil)); end
# Returns all classes discovered by RDoc
#
- # source://rdoc//rdoc/store.rb#212
+ # source://rdoc//lib/rdoc/store.rb#212
def all_classes; end
# Returns all classes and modules discovered by RDoc
#
- # source://rdoc//rdoc/store.rb#219
+ # source://rdoc//lib/rdoc/store.rb#219
def all_classes_and_modules; end
# All TopLevels known to RDoc
#
- # source://rdoc//rdoc/store.rb#226
+ # source://rdoc//lib/rdoc/store.rb#226
def all_files; end
# Returns all modules discovered by RDoc
#
- # source://rdoc//rdoc/store.rb#233
+ # source://rdoc//lib/rdoc/store.rb#233
def all_modules; end
# Ancestors cache accessor. Maps a klass name to an Array of its ancestors
# in this store. If Foo in this store inherits from Object, Kernel won't be
# listed (it will be included from ruby's ri store).
#
- # source://rdoc//rdoc/store.rb#242
+ # source://rdoc//lib/rdoc/store.rb#242
def ancestors; end
# Attributes cache accessor. Maps a class to an Array of its attributes.
#
- # source://rdoc//rdoc/store.rb#249
+ # source://rdoc//lib/rdoc/store.rb#249
def attributes; end
# Maps C variables to class or module names for each parsed C file.
#
- # source://rdoc//rdoc/store.rb#80
+ # source://rdoc//lib/rdoc/store.rb#80
def c_class_variables; end
# Stores the name of the C variable a class belongs to. This helps wire up
# classes defined from C across files.
#
- # source://rdoc//rdoc/store.rb#73
+ # source://rdoc//lib/rdoc/store.rb#73
def c_enclosure_classes; end
- # source://rdoc//rdoc/store.rb#75
+ # source://rdoc//lib/rdoc/store.rb#75
def c_enclosure_names; end
# Maps C variables to singleton class names for each parsed C file.
#
- # source://rdoc//rdoc/store.rb#85
+ # source://rdoc//lib/rdoc/store.rb#85
def c_singleton_class_variables; end
# The contents of the Store
#
- # source://rdoc//rdoc/store.rb#112
+ # source://rdoc//lib/rdoc/store.rb#112
def cache; end
# Path to the cache file
#
- # source://rdoc//rdoc/store.rb#256
+ # source://rdoc//lib/rdoc/store.rb#256
def cache_path; end
# Path to the ri data for +klass_name+
#
- # source://rdoc//rdoc/store.rb#263
+ # source://rdoc//lib/rdoc/store.rb#263
def class_file(klass_name); end
# Class methods cache accessor. Maps a class to an Array of its class
# methods (not full name).
#
- # source://rdoc//rdoc/store.rb#272
+ # source://rdoc//lib/rdoc/store.rb#272
def class_methods; end
# Path where data for +klass_name+ will be stored (methods or class data)
#
- # source://rdoc//rdoc/store.rb#279
+ # source://rdoc//lib/rdoc/store.rb#279
def class_path(klass_name); end
# Hash of all classes known to RDoc
#
- # source://rdoc//rdoc/store.rb#286
+ # source://rdoc//lib/rdoc/store.rb#286
def classes_hash; end
# Removes empty items and ensures item in each collection are unique and
# sorted
#
- # source://rdoc//rdoc/store.rb#294
+ # source://rdoc//lib/rdoc/store.rb#294
def clean_cache_collection(collection); end
# Prepares the RDoc code object tree for use by a generator.
@@ -11448,68 +11633,68 @@ class RDoc::Store
#
# See also RDoc::Context#remove_from_documentation?
#
- # source://rdoc//rdoc/store.rb#322
+ # source://rdoc//lib/rdoc/store.rb#322
def complete(min_visibility); end
# If true this Store will not write any files
#
- # source://rdoc//rdoc/store.rb#90
+ # source://rdoc//lib/rdoc/store.rb#90
def dry_run; end
# If true this Store will not write any files
#
- # source://rdoc//rdoc/store.rb#90
+ # source://rdoc//lib/rdoc/store.rb#90
def dry_run=(_arg0); end
# The encoding of the contents in the Store
#
- # source://rdoc//rdoc/store.rb#117
+ # source://rdoc//lib/rdoc/store.rb#117
def encoding; end
# The encoding of the contents in the Store
#
- # source://rdoc//rdoc/store.rb#117
+ # source://rdoc//lib/rdoc/store.rb#117
def encoding=(_arg0); end
# Hash of all files known to RDoc
#
- # source://rdoc//rdoc/store.rb#362
+ # source://rdoc//lib/rdoc/store.rb#362
def files_hash; end
# Finds the enclosure (namespace) for the given C +variable+.
#
- # source://rdoc//rdoc/store.rb#369
+ # source://rdoc//lib/rdoc/store.rb#369
def find_c_enclosure(variable); end
# Finds the class with +name+ in all discovered classes
#
- # source://rdoc//rdoc/store.rb#394
+ # source://rdoc//lib/rdoc/store.rb#394
def find_class_named(name); end
# Finds the class with +name+ starting in namespace +from+
#
- # source://rdoc//rdoc/store.rb#401
+ # source://rdoc//lib/rdoc/store.rb#401
def find_class_named_from(name, from); end
# Finds the class or module with +name+
#
- # source://rdoc//rdoc/store.rb#419
+ # source://rdoc//lib/rdoc/store.rb#419
def find_class_or_module(name); end
# Finds the file with +name+ in all discovered files
#
- # source://rdoc//rdoc/store.rb#427
+ # source://rdoc//lib/rdoc/store.rb#427
def find_file_named(name); end
# Finds the module with +name+ in all discovered modules
#
- # source://rdoc//rdoc/store.rb#434
+ # source://rdoc//lib/rdoc/store.rb#434
def find_module_named(name); end
# Returns the RDoc::TopLevel that is a text file and has the given
# +file_name+
#
- # source://rdoc//rdoc/store.rb#442
+ # source://rdoc//lib/rdoc/store.rb#442
def find_text_page(file_name); end
# Finds unique classes/modules defined in +all_hash+,
@@ -11518,7 +11703,7 @@ class RDoc::Store
# --
# TODO aliases should be registered by Context#add_module_alias
#
- # source://rdoc//rdoc/store.rb#455
+ # source://rdoc//lib/rdoc/store.rb#455
def find_unique(all_hash); end
# Fixes the erroneous BasicObject < Object in 1.9.
@@ -11529,149 +11714,149 @@ class RDoc::Store
# We fix BasicObject right away if we are running in a Ruby
# version >= 1.9.
#
- # source://rdoc//rdoc/store.rb#474
+ # source://rdoc//lib/rdoc/store.rb#474
def fix_basic_object_inheritance; end
# Friendly rendition of #path
#
- # source://rdoc//rdoc/store.rb#483
+ # source://rdoc//lib/rdoc/store.rb#483
def friendly_path; end
- # source://rdoc//rdoc/store.rb#495
+ # source://rdoc//lib/rdoc/store.rb#495
def inspect; end
# Instance methods cache accessor. Maps a class to an Array of its
# instance methods (not full name).
#
- # source://rdoc//rdoc/store.rb#503
+ # source://rdoc//lib/rdoc/store.rb#503
def instance_methods; end
# Loads all items from this store into memory. This recreates a
# documentation tree for use by a generator
#
- # source://rdoc//rdoc/store.rb#511
+ # source://rdoc//lib/rdoc/store.rb#511
def load_all; end
# Loads cache file for this store
#
- # source://rdoc//rdoc/store.rb#559
+ # source://rdoc//lib/rdoc/store.rb#559
def load_cache; end
# Loads ri data for +klass_name+ and hooks it up to this store.
#
- # source://rdoc//rdoc/store.rb#600
+ # source://rdoc//lib/rdoc/store.rb#598
def load_class(klass_name); end
# Loads ri data for +klass_name+
#
- # source://rdoc//rdoc/store.rb#618
+ # source://rdoc//lib/rdoc/store.rb#616
def load_class_data(klass_name); end
# Loads ri data for +method_name+ in +klass_name+
#
- # source://rdoc//rdoc/store.rb#633
+ # source://rdoc//lib/rdoc/store.rb#629
def load_method(klass_name, method_name); end
# Loads ri data for +page_name+
#
- # source://rdoc//rdoc/store.rb#653
+ # source://rdoc//lib/rdoc/store.rb#645
def load_page(page_name); end
# Gets the main page for this RDoc store. This page is used as the root of
# the RDoc server.
#
- # source://rdoc//rdoc/store.rb#671
+ # source://rdoc//lib/rdoc/store.rb#661
def main; end
# Sets the main page for this RDoc store.
#
- # source://rdoc//rdoc/store.rb#678
+ # source://rdoc//lib/rdoc/store.rb#668
def main=(page); end
# Converts the variable => ClassModule map +variables+ from a C parser into
# a variable => class name map.
#
- # source://rdoc//rdoc/store.rb#686
+ # source://rdoc//lib/rdoc/store.rb#676
def make_variable_map(variables); end
# Path to the ri data for +method_name+ in +klass_name+
#
- # source://rdoc//rdoc/store.rb#699
+ # source://rdoc//lib/rdoc/store.rb#689
def method_file(klass_name, method_name); end
# Modules cache accessor. An Array of all the module (and class) names in
# the store.
#
- # source://rdoc//rdoc/store.rb#713
+ # source://rdoc//lib/rdoc/store.rb#703
def module_names; end
# Hash of all modules known to RDoc
#
- # source://rdoc//rdoc/store.rb#720
+ # source://rdoc//lib/rdoc/store.rb#710
def modules_hash; end
# Returns the RDoc::TopLevel that is a text file and has the given +name+
#
- # source://rdoc//rdoc/store.rb#727
+ # source://rdoc//lib/rdoc/store.rb#717
def page(name); end
# Path to the ri data for +page_name+
#
- # source://rdoc//rdoc/store.rb#736
+ # source://rdoc//lib/rdoc/store.rb#726
def page_file(page_name); end
# Path this store reads or writes
#
- # source://rdoc//rdoc/store.rb#95
+ # source://rdoc//lib/rdoc/store.rb#95
def path; end
# Path this store reads or writes
#
- # source://rdoc//rdoc/store.rb#95
+ # source://rdoc//lib/rdoc/store.rb#95
def path=(_arg0); end
# The RDoc::RDoc driver for this parse tree. This allows classes consulting
# the documentation tree to access user-set options, for example.
#
- # source://rdoc//rdoc/store.rb#101
+ # source://rdoc//lib/rdoc/store.rb#101
def rdoc; end
# The RDoc::RDoc driver for this parse tree. This allows classes consulting
# the documentation tree to access user-set options, for example.
#
- # source://rdoc//rdoc/store.rb#101
+ # source://rdoc//lib/rdoc/store.rb#101
def rdoc=(_arg0); end
# Removes from +all_hash+ the contexts that are nodoc or have no content.
#
# See RDoc::Context#remove_from_documentation?
#
- # source://rdoc//rdoc/store.rb#747
+ # source://rdoc//lib/rdoc/store.rb#737
def remove_nodoc(all_hash); end
# Saves all entries in the store
#
- # source://rdoc//rdoc/store.rb#757
+ # source://rdoc//lib/rdoc/store.rb#747
def save; end
# Writes the cache file for this store
#
- # source://rdoc//rdoc/store.rb#782
+ # source://rdoc//lib/rdoc/store.rb#772
def save_cache; end
# Writes the ri data for +klass+ (or module)
#
- # source://rdoc//rdoc/store.rb#809
+ # source://rdoc//lib/rdoc/store.rb#799
def save_class(klass); end
# Writes the ri data for +method+ on +klass+
#
- # source://rdoc//rdoc/store.rb#883
+ # source://rdoc//lib/rdoc/store.rb#873
def save_method(klass, method); end
# Writes the ri data for +page+
#
- # source://rdoc//rdoc/store.rb#906
+ # source://rdoc//lib/rdoc/store.rb#896
def save_page(page); end
# Source of the contents of this store.
@@ -11682,88 +11867,98 @@ class RDoc::Store
# ri directory the store is "site". For other stores the source is the
# #path.
#
- # source://rdoc//rdoc/store.rb#932
+ # source://rdoc//lib/rdoc/store.rb#922
def source; end
# Gets the title for this RDoc store. This is used as the title in each
# page on the RDoc server
#
- # source://rdoc//rdoc/store.rb#946
+ # source://rdoc//lib/rdoc/store.rb#936
def title; end
# Sets the title page for this RDoc store.
#
- # source://rdoc//rdoc/store.rb#953
+ # source://rdoc//lib/rdoc/store.rb#943
def title=(title); end
# Type of ri datastore this was loaded from. See RDoc::RI::Driver,
# RDoc::RI::Paths.
#
- # source://rdoc//rdoc/store.rb#107
+ # source://rdoc//lib/rdoc/store.rb#107
def type; end
# Type of ri datastore this was loaded from. See RDoc::RI::Driver,
# RDoc::RI::Paths.
#
- # source://rdoc//rdoc/store.rb#107
+ # source://rdoc//lib/rdoc/store.rb#107
def type=(_arg0); end
# Returns the unique classes discovered by RDoc.
#
# ::complete must have been called prior to using this method.
#
- # source://rdoc//rdoc/store.rb#962
+ # source://rdoc//lib/rdoc/store.rb#952
def unique_classes; end
# Returns the unique classes and modules discovered by RDoc.
# ::complete must have been called prior to using this method.
#
- # source://rdoc//rdoc/store.rb#970
+ # source://rdoc//lib/rdoc/store.rb#960
def unique_classes_and_modules; end
# Returns the unique modules discovered by RDoc.
# ::complete must have been called prior to using this method.
#
- # source://rdoc//rdoc/store.rb#978
+ # source://rdoc//lib/rdoc/store.rb#968
def unique_modules; end
# The lazy constants alias will be discovered in passing
#
- # source://rdoc//rdoc/store.rb#122
+ # source://rdoc//lib/rdoc/store.rb#122
def unmatched_constant_alias; end
# Sets the parser of +absolute_name+, unless it from a source code file.
#
- # source://rdoc//rdoc/store.rb#203
+ # source://rdoc//lib/rdoc/store.rb#203
def update_parser_of_file(absolute_name, parser); end
+
+ private
+
+ # source://rdoc//lib/rdoc/store.rb#973
+ def marshal_load(file); end
end
+# source://rdoc//lib/rdoc/store.rb#977
+RDoc::Store::MarshalFilter = T.let(T.unsafe(nil), Proc)
+
# Raised when a stored file for a class, module, page or method is missing.
+#
+# source://rdoc//lib/rdoc/store.rb#36
class RDoc::Store::MissingFileError < ::RDoc::Store::Error
# Creates a new MissingFileError for the missing +file+ for the given
# +name+ that should have been in the +store+.
#
# @return [MissingFileError] a new instance of MissingFileError
#
- # source://rdoc//rdoc/store.rb#57
+ # source://rdoc//lib/rdoc/store.rb#57
def initialize(store, file, name); end
# The file the #name should be saved as
#
- # source://rdoc//rdoc/store.rb#46
+ # source://rdoc//lib/rdoc/store.rb#46
def file; end
- # source://rdoc//rdoc/store.rb#63
+ # source://rdoc//lib/rdoc/store.rb#63
def message; end
# The name of the object the #file would be loaded from
#
- # source://rdoc//rdoc/store.rb#51
+ # source://rdoc//lib/rdoc/store.rb#51
def name; end
# The store the file should exist in
#
- # source://rdoc//rdoc/store.rb#41
+ # source://rdoc//lib/rdoc/store.rb#41
def store; end
end
@@ -11825,6 +12020,8 @@ end
#
# This will create the tasks :rdoc, :rdoc:clean,
# :rdoc:force, and :rdoc:coverage.
+#
+# source://rdoc//lib/rdoc/task.rb#99
class RDoc::Task < ::Rake::TaskLib
# Create an RDoc task with the given name. See the RDoc::Task class overview
# for documentation.
@@ -11833,264 +12030,266 @@ class RDoc::Task < ::Rake::TaskLib
# @yield [_self]
# @yieldparam _self [RDoc::Task] the object that the method was called on
#
- # source://rdoc//rdoc/task.rb#158
+ # source://rdoc//lib/rdoc/task.rb#158
def initialize(name = T.unsafe(nil)); end
# The block passed to this method will be called just before running the
# RDoc generator. It is allowed to modify RDoc::Task attributes inside the
# block.
#
- # source://rdoc//rdoc/task.rb#288
+ # source://rdoc//lib/rdoc/task.rb#288
def before_running_rdoc(&block); end
# Ensures that +names+ only includes names for the :rdoc, :clobber_rdoc and
# :rerdoc. If other names are given an ArgumentError is raised.
#
- # source://rdoc//rdoc/task.rb#174
+ # source://rdoc//lib/rdoc/task.rb#174
def check_names(names); end
# Task description for the clobber rdoc task or its renamed equivalent
#
- # source://rdoc//rdoc/task.rb#188
+ # source://rdoc//lib/rdoc/task.rb#188
def clobber_task_description; end
# Task description for the coverage task or its renamed description
#
- # source://rdoc//rdoc/task.rb#309
+ # source://rdoc//lib/rdoc/task.rb#309
def coverage_task_description; end
# Sets default task values
#
- # source://rdoc//rdoc/task.rb#195
+ # source://rdoc//lib/rdoc/task.rb#195
def defaults; end
# Create the tasks defined by this task lib.
#
- # source://rdoc//rdoc/task.rb#224
+ # source://rdoc//lib/rdoc/task.rb#224
def define; end
# Whether to run the rdoc process as an external shell (default is false)
#
- # source://rdoc//rdoc/task.rb#152
+ # source://rdoc//lib/rdoc/task.rb#152
def external; end
# Whether to run the rdoc process as an external shell (default is false)
#
- # source://rdoc//rdoc/task.rb#152
+ # source://rdoc//lib/rdoc/task.rb#152
def external=(_arg0); end
# Name of format generator (--format) used by rdoc. (defaults to
# rdoc's default)
#
- # source://rdoc//rdoc/task.rb#137
+ # source://rdoc//lib/rdoc/task.rb#137
def generator; end
# Name of format generator (--format) used by rdoc. (defaults to
# rdoc's default)
#
- # source://rdoc//rdoc/task.rb#137
+ # source://rdoc//lib/rdoc/task.rb#137
def generator=(_arg0); end
# All source is inline now. This method is deprecated
#
- # source://rdoc//rdoc/task.rb#209
+ # source://rdoc//lib/rdoc/task.rb#209
def inline_source; end
# All source is inline now. This method is deprecated
#
- # source://rdoc//rdoc/task.rb#217
+ # source://rdoc//lib/rdoc/task.rb#217
def inline_source=(value); end
# Name of file to be used as the main, top level file of the RDoc. (default
# is none)
#
- # source://rdoc//rdoc/task.rb#126
+ # source://rdoc//lib/rdoc/task.rb#126
def main; end
# Name of file to be used as the main, top level file of the RDoc. (default
# is none)
#
- # source://rdoc//rdoc/task.rb#126
+ # source://rdoc//lib/rdoc/task.rb#126
def main=(_arg0); end
# Comment markup format. rdoc, rd and tomdoc are supported. (default is
# 'rdoc')
#
- # source://rdoc//rdoc/task.rb#110
+ # source://rdoc//lib/rdoc/task.rb#110
def markup; end
# Comment markup format. rdoc, rd and tomdoc are supported. (default is
# 'rdoc')
#
- # source://rdoc//rdoc/task.rb#110
+ # source://rdoc//lib/rdoc/task.rb#110
def markup=(_arg0); end
# Name of the main, top level task. (default is :rdoc)
#
- # source://rdoc//rdoc/task.rb#104
+ # source://rdoc//lib/rdoc/task.rb#104
def name; end
# Name of the main, top level task. (default is :rdoc)
#
- # source://rdoc//rdoc/task.rb#104
+ # source://rdoc//lib/rdoc/task.rb#104
def name=(_arg0); end
# List of options that will be supplied to RDoc
#
- # source://rdoc//rdoc/task.rb#272
+ # source://rdoc//lib/rdoc/task.rb#272
def option_list; end
# Additional list of options to be passed rdoc. (default is [])
#
- # source://rdoc//rdoc/task.rb#147
+ # source://rdoc//lib/rdoc/task.rb#147
def options; end
# Additional list of options to be passed rdoc. (default is [])
#
- # source://rdoc//rdoc/task.rb#147
+ # source://rdoc//lib/rdoc/task.rb#147
def options=(_arg0); end
# Name of directory to receive the html output files. (default is "html")
#
- # source://rdoc//rdoc/task.rb#115
+ # source://rdoc//lib/rdoc/task.rb#115
def rdoc_dir; end
# Name of directory to receive the html output files. (default is "html")
#
- # source://rdoc//rdoc/task.rb#115
+ # source://rdoc//lib/rdoc/task.rb#115
def rdoc_dir=(_arg0); end
# List of files to be included in the rdoc generation. (default is [])
#
- # source://rdoc//rdoc/task.rb#142
+ # source://rdoc//lib/rdoc/task.rb#142
def rdoc_files; end
# List of files to be included in the rdoc generation. (default is [])
#
- # source://rdoc//rdoc/task.rb#142
+ # source://rdoc//lib/rdoc/task.rb#142
def rdoc_files=(_arg0); end
# Task description for the rdoc task or its renamed equivalent
#
- # source://rdoc//rdoc/task.rb#295
+ # source://rdoc//lib/rdoc/task.rb#295
def rdoc_task_description; end
# Task description for the rerdoc task or its renamed description
#
- # source://rdoc//rdoc/task.rb#302
+ # source://rdoc//lib/rdoc/task.rb#302
def rerdoc_task_description; end
# Name of template to be used by rdoc. (defaults to rdoc's default)
#
- # source://rdoc//rdoc/task.rb#131
+ # source://rdoc//lib/rdoc/task.rb#131
def template; end
# Name of template to be used by rdoc. (defaults to rdoc's default)
#
- # source://rdoc//rdoc/task.rb#131
+ # source://rdoc//lib/rdoc/task.rb#131
def template=(_arg0); end
# Title of RDoc documentation. (defaults to rdoc's default)
#
- # source://rdoc//rdoc/task.rb#120
+ # source://rdoc//lib/rdoc/task.rb#120
def title; end
# Title of RDoc documentation. (defaults to rdoc's default)
#
- # source://rdoc//rdoc/task.rb#120
+ # source://rdoc//lib/rdoc/task.rb#120
def title=(_arg0); end
private
- # source://rdoc//rdoc/task.rb#326
+ # source://rdoc//lib/rdoc/task.rb#326
def clobber_task_name; end
- # source://rdoc//rdoc/task.rb#340
+ # source://rdoc//lib/rdoc/task.rb#340
def coverage_task_name; end
- # source://rdoc//rdoc/task.rb#315
+ # source://rdoc//lib/rdoc/task.rb#315
def rdoc_target; end
- # source://rdoc//rdoc/task.rb#319
+ # source://rdoc//lib/rdoc/task.rb#319
def rdoc_task_name; end
- # source://rdoc//rdoc/task.rb#333
+ # source://rdoc//lib/rdoc/task.rb#333
def rerdoc_task_name; end
end
# Methods for manipulating comment text
+#
+# source://rdoc//lib/rdoc/text.rb#11
module RDoc::Text
# Expands tab characters in +text+ to eight spaces
#
- # source://rdoc//rdoc/text.rb#63
+ # source://rdoc//lib/rdoc/text.rb#63
def expand_tabs(text); end
# Flush +text+ left based on the shortest line
#
- # source://rdoc//rdoc/text.rb#82
+ # source://rdoc//lib/rdoc/text.rb#82
def flush_left(text); end
# The language for this text. This affects stripping comments
# markers.
#
- # source://rdoc//rdoc/text.rb#17
+ # source://rdoc//lib/rdoc/text.rb#17
def language; end
# The language for this text. This affects stripping comments
# markers.
#
- # source://rdoc//rdoc/text.rb#17
+ # source://rdoc//lib/rdoc/text.rb#17
def language=(_arg0); end
# Convert a string in markup format into HTML.
#
# Requires the including class to implement #formatter
#
- # source://rdoc//rdoc/text.rb#101
+ # source://rdoc//lib/rdoc/text.rb#101
def markup(text); end
# Strips hashes, expands tabs then flushes +text+ to the left
#
- # source://rdoc//rdoc/text.rb#117
+ # source://rdoc//lib/rdoc/text.rb#117
def normalize_comment(text); end
# Normalizes +text+ then builds a RDoc::Markup::Document from it
#
- # source://rdoc//rdoc/text.rb#135
+ # source://rdoc//lib/rdoc/text.rb#135
def parse(text, format = T.unsafe(nil)); end
# The first +limit+ characters of +text+ as HTML
#
- # source://rdoc//rdoc/text.rb#149
+ # source://rdoc//lib/rdoc/text.rb#149
def snippet(text, limit = T.unsafe(nil)); end
# Strips leading # characters from +text+
#
- # source://rdoc//rdoc/text.rb#158
+ # source://rdoc//lib/rdoc/text.rb#158
def strip_hashes(text); end
# Strips leading and trailing \n characters from +text+
#
- # source://rdoc//rdoc/text.rb#170
+ # source://rdoc//lib/rdoc/text.rb#170
def strip_newlines(text); end
# Strips /* */ style comments
#
- # source://rdoc//rdoc/text.rb#177
+ # source://rdoc//lib/rdoc/text.rb#177
def strip_stars(text); end
- # source://rdoc//rdoc/text.rb#200
+ # source://rdoc//lib/rdoc/text.rb#200
def to_html(text); end
# Wraps +txt+ to +line_len+
#
- # source://rdoc//rdoc/text.rb#287
+ # source://rdoc//lib/rdoc/text.rb#287
def wrap(txt, line_len = T.unsafe(nil)); end
class << self
# Transcodes +character+ to +encoding+ with a +fallback+ character.
#
- # source://rdoc//rdoc/text.rb#55
+ # source://rdoc//lib/rdoc/text.rb#55
def encode_fallback(character, encoding, fallback); end
end
end
@@ -12098,7 +12297,7 @@ end
# Character class to be separated by a space when concatenating
# lines.
#
-# source://rdoc//rdoc/text.rb#320
+# source://rdoc//lib/rdoc/text.rb#320
RDoc::Text::SPACE_SEPARATED_LETTER_CLASS = T.let(T.unsafe(nil), Regexp)
# A TokenStream is a list of tokens, gathered during the parse of some entity
@@ -12106,40 +12305,42 @@ RDoc::Text::SPACE_SEPARATED_LETTER_CLASS = T.let(T.unsafe(nil), Regexp)
# lexer. Any class can collect tokens by including TokenStream. From the
# outside, you use such an object by calling the start_collecting_tokens
# method, followed by calls to add_token and pop_token.
+#
+# source://rdoc//lib/rdoc/token_stream.rb#9
module RDoc::TokenStream
# Adds one +token+ to the collected tokens
#
- # source://rdoc//rdoc/token_stream.rb#84
+ # source://rdoc//lib/rdoc/token_stream.rb#84
def add_token(token); end
# Adds +tokens+ to the collected tokens
#
- # source://rdoc//rdoc/token_stream.rb#77
+ # source://rdoc//lib/rdoc/token_stream.rb#77
def add_tokens(tokens); end
# Starts collecting tokens
#
- # source://rdoc//rdoc/token_stream.rb#91
+ # source://rdoc//lib/rdoc/token_stream.rb#91
def collect_tokens; end
# Remove the last token from the collected tokens
#
- # source://rdoc//rdoc/token_stream.rb#100
+ # source://rdoc//lib/rdoc/token_stream.rb#100
def pop_token; end
# Starts collecting tokens
#
- # source://rdoc//rdoc/token_stream.rb#91
+ # source://rdoc//lib/rdoc/token_stream.rb#91
def start_collecting_tokens; end
# Current token stream
#
- # source://rdoc//rdoc/token_stream.rb#107
+ # source://rdoc//lib/rdoc/token_stream.rb#107
def token_stream; end
# Returns a string representation of the token stream
#
- # source://rdoc//rdoc/token_stream.rb#114
+ # source://rdoc//lib/rdoc/token_stream.rb#114
def tokens_to_s; end
class << self
@@ -12147,7 +12348,7 @@ module RDoc::TokenStream
# elements. Some tokens types are wrapped in spans
# with the given class names. Other token types are not wrapped in spans.
#
- # source://rdoc//rdoc/token_stream.rb#16
+ # source://rdoc//lib/rdoc/token_stream.rb#16
def to_html(token_stream); end
end
end
@@ -12189,12 +12390,14 @@ end
#
# This class is documented in TomDoc format. Since this is a subclass of the
# RDoc markup parser there isn't much to see here, unfortunately.
+#
+# source://rdoc//lib/rdoc/tom_doc.rb#42
class RDoc::TomDoc < ::RDoc::Markup::Parser
# Public: Creates a new TomDoc parser. See also RDoc::Markup::parse
#
# @return [TomDoc] a new instance of TomDoc
#
- # source://rdoc//rdoc/tom_doc.rb#130
+ # source://rdoc//lib/rdoc/tom_doc.rb#130
def initialize; end
# Internal: Builds a heading from the token stream
@@ -12203,7 +12406,7 @@ class RDoc::TomDoc < ::RDoc::Markup::Parser
#
# Returns an RDoc::Markup::Heading
#
- # source://rdoc//rdoc/tom_doc.rb#143
+ # source://rdoc//lib/rdoc/tom_doc.rb#143
def build_heading(level); end
# Internal: Builds a paragraph from the token stream
@@ -12212,7 +12415,7 @@ class RDoc::TomDoc < ::RDoc::Markup::Parser
#
# Returns an RDoc::Markup::Paragraph.
#
- # source://rdoc//rdoc/tom_doc.rb#173
+ # source://rdoc//lib/rdoc/tom_doc.rb#173
def build_paragraph(margin); end
# Internal: Builds a verbatim from the token stream. A verbatim in the
@@ -12223,12 +12426,12 @@ class RDoc::TomDoc < ::RDoc::Markup::Parser
#
# Returns an RDoc::Markup::Verbatim
#
- # source://rdoc//rdoc/tom_doc.rb#159
+ # source://rdoc//lib/rdoc/tom_doc.rb#159
def build_verbatim(margin); end
# Detects a section change to "Returns" and adds a heading
#
- # source://rdoc//rdoc/tom_doc.rb#213
+ # source://rdoc//lib/rdoc/tom_doc.rb#213
def parse_text(parent, indent); end
# Internal: Turns text into an Array of tokens
@@ -12237,12 +12440,12 @@ class RDoc::TomDoc < ::RDoc::Markup::Parser
#
# Returns self.
#
- # source://rdoc//rdoc/tom_doc.rb#231
+ # source://rdoc//lib/rdoc/tom_doc.rb#231
def tokenize(text); end
# Internal: Token accessor
#
- # source://rdoc//rdoc/tom_doc.rb#46
+ # source://rdoc//lib/rdoc/tom_doc.rb#46
def tokens; end
class << self
@@ -12251,7 +12454,7 @@ class RDoc::TomDoc < ::RDoc::Markup::Parser
#
# Returns nothing.
#
- # source://rdoc//rdoc/tom_doc.rb#53
+ # source://rdoc//lib/rdoc/tom_doc.rb#53
def add_post_processor; end
# Public: Parses TomDoc from text
@@ -12269,7 +12472,7 @@ class RDoc::TomDoc < ::RDoc::Markup::Parser
#
# Returns an RDoc::Markup::Document representing the TomDoc format.
#
- # source://rdoc//rdoc/tom_doc.rb#84
+ # source://rdoc//lib/rdoc/tom_doc.rb#84
def parse(text); end
# Internal: Extracts the Signature section's method signature
@@ -12279,12 +12482,14 @@ class RDoc::TomDoc < ::RDoc::Markup::Parser
#
# Returns a String containing the signature and nil if not
#
- # source://rdoc//rdoc/tom_doc.rb#100
+ # source://rdoc//lib/rdoc/tom_doc.rb#100
def signature(comment); end
end
end
# A TopLevel context is a representation of the contents of a single file
+#
+# source://rdoc//lib/rdoc/top_level.rb#5
class RDoc::TopLevel < ::RDoc::Context
# Creates a new TopLevel for the file at +absolute_name+. If documentation
# is being generated outside the source dir +relative_name+ is relative to
@@ -12292,72 +12497,72 @@ class RDoc::TopLevel < ::RDoc::Context
#
# @return [TopLevel] a new instance of TopLevel
#
- # source://rdoc//rdoc/top_level.rb#43
+ # source://rdoc//lib/rdoc/top_level.rb#43
def initialize(absolute_name, relative_name = T.unsafe(nil)); end
# An RDoc::TopLevel is equal to another with the same relative_name
#
- # source://rdoc//rdoc/top_level.rb#67
+ # source://rdoc//lib/rdoc/top_level.rb#67
def ==(other); end
# Absolute name of this file
#
- # source://rdoc//rdoc/top_level.rb#22
+ # source://rdoc//lib/rdoc/top_level.rb#22
def absolute_name; end
# Absolute name of this file
#
- # source://rdoc//rdoc/top_level.rb#22
+ # source://rdoc//lib/rdoc/top_level.rb#22
def absolute_name=(_arg0); end
# Adds +an_alias+ to +Object+ instead of +self+.
#
- # source://rdoc//rdoc/top_level.rb#76
+ # source://rdoc//lib/rdoc/top_level.rb#76
def add_alias(an_alias); end
# Adds +constant+ to +Object+ instead of +self+.
#
- # source://rdoc//rdoc/top_level.rb#85
+ # source://rdoc//lib/rdoc/top_level.rb#85
def add_constant(constant); end
# Adds +include+ to +Object+ instead of +self+.
#
- # source://rdoc//rdoc/top_level.rb#94
+ # source://rdoc//lib/rdoc/top_level.rb#94
def add_include(include); end
# Adds +method+ to +Object+ instead of +self+.
#
- # source://rdoc//rdoc/top_level.rb#103
+ # source://rdoc//lib/rdoc/top_level.rb#103
def add_method(method); end
# Adds class or module +mod+. Used in the building phase
# by the Ruby parser.
#
- # source://rdoc//rdoc/top_level.rb#113
+ # source://rdoc//lib/rdoc/top_level.rb#113
def add_to_classes_or_modules(mod); end
# Base name of this file
#
- # source://rdoc//rdoc/top_level.rb#120
+ # source://rdoc//lib/rdoc/top_level.rb#120
def base_name; end
# All the classes or modules that were declared in
# this file. These are assigned to either +#classes_hash+
# or +#modules_hash+ once we know what they really are.
#
- # source://rdoc//rdoc/top_level.rb#29
+ # source://rdoc//lib/rdoc/top_level.rb#29
def classes_or_modules; end
# Returns a URL for this source file on some web repository. Use the -W
# command line option to set.
#
- # source://rdoc//rdoc/generator/markup.rb#149
+ # source://rdoc//lib/rdoc/generator/markup.rb#149
def cvs_url; end
- # source://rdoc//rdoc/top_level.rb#31
+ # source://rdoc//lib/rdoc/top_level.rb#31
def diagram; end
- # source://rdoc//rdoc/top_level.rb#31
+ # source://rdoc//lib/rdoc/top_level.rb#31
def diagram=(_arg0); end
# Only a TopLevel that contains text file) will be displayed. See also
@@ -12365,22 +12570,22 @@ class RDoc::TopLevel < ::RDoc::Context
#
# @return [Boolean]
#
- # source://rdoc//rdoc/top_level.rb#130
+ # source://rdoc//lib/rdoc/top_level.rb#130
def display?; end
# An RDoc::TopLevel is equal to another with the same relative_name
#
- # source://rdoc//rdoc/top_level.rb#67
+ # source://rdoc//lib/rdoc/top_level.rb#67
def eql?(other); end
# This TopLevel's File::Stat struct
#
- # source://rdoc//rdoc/top_level.rb#12
+ # source://rdoc//lib/rdoc/top_level.rb#12
def file_stat; end
# This TopLevel's File::Stat struct
#
- # source://rdoc//rdoc/top_level.rb#12
+ # source://rdoc//lib/rdoc/top_level.rb#12
def file_stat=(_arg0); end
# See RDoc::TopLevel::find_class_or_module
@@ -12388,115 +12593,117 @@ class RDoc::TopLevel < ::RDoc::Context
# TODO Why do we search through all classes/modules found, not just the
# ones of this instance?
#
- # source://rdoc//rdoc/top_level.rb#140
+ # source://rdoc//lib/rdoc/top_level.rb#140
def find_class_or_module(name); end
# Finds a class or module named +symbol+
#
- # source://rdoc//rdoc/top_level.rb#147
+ # source://rdoc//lib/rdoc/top_level.rb#147
def find_local_symbol(symbol); end
# Finds a module or class with +name+
#
- # source://rdoc//rdoc/top_level.rb#154
+ # source://rdoc//lib/rdoc/top_level.rb#154
def find_module_named(name); end
# Returns the relative name of this file
#
- # source://rdoc//rdoc/top_level.rb#161
+ # source://rdoc//lib/rdoc/top_level.rb#161
def full_name; end
# An RDoc::TopLevel has the same hash as another with the same
# relative_name
#
- # source://rdoc//rdoc/top_level.rb#169
+ # source://rdoc//lib/rdoc/top_level.rb#169
def hash; end
# URL for this with a +prefix+
#
- # source://rdoc//rdoc/top_level.rb#176
+ # source://rdoc//lib/rdoc/top_level.rb#176
def http_url(prefix); end
- # source://rdoc//rdoc/top_level.rb#182
+ # source://rdoc//lib/rdoc/top_level.rb#182
def inspect; end
# Time this file was last modified, if known
#
- # source://rdoc//rdoc/top_level.rb#194
+ # source://rdoc//lib/rdoc/top_level.rb#194
def last_modified; end
# Dumps this TopLevel for use by ri. See also #marshal_load
#
- # source://rdoc//rdoc/top_level.rb#201
+ # source://rdoc//lib/rdoc/top_level.rb#201
def marshal_dump; end
# Loads this TopLevel from +array+.
#
- # source://rdoc//rdoc/top_level.rb#213
+ # source://rdoc//lib/rdoc/top_level.rb#213
def marshal_load(array); end
# Base name of this file
#
- # source://rdoc//rdoc/top_level.rb#120
+ # source://rdoc//lib/rdoc/top_level.rb#120
def name; end
# Returns the NormalClass "Object", creating it if not found.
#
# Records +self+ as a location in "Object".
#
- # source://rdoc//rdoc/top_level.rb#227
+ # source://rdoc//lib/rdoc/top_level.rb#227
def object_class; end
# Base name of this file without the extension
#
- # source://rdoc//rdoc/top_level.rb#238
+ # source://rdoc//lib/rdoc/top_level.rb#238
def page_name; end
# The parser class that processed this file
#
- # source://rdoc//rdoc/top_level.rb#36
+ # source://rdoc//lib/rdoc/top_level.rb#36
def parser; end
# Sets the parser for this toplevel context, also the store.
#
- # source://rdoc//rdoc/top_level.rb#58
+ # source://rdoc//lib/rdoc/top_level.rb#58
def parser=(val); end
# Path to this file for use with HTML generator output.
#
- # source://rdoc//rdoc/top_level.rb#248
+ # source://rdoc//lib/rdoc/top_level.rb#248
def path; end
- # source://rdoc//rdoc/top_level.rb#252
+ # source://rdoc//lib/rdoc/top_level.rb#252
def pretty_print(q); end
# Relative name of this file
#
- # source://rdoc//rdoc/top_level.rb#17
+ # source://rdoc//lib/rdoc/top_level.rb#17
def relative_name; end
# Relative name of this file
#
- # source://rdoc//rdoc/top_level.rb#17
+ # source://rdoc//lib/rdoc/top_level.rb#17
def relative_name=(_arg0); end
# Search record used by RDoc::Generator::JsonIndex
#
- # source://rdoc//rdoc/top_level.rb#266
+ # source://rdoc//lib/rdoc/top_level.rb#266
def search_record; end
# Is this TopLevel from a text file instead of a source code file?
#
# @return [Boolean]
#
- # source://rdoc//rdoc/top_level.rb#283
+ # source://rdoc//lib/rdoc/top_level.rb#283
def text?; end
- # source://rdoc//rdoc/top_level.rb#287
+ # source://rdoc//lib/rdoc/top_level.rb#287
def to_s; end
end
# :stopdoc:
+#
+# source://rdoc//lib/rdoc/task.rb#347
module Rake
extend ::FileUtils::StreamUtils_
extend ::FileUtils
@@ -12504,5 +12711,5 @@ end
# For backwards compatibility
#
-# source://rdoc//rdoc/task.rb#352
+# source://rdoc//lib/rdoc/task.rb#352
Rake::RDocTask = RDoc::Task