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

Method setContinue

rhino/src/main/java/org/mozilla/javascript/ast/Jump.java:90–95  ·  view source on GitHub ↗
(Node continueTarget)

Source from the content-addressed store, hash-verified

88 }
89
90 public void setContinue(Node continueTarget) {
91 if (type != Token.LOOP) codeBug();
92 if (continueTarget.getType() != Token.TARGET) codeBug();
93 if (target2 != null) codeBug(); // only once
94 target2 = continueTarget;
95 }
96
97 /**
98 * Jumps are only used directly during code generation, and do not support this interface.

Callers 1

createLoopMethod · 0.80

Calls 2

codeBugMethod · 0.45
getTypeMethod · 0.45

Tested by

no test coverage detected