rename ClassCompiler to MomComplier

ended up not even using the class, it just came from there
It actually compiles methods, and it turns out is the point where builtin comes into the picture as it's boot process also returns method compilers
This commit is contained in:
Torsten Ruger
2018-07-01 21:26:45 +03:00
parent c947c27a14
commit bb49f1be78
5 changed files with 9 additions and 10 deletions

View File

@ -29,7 +29,7 @@ module Vool
raise "Only methods for now #{node}" unless node.is_a?(MethodStatement)
method_compilers << node.to_mom(@clazz)
end
Mom::ClassCompiler.new(@clazz , method_compilers)
Mom::MomCompiler.new(method_compilers)
end
def each(&block)