move vool statements into own directory

also tests for guard to work
This commit is contained in:
Torsten Ruger
2017-04-06 19:11:11 +03:00
parent 3fe286b5ed
commit db8f99409b
30 changed files with 29 additions and 27 deletions

View File

@ -1,24 +0,0 @@
module Vool
module Named
attr_reader :name
def initialize name
@name = name
end
end
class LocalVariable < Statement
include Named
end
class InstanceVariable < Statement
include Named
end
class ClassVariable < Statement
include Named
end
class ModuleName < Statement
include Named
end
end