Here we are going to patch StringQuery
to put in the class-level methods so that it can maintain a consistent interface
Query methods that allow categorizing strings based on their context for where they could be valid in a Ruby
syntax tree.
This represents an error that was encountered during parsing.
This represents the result of a call to ::parse or ::parse_file. It contains the requested structure, any comments that were encounters, and any errors that were encountered.
This is a result specific to the parse
and parse_file
methods.
This is a result specific to the lex
and lex_file
methods.
This is a result specific to the parse_lex
and parse_lex_file
methods.
This represents a token from the Ruby
source.
Indicates a timeout resolving a name or address.
Resolv::Hosts
is a hostname resolver that uses the system hosts file.