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

Method ensureProperty

rhino/src/main/java/org/mozilla/javascript/Node.java:477–486  ·  view source on GitHub ↗
(int propType)

Source from the content-addressed store, hash-verified

475 }
476
477 private PropListItem ensureProperty(int propType) {
478 PropListItem item = lookupProperty(propType);
479 if (item == null) {
480 item = new PropListItem();
481 item.type = propType;
482 item.next = propListHead;
483 propListHead = item;
484 }
485 return item;
486 }
487
488 public void removeProp(int propType) {
489 PropListItem x = propListHead;

Callers 2

putPropMethod · 0.95
putIntPropMethod · 0.95

Calls 1

lookupPropertyMethod · 0.95

Tested by

no test coverage detected