org.jruby.runtime.Block.escape()方法的使用及代码示例

x33g5p2x  于2022-01-17 转载在 其他  
字(6.4k)|赞(0)|评价(0)|浏览(121)

本文整理了Java中org.jruby.runtime.Block.escape()方法的一些代码示例,展示了Block.escape()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Block.escape()方法的具体详情如下:
包路径:org.jruby.runtime.Block
类名称:Block
方法名:escape

Block.escape介绍

[英]What block to use for determining escape; defaults to this
[中]用什么块来决定逃跑;默认为此

代码示例

代码示例来源:origin: org.jruby/jruby-complete

@Override
public final IRubyObject callIter(ThreadContext context, IRubyObject caller, IRubyObject self,
  IRubyObject arg1, IRubyObject arg2, IRubyObject arg3, Block block) {
  try {
    return call(context, caller, self, arg1, arg2, arg3, block);
  } finally {
    block.escape();
  }
}

代码示例来源:origin: org.jruby/jruby-core

public IRubyObject callIter(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject arg1, IRubyObject arg2, Block block) {
  try {
    return call(context, caller, self, arg1, arg2, block);
  } finally {
    block.escape();
  }
}

代码示例来源:origin: org.jruby/jruby-complete

public IRubyObject callIter(ThreadContext context, IRubyObject caller, IRubyObject self, Block block) {
  try {
    return call(context, caller, self, block);
  } finally {
    block.escape();
  }
}

代码示例来源:origin: org.jruby/jruby-complete

public IRubyObject callIter(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject arg1, IRubyObject arg2, Block block) {
  try {
    return call(context, caller, self, arg1, arg2, block);
  } finally {
    block.escape();
  }
}

代码示例来源:origin: org.jruby/jruby-complete

@Override
public final IRubyObject callIter(ThreadContext context, IRubyObject caller, IRubyObject self,
  Block block) {
  try {
    return call(context, caller, self, block);
  } finally {
    block.escape();
  }
}

代码示例来源:origin: org.jruby/jruby-core

@Override
public final IRubyObject callIter(ThreadContext context, IRubyObject caller, IRubyObject self,
  Block block) {
  try {
    return call(context, caller, self, block);
  } finally {
    block.escape();
  }
}

代码示例来源:origin: org.jruby/jruby-core

public IRubyObject callIter(ThreadContext context, IRubyObject caller, IRubyObject self, Block block) {
  try {
    return call(context, caller, self, block);
  } finally {
    block.escape();
  }
}

代码示例来源:origin: org.jruby/jruby-complete

public IRubyObject callIter(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject[] args, Block block) {
  try {
    return call(context, caller, self, args, block);
  } finally {
    block.escape();
  }
}

代码示例来源:origin: org.jruby/jruby-complete

public IRubyObject callIter(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject arg1, Block block) {
  try {
    return call(context, caller, self, arg1, block);
  } finally {
    block.escape();
  }
}

代码示例来源:origin: org.jruby/jruby-complete

public IRubyObject callIter(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3, Block block) {
  try {
    return call(context, caller, self, arg1, arg2, arg3, block);
  } finally {
    block.escape();
  }
}

代码示例来源:origin: com.ning.billing/killbill-osgi-bundles-jruby

public IRubyObject callIter(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject arg1, Block block) {
  try {
    return callBlock(context, caller, self, arg1, block);
  } catch (JumpException.BreakJump bj) {
    return handleBreakJump(context, bj);
  } catch (JumpException.RetryJump rj) {
    throw retryJumpError(context);
  } finally {
    block.escape();
  }
}

代码示例来源:origin: com.ning.billing/killbill-osgi-bundles-jruby

public IRubyObject callIter(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject arg1, Block block) {
  try {
    return callBlock(context, caller, self, arg1, block);
  } catch (JumpException.BreakJump bj) {
    return handleBreakJump(context, bj);
  } catch (JumpException.RetryJump rj) {
    throw retryJumpError(context);
  } finally {
    block.escape();
  }
}

代码示例来源:origin: org.kill-bill.billing/killbill-osgi-bundles-jruby

public IRubyObject callIter(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject[] args, Block block) {
  try {
    return callBlock(context, caller, self, args, block);
  } catch (JumpException.BreakJump bj) {
    return handleBreakJump(context, bj);
  } catch (JumpException.RetryJump rj) {
    throw retryJumpError(context);
  } finally {
    block.escape();
  }
}

代码示例来源:origin: org.kill-bill.billing/killbill-osgi-bundles-jruby

public IRubyObject callIter(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3, Block block) {
  try {
    return callBlock(context, caller, self, arg1, arg2, arg3, block);
  } catch (JumpException.BreakJump bj) {
    return handleBreakJump(context, bj);
  } catch (JumpException.RetryJump rj) {
    throw retryJumpError(context);
  } finally {
    block.escape();
  }
}

代码示例来源:origin: com.ning.billing/killbill-osgi-bundles-jruby

public IRubyObject callIter(ThreadContext context, IRubyObject caller, IRubyObject self, Block block) {
  try {
    return callBlock(context, caller, self, block);
  } catch (JumpException.BreakJump bj) {
    return handleBreakJump(context, bj);
  } catch (JumpException.RetryJump rj) {
    throw retryJumpError(context);
  } finally {
    block.escape();
  }
}

代码示例来源:origin: com.ning.billing/killbill-osgi-bundles-jruby

public IRubyObject callIter(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3, Block block) {
  try {
    return callBlock(context, caller, self, arg1, arg2, arg3, block);
  } catch (JumpException.BreakJump bj) {
    return handleBreakJump(context, bj);
  } catch (JumpException.RetryJump rj) {
    throw retryJumpError(context);
  } finally {
    block.escape();
  }
}

代码示例来源:origin: org.kill-bill.billing/killbill-osgi-bundles-jruby

public IRubyObject callIter(ThreadContext context, IRubyObject caller, IRubyObject self, Block block) {
  try {
    return callBlock(context, caller, self, block);
  } catch (JumpException.BreakJump bj) {
    return handleBreakJump(context, bj);
  } catch (JumpException.RetryJump rj) {
    throw retryJumpError(context);
  } finally {
    block.escape();
  }
}

代码示例来源:origin: org.kill-bill.billing/killbill-osgi-bundles-jruby

public IRubyObject callIter(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject arg1, Block block) {
  try {
    return callBlock(context, caller, self, arg1, block);
  } catch (JumpException.BreakJump bj) {
    return handleBreakJump(context, bj);
  } catch (JumpException.RetryJump rj) {
    throw retryJumpError(context);
  } finally {
    block.escape();
  }
}

代码示例来源:origin: org.kill-bill.billing/killbill-osgi-bundles-jruby

public IRubyObject callIter(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject arg1, IRubyObject arg2, Block block) {
  try {
    return callBlock(context, caller, self, arg1, arg2, block);
  } catch (JumpException.BreakJump bj) {
    return handleBreakJump(context, bj);
  } catch (JumpException.RetryJump rj) {
    throw retryJumpError(context);
  } finally {
    block.escape();
  }
}

代码示例来源:origin: org.kill-bill.billing/killbill-osgi-bundles-jruby

public IRubyObject callIter(ThreadContext context, IRubyObject caller, IRubyObject self, Block block) {
  try {
    return callBlock(context, caller, self, block);
  } catch (JumpException.BreakJump bj) {
    return handleBreakJump(context, bj);
  } catch (JumpException.RetryJump rj) {
    throw retryJumpError(context);
  } finally {
    block.escape();
  }
}

相关文章