Raises when the given argument does not match required format.
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.
BasicSpecification
is an abstract class which implements some common code used by both Specification and StubSpecification.