Class: GitlabZOQL::Parser::Statement::Select
- Defined in:
- lib/gitlab-zoql/parser/statement.rb
Instance Attribute Summary collapse
-
#list ⇒ Object
readonly
Returns the value of attribute list.
-
#table_expression ⇒ Object
readonly
Returns the value of attribute table_expression.
Instance Method Summary collapse
-
#initialize(list, table_expression = nil) ⇒ Select
constructor
A new instance of Select.
Methods inherited from Node
Constructor Details
#initialize(list, table_expression = nil) ⇒ Select
Returns a new instance of Select.
35 36 37 38 |
# File 'lib/gitlab-zoql/parser/statement.rb', line 35 def initialize(list, table_expression = nil) @list = list @table_expression = table_expression end |
Instance Attribute Details
#list ⇒ Object (readonly)
Returns the value of attribute list.
40 41 42 |
# File 'lib/gitlab-zoql/parser/statement.rb', line 40 def list @list end |
#table_expression ⇒ Object (readonly)
Returns the value of attribute table_expression.
40 41 42 |
# File 'lib/gitlab-zoql/parser/statement.rb', line 40 def table_expression @table_expression end |