2017-04-02 12:24:09 +02:00
|
|
|
module Vool
|
|
|
|
module Named
|
2017-04-06 15:06:51 +02:00
|
|
|
attr_reader :name
|
2017-04-02 12:24:09 +02:00
|
|
|
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-04 17:00:21 +02:00
|
|
|
class ModuleName < Statement
|
|
|
|
include Named
|
|
|
|
end
|
2017-04-02 12:24:09 +02:00
|
|
|
end
|