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

Method getProp

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

Source from the content-addressed store, hash-verified

505 }
506
507 public Object getProp(int propType) {
508 PropListItem item = lookupProperty(propType);
509 if (item == null) {
510 return null;
511 }
512 return item.objectValue;
513 }
514
515 public int getIntProp(int propType, int defaultValue) {
516 PropListItem item = lookupProperty(propType);

Callers 15

visitLetMethod · 0.95
getJsDocNodeMethod · 0.95
transformFunctionMethod · 0.45
transformGenExprMethod · 0.45
visitExpressionMethod · 0.45
visitObjectLiteralMethod · 0.45
visitArrayLiteralMethod · 0.45
getLocalBlockRefMethod · 0.45
setBodyMethod · 0.45
generateExpressionMethod · 0.45

Calls 1

lookupPropertyMethod · 0.95

Tested by

no test coverage detected