class TypeProf::Core::AST::BranchNode::LoopNode::BreakNode::NextNode::CaseNode::CaseMatchNode::AndNode::OrNode::ReturnNode::BeginNode::RescueModifierNode - typeprof: Ruby Standard Library Documentation

# class TypeProf::Core::AST::BranchNode::LoopNode::BreakNode::NextNode::CaseNode::CaseMatchNode::AndNode::OrNode::ReturnNode::BeginNode::RescueModifierNode

### Attributes

expression[R]
rescue_expression[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/control.rb, line 415
    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

### Public Instance Methods

install0(genv) click to toggle source

    # File typeprof-0.30.1/lib/typeprof/core/ast/control.rb, line 425
    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

subnodes(= { expression:, rescue_expression: }) click to toggle source

    # File typeprof-0.30.1/lib/typeprof/core/ast/control.rb, line 423
      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