math node went too, more clarity
This commit is contained in:
parent
c87967c95d
commit
82ea5730f3
@ -11,12 +11,6 @@ module Asm
|
||||
attr_accessor :type, :value, :argument
|
||||
end
|
||||
|
||||
class MathNode < Node
|
||||
attr_accessor :left, :right, :op
|
||||
alias_method :argument, :left
|
||||
alias_method :argument=, :left=
|
||||
end
|
||||
|
||||
class RegisterNode < Node
|
||||
attr_accessor :name
|
||||
def initialize name
|
||||
|
@ -13,6 +13,11 @@ end
|
||||
class LabelNode < Node
|
||||
attr_accessor :name
|
||||
end
|
||||
class MathNode < Node
|
||||
attr_accessor :left, :right, :op
|
||||
alias_method :argument, :left
|
||||
alias_method :argument=, :left=
|
||||
end
|
||||
|
||||
|
||||
module Asm
|
||||
|
Loading…
Reference in New Issue
Block a user