class TypeProf::Core::AST::BranchNode::LoopNode::BreakNode::NextNode
Attributes
Public Class Methods
Source
# File bundled-src/typeprof-0.31.1/lib/typeprof/core/ast/control.rb, line 225 def initialize(raw_node, lenv) super(raw_node, lenv) @arg = AST.parse_return_arguments(raw_node, lenv, code_range) 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 234 def install0(genv) @arg.install(genv) if @lenv.exist_var?(:"*expected_block_ret") @lenv.add_next_box(@changes.add_escape_box(genv, @arg.ret)) end Source.new(Type::Bot.new(genv)) end
Source
# File bundled-src/typeprof-0.31.1/lib/typeprof/core/ast/control.rb, line 232 def subnodes = { arg: } def install0(genv) @arg.install(genv) if @lenv.exist_var?(:"*expected_block_ret") @lenv.add_next_box(@changes.add_escape_box(genv, @arg.ret)) end Source.new(Type::Bot.new(genv)) end end