2017-04-01 20:28:57 +02:00
|
|
|
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 StringStatement < Statement
|
|
|
|
attr_accessor :value
|
|
|
|
def initialize(value)
|
|
|
|
@value = value
|
|
|
|
end
|
|
|
|
end
|
2017-04-02 09:43:22 +02:00
|
|
|
class SymbolStatement < StringStatement
|
2017-04-01 20:28:57 +02:00
|
|
|
end
|
|
|
|
end
|