ifx most of the conversion

well . . it's still converting to ruby, minor detail
This commit is contained in:
Torsten Ruger
2018-07-19 14:59:10 +03:00
parent ae3d64eb53
commit 61225c2f20
14 changed files with 57 additions and 25 deletions

View File

@ -8,7 +8,7 @@ module Ruby
@arguments ||= []
end
def normalize
def to_vool
statements = Statements.new([])
arguments = []
@arguments.each_with_index do |arg , index |
@ -22,7 +22,7 @@ module Ruby
end
end
def normalize_arg(arg , arguments , statements)
def to_vool_arg(arg , arguments , statements)
if arg.respond_to?(:slot_definition) and !arg.is_a?(SendStatement)
arguments << arg
return