parse query and get resulting array of PuppetDBQuery::Term s
51 52 53 54 55 56 57
# File 'lib/puppetdb_query/parser.rb', line 51 def parse(query) @symbols = Tokenizer.symbols(query) @position = 0 r = [] r << read_maximal_term(0) until empty? r end