rubyx/lib/vool/basic_values.rb
2017-04-02 12:59:07 +03:00

31 lines
590 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 StringStatement < Statement
attr_accessor :value
def initialize(value)
@value = value
end
end
class SymbolStatement < StringStatement
end
end