class TypeProf::Core::AST::ArrayPatternNode::HashPatternNode::FindPatternNode::AltPatternNode::CapturePatternNode
Attributes
Public Class Methods
Source
# File bundled-src/typeprof-0.31.1/lib/typeprof/core/ast/pattern.rb, line 97 def initialize(raw_node, lenv) super(raw_node, lenv) @value = AST.create_pattern_node(raw_node.value, lenv) @target = AST.create_pattern_node(raw_node.target, 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 107 def install0(genv) @value.install(genv) @target.install(genv) end
Source
# File bundled-src/typeprof-0.31.1/lib/typeprof/core/ast/pattern.rb, line 105 def subnodes = { value:, target: } def install0(genv) @value.install(genv) @target.install(genv) end end