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