Class: Cyrel::AST::RemoveNode

Inherits:
ClauseNode show all
Defined in:
lib/cyrel/ast/remove_node.rb

Overview

AST node for REMOVE clauses For when you need to Marie Kondo your graph properties and labels

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Node

#==, #accept

Constructor Details

#initialize(items) ⇒ RemoveNode

Returns a new instance of RemoveNode.



10
11
12
# File 'lib/cyrel/ast/remove_node.rb', line 10

def initialize(items)
  @items = items
end

Instance Attribute Details

#itemsObject (readonly)

Returns the value of attribute items.



8
9
10
# File 'lib/cyrel/ast/remove_node.rb', line 8

def items
  @items
end