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.



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

def initialize(value)
  @value = value
end

Instance Attribute Details

#valueObject (readonly)

Returns the value of attribute value.



383
384
385
# File 'lib/stark/raw_parser.rb', line 383

def value
  @value
end