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

Method defineSymbol

rhino/src/main/java/org/mozilla/javascript/Parser.java:2597–2599  ·  view source on GitHub ↗
(int declType, String name)

Source from the content-addressed store, hash-verified

2595 }
2596
2597 void defineSymbol(int declType, String name) {
2598 defineSymbol(declType, name, false);
2599 }
2600
2601 void defineSymbol(int declType, String name, boolean ignoreNotInBlock) {
2602 if (name == null) {

Callers 13

parseFunctionParamsMethod · 0.95
functionMethod · 0.95
arrowFunctionParamsMethod · 0.95
variablesMethod · 0.95
destructuringArrayMethod · 0.95
destructuringObjectMethod · 0.95
transformArrayCompMethod · 0.80

Calls 11

codeBugMethod · 0.95
getSymbolMethod · 0.95
getDeclTypeMethod · 0.95
addErrorMethod · 0.95
addStrictWarningMethod · 0.95
addWarningMethod · 0.95
isIdeModeMethod · 0.80
putSymbolMethod · 0.80
equalsMethod · 0.45
getDefiningScopeMethod · 0.45
getTypeMethod · 0.45

Tested by

no test coverage detected