rubyx/lib/vool/basic_values.rb
Torsten Ruger 443fd13980 adds super
with and without args
current thinking is to fill the name of the method later as we carry no
context currently, but this may change
2017-04-02 18:42:52 +03:00

33 lines
631 B
Ruby

module Vool
class IntegerStatement < Statement
attr_accessor :value
def initialize(value)
@value = value
end
end
class FloatStatement < Statement
attr_accessor :value
def initialize(value)
@value = value
end
end
class TrueStatement < Statement
end
class FalseStatement < Statement
end
class NilStatement < Statement
end
class SelfStatement < Statement
end
class SuperStatement < Statement
end
class StringStatement < Statement
attr_accessor :value
def initialize(value)
@value = value
end
end
class SymbolStatement < StringStatement
end
end