remove unknown type
This commit is contained in:
@ -4,7 +4,7 @@ module Virtual
|
||||
|
||||
# Slots in the Frame are local or temporary variables in a message
|
||||
class FrameSlot < Slot
|
||||
def initialize index , type = Unknown, value = nil
|
||||
def initialize index , type , value = nil
|
||||
super(type, value)
|
||||
@index = index
|
||||
end
|
||||
|
@ -7,7 +7,7 @@ module Virtual
|
||||
# The Message has a layout as per the constant above
|
||||
|
||||
class MessageSlot < Slot
|
||||
def initialize type = Unknown , value = nil
|
||||
def initialize type , value = nil
|
||||
super(type , value )
|
||||
end
|
||||
def object_name
|
||||
@ -19,28 +19,28 @@ module Virtual
|
||||
|
||||
# Return is the return of MessageSlot
|
||||
class Return < MessageSlot
|
||||
def initialize type = Unknown, value = nil
|
||||
def initialize type , value = nil
|
||||
super( type , value )
|
||||
end
|
||||
end
|
||||
|
||||
# Self is the self in MessageSlot
|
||||
class Self < MessageSlot
|
||||
def initialize type = Unknown, value = nil
|
||||
def initialize type , value = nil
|
||||
super( type , value )
|
||||
end
|
||||
end
|
||||
|
||||
# MessageName of the current message
|
||||
class MessageName < MessageSlot
|
||||
def initialize type = Unknown, value = nil
|
||||
def initialize type , value = nil
|
||||
super( type , value )
|
||||
end
|
||||
end
|
||||
|
||||
# NewMessageName of the next message
|
||||
class ArgSlot < MessageSlot
|
||||
def initialize index , type = Unknown, value = nil
|
||||
def initialize index , type , value = nil
|
||||
@index = index
|
||||
super( type , value )
|
||||
end
|
||||
|
@ -7,7 +7,7 @@ module Virtual
|
||||
# The Message has a layout as per the constant above
|
||||
|
||||
class NewMessageSlot < Slot
|
||||
def initialize type = Unknown, value = nil
|
||||
def initialize type , value = nil
|
||||
super( type , value )
|
||||
end
|
||||
def object_name
|
||||
@ -19,28 +19,28 @@ module Virtual
|
||||
|
||||
# NewReturn is the return of NewMessageSlot
|
||||
class NewReturn < NewMessageSlot
|
||||
def initialize type = Unknown, value = nil
|
||||
def initialize type , value = nil
|
||||
super( type , value )
|
||||
end
|
||||
end
|
||||
|
||||
# NewSelf is the self of NewMessageSlot
|
||||
class NewSelf < NewMessageSlot
|
||||
def initialize type = Unknown, value = nil
|
||||
def initialize type , value = nil
|
||||
super( type , value )
|
||||
end
|
||||
end
|
||||
|
||||
# NewMessageName of the next message
|
||||
class NewMessageName < NewMessageSlot
|
||||
def initialize type = Unknown, value = nil
|
||||
def initialize type , value = nil
|
||||
super( type , value )
|
||||
end
|
||||
end
|
||||
|
||||
# NewMessageName of the next message
|
||||
class NewArgSlot < NewMessageSlot
|
||||
def initialize index , type = Unknown, value = nil
|
||||
def initialize index , type , value = nil
|
||||
@index = index
|
||||
super( type , value )
|
||||
end
|
||||
|
@ -14,7 +14,7 @@ module Virtual
|
||||
# that object
|
||||
#
|
||||
class SelfSlot < Slot
|
||||
def initialize type = Unknown, value = nil
|
||||
def initialize type , value = nil
|
||||
super
|
||||
end
|
||||
def object_name
|
||||
|
Reference in New Issue
Block a user