Class: Vertigo::CharLit
- 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) ⇒ CharLit
constructor
A new instance of CharLit.
Methods inherited from AstNode
Constructor Details
#initialize(tok = nil) ⇒ CharLit
Returns a new instance of CharLit.
547 548 549 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 547 def initialize tok=nil @tok=tok end |
Instance Attribute Details
#tok ⇒ Object
Returns the value of attribute tok.
546 547 548 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 546 def tok @tok end |