Class: Cyrel::AST::CreateNode

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

Overview

AST node for CREATE clauses Because sometimes you need to make things exist

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Node

#==, #accept

Constructor Details

#initialize(pattern) ⇒ CreateNode

Returns a new instance of CreateNode.



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

def initialize(pattern)
  @pattern = pattern
end

Instance Attribute Details

#patternObject (readonly)

Returns the value of attribute pattern.



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

def pattern
  @pattern
end