class TypeProf::Core::AST::ArrayPatternNode::HashPatternNode::FindPatternNode::AltPatternNode
Attributes
Public Class Methods
Source
# File bundled-src/typeprof-0.31.1/lib/typeprof/core/ast/pattern.rb, line 80 def initialize(raw_node, lenv) super(raw_node, lenv) @left = AST.create_pattern_node(raw_node.left, lenv) @right = AST.create_pattern_node(raw_node.right, lenv) end
Calls superclass method
TypeProf::Core::AST::Node::new
Public Instance Methods
Source
# File bundled-src/typeprof-0.31.1/lib/typeprof/core/ast/pattern.rb, line 90 def install0(genv) @left.install(genv) @right.install(genv) end
Source
# File bundled-src/typeprof-0.31.1/lib/typeprof/core/ast/pattern.rb, line 88 def subnodes = { left:, right: } def install0(genv) @left.install(genv) @right.install(genv) end end