class TypeProf::Core::AST::BranchNode::LoopNode::BreakNode::NextNode::WhenNode::CaseNode::CaseMatchNode::AndNode::OrNode::ReturnNode::RescueNode::BeginNode::RescueModifierNode
Attributes
Public Class Methods
Source
# File bundled-src/typeprof-0.31.1/lib/typeprof/core/ast/control.rb, line 689 def initialize(raw_node, lenv) super(raw_node, lenv) @expression = AST.create_node(raw_node.expression, lenv) @rescue_expression = AST.create_node(raw_node.rescue_expression, 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/control.rb, line 699 def install0(genv) ret = Vertex.new(self) @changes.add_edge(genv, @expression.install(genv), ret) @changes.add_edge(genv, @rescue_expression.install(genv), ret) ret end
Source
# File bundled-src/typeprof-0.31.1/lib/typeprof/core/ast/control.rb, line 697 def subnodes = { expression:, rescue_expression: } def install0(genv) ret = Vertex.new(self) @changes.add_edge(genv, @expression.install(genv), ret) @changes.add_edge(genv, @rescue_expression.install(genv), ret) ret end end