Class: FilterLexer::Group
- Inherits:
-
Treetop::Runtime::SyntaxNode
- Object
- Treetop::Runtime::SyntaxNode
- FilterLexer::Group
- Defined in:
- lib/filter_lexer/nodes/collections.rb,
lib/filter_lexer/formatters/sql.rb
Overview
A group is simply an expression in parenthesis
Instance Method Summary collapse
Instance Method Details
#query_string ⇒ Object
17 18 19 |
# File 'lib/filter_lexer/formatters/sql.rb', line 17 def query_string return "(#{elements.first.query_string})" end |
#query_variables ⇒ Object
21 22 23 |
# File 'lib/filter_lexer/formatters/sql.rb', line 21 def query_variables return elements.first.query_variables end |