An entry in a repository that will lazily reify its values when they are first accessed.
A field representing the start and end lines.
This class provides a compatibility layer between prism and Ripper
. It functions by parsing the entire tree first and then walking it and executing each of the Ripper
callbacks as it goes. To use this class, you treat Prism::Translation::Ripper
effectively as you would treat the Ripper
class.
Note that this class will serve the most common use cases, but Ripper’s API is extensive and undocumented. It relies on reporting the state of the parser at any given time. We do our best to replicate that here, but because it is a different architecture it is not possible to perfectly replicate the behavior of Ripper
.
The main known difference is that we may omit dispatching some events in some cases. This impacts the following events:
on_assign_error
on_comma
on_ignored_nl
on_ignored_sp
on_kw
on_label_end
on_lbrace
on_lbracket
on_lparen
on_nl
on_op
on_operator_ambiguous
on_rbrace
on_rbracket
on_rparen
on_semicolon
on_sp
on_symbeg
on_tstring_beg
on_tstring_end
Searches for gems starting with the supplied argument.
Allows writing of tar files
A FetchError
that indicates that the reason for not being able to fetch data was that the host could not be contacted
Specifies a Specification object that should be activated. Also contains a dependency that was used to introduce this activation.
The BestSet
chooses the best available method to query a remote index.
It combines IndexSet and APISet
Used Internally. Wraps a Dependency object to also track which spec contained the Dependency.
The global rubygems pool represented via the traditional source index.
Represents a possible Specification object returned from IndexSet. Used to delay needed to download full Specification objects when only the name
and version
are needed.
The RequirementList
is used to hold the requirements being considered while resolving a set of gems.
The RequirementList
acts like a queue where the oldest items are removed first.
For detail, see the MSDN.
— HKEY_*
Predefined key ((*handle*)). These are Integer, not Win32::Registry.
— REG_*
Registry value type.
— KEY_*
Security access mask.
— KEY_OPTIONS_*
Key options.
If the key is created newly or opened existing key. See also Registry#disposition method.
Raised if a value that could potentially be on an entry is missing because it was either not configured on the repository or it has not yet been fetched.