Class: Shades::QueryGrammar::QueryNode
- Inherits:
-
Treetop::Runtime::SyntaxNode
- Object
- Treetop::Runtime::SyntaxNode
- Shades::QueryGrammar::QueryNode
- Defined in:
- lib/shades/queryparser.rb
Instance Method Summary collapse
Instance Method Details
#categorization_nodes ⇒ Object
10 11 12 |
# File 'lib/shades/queryparser.rb', line 10 def categorization_nodes categorization_list.to_a end |
#rollup_nodes ⇒ Object
6 7 8 |
# File 'lib/shades/queryparser.rb', line 6 def rollup_nodes rollup_list.to_a end |
#sorting_nodes ⇒ Object
14 15 16 17 18 19 20 |
# File 'lib/shades/queryparser.rb', line 14 def sorting_nodes if optional_sorting.respond_to?(:sorting_list) optional_sorting.sorting_list.to_a else [] end end |