Returns all comments that are associated with this location (both leading and trailing comments).
Create a new location object with the given options.
Returns a string representation of this location.
Returns a string representation of this comment.
Returns a string representation of this comment.
Returns a string representation of this magic comment.
Returns a string representation of this error.
Returns a string representation of this warning.
Returns the encoding of the source code that was parsed.
A Location
object representing the location of this token in the source.
Returns a string representation of this token.
Compile the query into a callable object that can be used to match against nodes.
Returns the list of plugins in this spec.
Whether this specification is stubbed - i.e. we have information about the gem from a stub line, without having to evaluate the entire gemspec file.
True if long
begins with the characters from short
.
Override to display a longer description of what this command does.
true if this gem has no requirements.