MCPcopy Create free account
hub / github.com/bazelbuild/bazel / execReturn

Method execReturn

src/main/java/net/starlark/java/eval/Eval.java:277–284  ·  view source on GitHub ↗
(StarlarkThread.Frame fr, ReturnStatement node)

Source from the content-addressed store, hash-verified

275 }
276
277 private static TokenKind execReturn(StarlarkThread.Frame fr, ReturnStatement node)
278 throws EvalException, InterruptedException {
279 Expression result = node.getResult();
280 if (result != null) {
281 fr.result = eval(fr, result);
282 }
283 return TokenKind.RETURN;
284 }
285
286 private static TokenKind exec(StarlarkThread.Frame fr, Statement st)
287 throws EvalException, InterruptedException {

Callers 1

execMethod · 0.95

Calls 2

evalMethod · 0.95
getResultMethod · 0.45

Tested by

no test coverage detected