Method: Prism::ArrayNode#initialize
- Defined in:
- lib/prism/node.rb
#initialize(source, node_id, location, flags, elements, opening_loc, closing_loc) ⇒ ArrayNode
Initialize a new ArrayNode node.
748 749 750 751 752 753 754 755 756 |
# File 'lib/prism/node.rb', line 748 def initialize(source, node_id, location, flags, elements, opening_loc, closing_loc) @source = source @node_id = node_id @location = location @flags = flags @elements = elements @opening_loc = opening_loc @closing_loc = closing_loc end |