Class: Vertigo::IntLit
- Defined in:
- lib/vertigo/ast_vertigo_rkgen.rb
Instance Attribute Summary collapse
-
#tok ⇒ Object
Returns the value of attribute tok.
Attributes inherited from AstNode
Instance Method Summary collapse
-
#initialize(tok = nil) ⇒ IntLit
constructor
A new instance of IntLit.
Methods inherited from AstNode
Constructor Details
#initialize(tok = nil) ⇒ IntLit
Returns a new instance of IntLit.
540 541 542 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 540 def initialize tok=nil @tok=tok end |
Instance Attribute Details
#tok ⇒ Object
Returns the value of attribute tok.
539 540 541 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 539 def tok @tok end |