Class: GitlabZOQL::Parser::Statement::Select

Inherits:
Node
  • Object
show all
Defined in:
lib/gitlab-zoql/parser/statement.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Node

#accept, #to_sql

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

#listObject (readonly)

Returns the value of attribute list.



40
41
42
# File 'lib/gitlab-zoql/parser/statement.rb', line 40

def list
  @list
end

#table_expressionObject (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