2017-04-01 20:28:57 +02:00
|
|
|
module Vool
|
|
|
|
class Assignment < Statement
|
2017-04-06 15:06:51 +02:00
|
|
|
attr_reader :name , :value
|
2017-04-02 11:59:07 +02:00
|
|
|
def initialize(name , value )
|
|
|
|
@name , @value = name , value
|
2017-04-01 20:28:57 +02:00
|
|
|
end
|
|
|
|
end
|
2017-04-02 11:59:07 +02:00
|
|
|
class LocalAssignment < Assignment
|
2017-04-01 20:28:57 +02:00
|
|
|
end
|
2017-04-04 17:10:28 +02:00
|
|
|
class InstanceAssignment < Assignment
|
|
|
|
end
|
2017-04-01 20:28:57 +02:00
|
|
|
end
|