Class: Sqlite::QueryParser

Inherits:
BaseParser show all
Defined in:
lib/parsers/query_parser.rb

Constant Summary

Constants inherited from BaseParser

BaseParser::COMMENT

Instance Attribute Summary

Attributes inherited from BaseParser

#test_result

Instance Method Summary collapse

Methods inherited from BaseParser

#choose_solution, #get_final_query, #parse_test, #test_has_valid_fields?

Constructor Details

#initializeQueryParser

Returns a new instance of QueryParser.



4
5
6
7
8
9
# File 'lib/parsers/query_parser.rb', line 4

def initialize
  @fields = {
    required: [:type, :expected],
    optional: [:seed]
  }
end