Class: Crokus::SemicolonStmt

Inherits:
Stmt
  • Object
show all
Defined in:
lib/crokus/ast.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Ast

#accept, #str

Constructor Details

#initialize(tok) ⇒ SemicolonStmt

Returns a new instance of SemicolonStmt.



204
205
206
# File 'lib/crokus/ast.rb', line 204

def initialize tok
  @tok=tok
end

Instance Attribute Details

#tokObject

Returns the value of attribute tok.



203
204
205
# File 'lib/crokus/ast.rb', line 203

def tok
  @tok
end