Class: RubyRTL::IntLit
Instance Attribute Summary
Attributes inherited from Literal
Attributes inherited from Ast
Instance Method Summary collapse
- #+(other) ⇒ Object
-
#initialize(val) ⇒ IntLit
constructor
A new instance of IntLit.
Methods inherited from Ast
Constructor Details
Instance Method Details
#+(other) ⇒ Object
226 227 228 229 230 |
# File 'lib/ruby_rtl/ast.rb', line 226 def +(other) ret=Binary.new(self,"+",other) ret.type=@type ret end |