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

Method reportError

rhino/src/main/java/org/mozilla/javascript/Parser.java:372–374  ·  view source on GitHub ↗
(String messageId)

Source from the content-addressed store, hash-verified

370 }
371
372 void reportError(String messageId) {
373 reportError(messageId, null);
374 }
375
376 void reportError(String messageId, String messageArg) {
377 reportError(messageId, messageArg, currentPos.getPosition(), currentPos.getLength());

Callers 15

mustMatchTokenMethod · 0.95
mustHaveXMLMethod · 0.95
parseFunctionBodyMethod · 0.95
parseFunctionParamsMethod · 0.95
functionMethod · 0.95
arrowFunctionMethod · 0.95
arrowFunctionParamsMethod · 0.95
statementHelperMethod · 0.95
autoInsertSemicolonMethod · 0.95
switchStatementMethod · 0.95
forLoopMethod · 0.95
tryStatementMethod · 0.95

Calls 4

addErrorMethod · 0.95
recoverFromErrorsMethod · 0.80
getPositionMethod · 0.65
getLengthMethod · 0.65

Tested by

no test coverage detected