Sha256: 68a68f5316da2ac94675321edaa6c33aee89b49e770f61b80a9ca34f4a2c9a66
Contents?: true
Size: 537 Bytes
Versions: 1
Compression:
Stored size: 537 Bytes
Contents
module Fable # The value to be assigned is popped off the evaluation stack, # so no need to keep it here class VariableAssignment < RuntimeObject attr_accessor :variable_name, :new_declaration, :global alias_method :new_declaration?, :new_declaration alias_method :global?, :global def initialize(variable_name, new_declaration) super() self.variable_name = variable_name self.new_declaration = new_declaration end def to_s return "VarAssign to #{variable_name}" end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fable-0.5.0 | lib/fable/variable_assignment.rb |