class TypeProf::Core::AST::ArrayPatternNode::HashPatternNode::FindPatternNode::AltPatternNode::CapturePatternNode
Attributes
target[R]
value[R]
Public Class Methods
new(raw_node, lenv)
click to toggle source
Calls superclass method
TypeProf::Core::AST::Node::new
# File typeprof-0.30.1/lib/typeprof/core/ast/pattern.rb, line 89 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
Public Instance Methods
install0(genv)
click to toggle source
# File typeprof-0.30.1/lib/typeprof/core/ast/pattern.rb, line 99 def install0(genv) @value.install(genv) @target.install(genv) end
subnodes(= { value:, target: })
click to toggle source
# File typeprof-0.30.1/lib/typeprof/core/ast/pattern.rb, line 97 def subnodes = { value:, target: } def install0(genv) @value.install(genv) @target.install(genv) end end