moved all the normalize stuff over to the ruby layer

Which is how it should have been from the start
This commit is contained in:
Torsten Ruger
2018-07-19 14:47:29 +03:00
parent 38350dd198
commit ae3d64eb53
15 changed files with 5 additions and 179 deletions

View File

@ -23,10 +23,6 @@ module Vool
@body.each(&block)
end
def normalize
MethodStatement.new( @name , @args , @body.normalize)
end
def has_yield?
each{|statement| return true if statement.is_a?(YieldStatement)}
return false