Class: GitlabZOQL::Parser::Statement::Identifier

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

Direct Known Subclasses

Column, Table

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Node

#accept, #to_sql

Constructor Details

#initialize(name) ⇒ Identifier

Returns a new instance of Identifier.



27
28
29
# File 'lib/gitlab-zoql/parser/statement.rb', line 27

def initialize(name)
  @name = name
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



31
32
33
# File 'lib/gitlab-zoql/parser/statement.rb', line 31

def name
  @name
end