MCPcopy Create free account
hub / github.com/mozilla/rhino / setFinally

Method setFinally

rhino/src/main/java/org/mozilla/javascript/ast/Jump.java:66–71  ·  view source on GitHub ↗
(Node finallyTarget)

Source from the content-addressed store, hash-verified

64 }
65
66 public void setFinally(Node finallyTarget) {
67 if (type != Token.TRY) codeBug();
68 if (finallyTarget.getType() != Token.TARGET) codeBug();
69 if (target2 != null) codeBug(); // only once
70 target2 = finallyTarget;
71 }
72
73 public Jump getLoop() {
74 if (type != Token.LABEL) codeBug();

Callers 1

createTryCatchFinallyMethod · 0.95

Calls 2

codeBugMethod · 0.45
getTypeMethod · 0.45

Tested by

no test coverage detected