Tokens where state should be ignored used for :on_comment, :on_heredoc_end, :on_embexpr_end
An error class raised when dynamic parts are found while computing a constant path’s full name. For example: Foo::Bar::Baz -> does not raise because all parts of the constant path are simple constants var::Bar::Baz -> raises because the first part of the constant path is a local variable
An error class raised when missing nodes are found while computing a constant path’s full name. For example:
-> raises because the constant path is missing the last part
A node list field represents a list of child nodes in the syntax tree. It resolves to an array of Prism::Node
instances in Ruby.
A constant field represents a constant value on a node. Effectively, it represents an identifier found within the source. It resolves to a symbol in Ruby.
An optional constant field represents a constant value on a node that may or may not be present. It resolves to either a symbol or nil in Ruby.
Searches for gems starting with the supplied argument.
Raised when a tar file is corrupt
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.
An InstalledSpecification
represents a gem that is already installed locally.
A set of gems for installation sourced from remote sources and local .gem files