class Malady::AST::IntegerNode
Attributes
value[R]
Public Class Methods
new(filename, line, value)
click to toggle source
Calls superclass method
Malady::AST::Node::new
# File lib/malady/ast.rb, line 55 def initialize(filename, line, value) super @value = value.to_i end
Public Instance Methods
bytecode(g)
click to toggle source
# File lib/malady/ast.rb, line 60 def bytecode(g) pos(g) g.push_int value end