Method: SyntaxTree::BEGINBlock#initialize

Defined in:
lib/syntax_tree.rb

#initialize(lbrace:, statements:, location:, comments: []) ⇒ BEGINBlock

Returns a new instance of BEGINBlock.



431
432
433
434
435
436
# File 'lib/syntax_tree.rb', line 431

def initialize(lbrace:, statements:, location:, comments: [])
  @lbrace = lbrace
  @statements = statements
  @location = location
  @comments = comments
end