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

Method endCheckLabel

rhino/src/main/java/org/mozilla/javascript/Node.java:851–858  ·  view source on GitHub ↗

A labelled statement implies that there maybe a break to the label. The function processes the labelled statement and then checks the CONTROL_BLOCK_PROP property to see if there is ever a break to the particular label. @return logical OR of END_ flags

()

Source from the content-addressed store, hash-verified

849 * @return logical OR of END_* flags
850 */
851 private int endCheckLabel() {
852 int rv = END_UNREACHED;
853
854 rv = next.endCheck();
855 rv |= getIntProp(CONTROL_BLOCK_PROP, END_UNREACHED);
856
857 return rv;
858 }
859
860 /**
861 * When a break is encountered annotate the statement being broken out of by setting its

Callers 1

endCheckMethod · 0.80

Calls 2

getIntPropMethod · 0.95
endCheckMethod · 0.80

Tested by

no test coverage detected