Method: Prism::IndexOperatorWriteNode#compact_child_nodes

Defined in:
lib/prism/node.rb

#compact_child_nodesObject

def compact_child_nodes: () -> Array



9241
9242
9243
9244
9245
9246
9247
9248
# File 'lib/prism/node.rb', line 9241

def compact_child_nodes
  compact = [] #: Array[Prism::node]
  compact << receiver if receiver
  compact << arguments if arguments
  compact << block if block
  compact << value
  compact
end