This represents a location in the source.
This represents a comment that was encountered during parsing. It is the base class for all comment types.
InlineComment
objects are the most common. They correspond to comments in the source file like this one that start with #.
EmbDocComment
objects correspond to comments that are surrounded by =begin and =end.
This represents a magic comment that was encountered during parsing.
This represents an error that was encountered during parsing.
This represents a warning that was encountered during parsing.
This is a result specific to the ‘parse` and `parse_file` methods.
This is a result specific to the ‘parse_lex` and `parse_lex_file` methods.
Indicates a timeout resolving a name or address.
TruffleRuby >= 24 defines REUSE_AS_BINARY_ON_TRUFFLERUBY
in defaults/truffleruby. However, TruffleRuby < 24 defines REUSE_AS_BINARY_ON_TRUFFLERUBY
directly in its copy of lib/rubygems/platform.rb, so it is not defined if RubyGems is updated (gem update –system). Instead, we define it here in that case, similar to bundler/lib/bundler/rubygems_ext.rb. We must define it here and not in platform.rb because platform.rb is loaded before defaults/truffleruby.
Available list of platforms for targeting Gem installations.
See ‘gem help platform` for information on platform matching.
BasicSpecification
is an abstract class which implements some common code used by both Specification and StubSpecification.