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