| Class | ScopedSearch::QueryLanguage::AST::Node |
| In: |
lib/scoped_search/query_language/ast.rb
|
| Parent: | Object |
Base AST node class. Instances of this class are used to represent an abstract syntax tree. This syntax tree is created by the ScopedSearch::QueryLanguage parser and visited by the ScopedSearch::QueryBuilder to create SQL query conditions.
# File lib/scoped_search/query_language/ast.rb, line 34
34: def compatible_with(node) # :nodoc
35: false
36: end
# File lib/scoped_search/query_language/ast.rb, line 25
25: def inspect # :nodoc
26: "<AST::#{self.class.to_s.split('::').last} #{self.to_a.inspect}>"
27: end