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.



208
209
210
# File 'lib/crokus/ast.rb', line 208

def initialize tok
  @tok=tok
end

Instance Attribute Details

#tokObject

Returns the value of attribute tok.



207
208
209
# File 'lib/crokus/ast.rb', line 207

def tok
  @tok
end