rubyx/lib/vool/statements/basic_values.rb
Torsten Ruger db8f99409b move vool statements into own directory
also tests for guard to work
2017-04-06 19:11:11 +03:00

33 lines
625 B
Ruby

module Vool
class IntegerStatement < Statement
attr_reader :value
def initialize(value)
@value = value
end
end
class FloatStatement < Statement
attr_reader :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_reader :value
def initialize(value)
@value = value
end
end
class SymbolStatement < StringStatement
end
end