class Fable::VariableAssignment
The value to be assigned is popped off the evaluation stack, so no need to keep it here
Attributes
global[RW]
global?[RW]
new_declaration[RW]
new_declaration?[RW]
variable_name[RW]
Public Class Methods
new(variable_name, new_declaration)
click to toggle source
Calls superclass method
Fable::RuntimeObject::new
# File lib/fable/variable_assignment.rb, line 10 def initialize(variable_name, new_declaration) super() self.variable_name = variable_name self.new_declaration = new_declaration end
Public Instance Methods
to_s()
click to toggle source
# File lib/fable/variable_assignment.rb, line 16 def to_s return "VarAssign to #{variable_name}" end