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

Method Slot

rhino/src/main/java/org/mozilla/javascript/Slot.java:24–28  ·  view source on GitHub ↗
(Object name, int index, int attributes)

Source from the content-addressed store, hash-verified

22 transient Slot<T> orderedNext; // next in linked list
23
24 Slot(Object name, int index, int attributes) {
25 this.name = name;
26 this.indexOrHash = name == null ? index : name.hashCode();
27 this.attributes = (short) attributes;
28 }
29
30 Slot<T> copySlot() {
31 var newSlot = new Slot<T>(this);

Callers

nothing calls this directly

Calls 1

hashCodeMethod · 0.45

Tested by

no test coverage detected