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