Class: Crokus::IntLit
Instance Attribute Summary
Attributes inherited from Literal
Instance Method Summary collapse
Methods inherited from Literal
Methods inherited from Ast
Constructor Details
This class inherits a constructor from Crokus::Literal
Instance Method Details
#to_i ⇒ Object
433 434 435 |
# File 'lib/crokus/ast.rb', line 433 def to_i tok.val.to_i end |