Path: | lib/scoped_search/query_language/parser.rb |
Last Update: | Tue Feb 05 18:54:17 -0500 2013 |
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.