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
429 430 431 |
# File 'lib/crokus/ast.rb', line 429 def to_i tok.val.to_i end |