Path: | lib/scoped_search/query_language/parser.rb |
Last Update: | Thu Jul 05 18:12:58 -0400 2012 |
The Parser module adss methods to the query language compiler that transform a string into an abstract syntax tree, which can be used for query generation.
This module depends on the tokeinzer module to transform the string into a stream of tokens, which is more appropriate for parsing. The parser itself is a LL(1) recursive descent parser.