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

Method codeBug

rhino/src/main/java/org/mozilla/javascript/Parser.java:5476–5484  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5474
5475 // throw a failed-assertion with some helpful debugging info
5476 private RuntimeException codeBug() throws RuntimeException {
5477 throw Kit.codeBug(
5478 "ts.cursor="
5479 + ts.cursor
5480 + ", ts.tokenBeg="
5481 + ts.tokenBeg
5482 + ", currentToken="
5483 + currentToken);
5484 }
5485
5486 public boolean inUseStrictDirective() {
5487 return inUseStrictDirective;

Callers 15

pushScopeMethod · 0.95
statementsMethod · 0.95
ifStatementMethod · 0.95
switchStatementMethod · 0.95
whileLoopMethod · 0.95
doLoopMethod · 0.95
forLoopMethod · 0.95
tryStatementMethod · 0.95
throwStatementMethod · 0.95
breakStatementMethod · 0.95
continueStatementMethod · 0.95
withStatementMethod · 0.95

Calls 1

codeBugMethod · 0.95

Tested by

no test coverage detected