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

Method addError

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

Source from the content-addressed store, hash-verified

221 }
222
223 void addError(String messageId) {
224 addError(messageId, currentPos.getPosition(), currentPos.getLength());
225 }
226
227 void addError(String messageId, int position, int length) {
228 addError(messageId, null, position, length);

Callers 15

addWarningMethod · 0.95
reportErrorMethod · 0.95
parseFunctionParamsMethod · 0.95
arrowFunctionParamsMethod · 0.95
returnOrYieldMethod · 0.95
defineSymbolMethod · 0.95
objectLiteralMethod · 0.95
getTokenMethod · 0.45
getNextXMLTokenMethod · 0.45
readQuotedStringMethod · 0.45
readXmlCommentMethod · 0.45

Calls 7

lookupMessageMethod · 0.95
mapCurrentPosMethod · 0.95
mapLocationMethod · 0.95
getPositionMethod · 0.65
getLengthMethod · 0.65
toStringMethod · 0.65
errorMethod · 0.65

Tested by

no test coverage detected