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

Method labelId

rhino/src/main/java/org/mozilla/javascript/Node.java:606–611  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

604 }
605
606 public final int labelId() {
607 if ((type != Token.TARGET) && (type != Token.YIELD) && (type != Token.YIELD_STAR)) {
608 Kit.codeBug();
609 }
610 return getIntProp(LABEL_ID_PROP, -1);
611 }
612
613 public void labelId(int labelId) {
614 if ((type != Token.TARGET) && (type != Token.YIELD) && (type != Token.YIELD_STAR)) {

Callers 4

resetTargets_rMethod · 0.95
visitTryCatchFinallyMethod · 0.95
getTargetLabelMethod · 0.80
getTargetLabelMethod · 0.80

Calls 3

codeBugMethod · 0.95
getIntPropMethod · 0.95
putIntPropMethod · 0.95

Tested by

no test coverage detected