fix ruby send statement

remove ruby expression
This commit is contained in:
Torsten Ruger
2018-07-20 10:05:11 +03:00
parent 8cd9818f64
commit 7b02feae7a
6 changed files with 144 additions and 74 deletions

View File

@ -8,14 +8,14 @@ module Ruby
end
end
class LocalVariable < Expression
class LocalVariable < Statement
include Named
def to_s
name.to_s
end
end
class InstanceVariable < Expression
class InstanceVariable < Statement
include Named
# used to collect type information
def add_ivar( array )
@ -26,11 +26,11 @@ module Ruby
end
end
class ClassVariable < Expression
class ClassVariable < Statement
include Named
end
class ModuleName < Expression
class ModuleName < Statement
include Named
end
end