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

Method getSymbol

rhino/src/main/java/org/mozilla/javascript/ast/Scope.java:165–167  ·  view source on GitHub ↗

Looks up a symbol in this scope. @param name the symbol name @return the Symbol, or null if not found

(String name)

Source from the content-addressed store, hash-verified

163 * @return the Symbol, or {@code null} if not found
164 */
165 public Symbol getSymbol(String name) {
166 return symbolTable == null ? null : symbolTable.get(name);
167 }
168
169 /** Enters a symbol into this scope. */
170 public void putSymbol(Symbol symbol) {

Callers 3

defineSymbolMethod · 0.95
getIndexForNameNodeMethod · 0.95
initFunctionMethod · 0.80

Calls 1

getMethod · 0.65

Tested by

no test coverage detected