Class: Stark::Parser::AST::ConstInt

Inherits:
Node
  • Object
show all
Defined in:
lib/stark/raw_parser.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(value) ⇒ ConstInt

Returns a new instance of ConstInt.



377
378
379
# File 'lib/stark/raw_parser.rb', line 377

def initialize(value)
  @value = value
end

Instance Attribute Details

#valueObject (readonly)

Returns the value of attribute value.



380
381
382
# File 'lib/stark/raw_parser.rb', line 380

def value
  @value
end