2017-04-02 12:24:09 +02:00
|
|
|
module Vool
|
|
|
|
module Named
|
|
|
|
attr_accessor :name
|
|
|
|
def initialize name
|
|
|
|
@name = name
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class LocalVariable < Statement
|
|
|
|
include Named
|
|
|
|
end
|
2017-04-04 13:04:35 +02:00
|
|
|
|
|
|
|
class InstanceVariable < Statement
|
|
|
|
include Named
|
|
|
|
end
|
|
|
|
|
|
|
|
class ClassVariable < Statement
|
|
|
|
include Named
|
|
|
|
end
|
|
|
|
|
2017-04-02 12:24:09 +02:00
|
|
|
end
|