Class: IntNode

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

Instance Method Summary collapse

Methods inherited from Node

#column

Constructor Details

#initialize(val) ⇒ IntNode

Returns a new instance of IntNode.



136
# File 'lib/code_generator.rb', line 136

def initialize val; super(val); end

Instance Method Details

#genObject



138
139
140
# File 'lib/code_generator.rb', line 138

def gen
  @value.to_s
end