Class: GitlabZOQL::Parser::Statement::Unary

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

Direct Known Subclasses

Not

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Node

#accept, #to_sql

Constructor Details

#initialize(value) ⇒ Unary

Returns a new instance of Unary.



130
131
132
# File 'lib/gitlab-zoql/parser/statement.rb', line 130

def initialize(value)
  @value = value
end

Instance Attribute Details

#valueObject (readonly)

Returns the value of attribute value.



134
135
136
# File 'lib/gitlab-zoql/parser/statement.rb', line 134

def value
  @value
end