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

Method add

rhino/src/main/java/org/mozilla/javascript/SlotMap.java:85–85  ·  view source on GitHub ↗

Insert a new slot to the map. Both "name" and "indexOrHash" must be populated. Note that ScriptableObject generally adds slots via the "modify" method.

(SlotMapOwner<T> owner, Slot<T> newSlot)

Source from the content-addressed store, hash-verified

83 * ScriptableObject generally adds slots via the "modify" method.
84 */
85 void add(SlotMapOwner<T> owner, Slot<T> newSlot);
86
87 default int dirtySize() {
88 return size();

Callers 15

live-connect.jsFile · 0.65
getTestCasesMethod · 0.65
suiteValuesMethod · 0.65
addCommentsToMethod · 0.65
beautifyElementMethod · 0.65
newXMLListFromMethod · 0.65
childrenMethod · 0.65
getNamespacesMethod · 0.65
getMatchingChildrenMethod · 0.65
_addMethod · 0.65

Calls

no outgoing calls

Tested by 15

getTestCasesMethod · 0.52
suiteValuesMethod · 0.52
errorMethod · 0.52
handleCompilationDoneMethod · 0.52
manyKeysAndIndicesMethod · 0.52
onEnterMethod · 0.52
onExitMethod · 0.52
fillToCapacityMethod · 0.52
makeCyclicMethod · 0.52