class Rubasteme::AST::LetBaseNode
Public Class Methods
new(_ = nil)
click to toggle source
Calls superclass method
Rubasteme::AST::ListNode::new
# File lib/rubasteme/ast/branch_node.rb, line 511 def initialize(_ = nil) # @nodes = [<bindings>, <body>] super(2, _) end
Public Instance Methods
bindings()
click to toggle source
# File lib/rubasteme/ast/branch_node.rb, line 516 def bindings @nodes[0] end
bindings=(node)
click to toggle source
# File lib/rubasteme/ast/branch_node.rb, line 520 def bindings=(node) @nodes[0] = node end
body()
click to toggle source
# File lib/rubasteme/ast/branch_node.rb, line 524 def body @nodes[1] end
body=(node)
click to toggle source
# File lib/rubasteme/ast/branch_node.rb, line 528 def body=(node) @nodes[1] = node end