org.mozilla.javascript.Node.lookupProperty()方法的使用及代码示例

x33g5p2x  于2022-01-25 转载在 JavaScript  
字(3.9k)|赞(0)|评价(0)|浏览(102)

本文整理了Java中org.mozilla.javascript.Node.lookupProperty()方法的一些代码示例,展示了Node.lookupProperty()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Node.lookupProperty()方法的具体详情如下:
包路径:org.mozilla.javascript.Node
类名称:Node
方法名:lookupProperty

Node.lookupProperty介绍

暂无

代码示例

代码示例来源:origin: rhino/js

public int getIntProp(int propType, int defaultValue)
{
  PropListItem item = lookupProperty(propType);
  if (item == null) { return defaultValue; }
  return item.intValue;
}

代码示例来源:origin: geogebra/geogebra

public Object getProp(int propType)
{
  PropListItem item = lookupProperty(propType);
  if (item == null) { return null; }
  return item.objectValue;
}

代码示例来源:origin: geogebra/geogebra

public int getIntProp(int propType, int defaultValue)
{
  PropListItem item = lookupProperty(propType);
  if (item == null) { return defaultValue; }
  return item.intValue;
}

代码示例来源:origin: io.apigee/rhino

public int getIntProp(int propType, int defaultValue)
{
  PropListItem item = lookupProperty(propType);
  if (item == null) { return defaultValue; }
  return item.intValue;
}

代码示例来源:origin: com.github.tntim96/rhino

public int getIntProp(int propType, int defaultValue)
{
  PropListItem item = lookupProperty(propType);
  if (item == null) { return defaultValue; }
  return item.intValue;
}

代码示例来源:origin: ro.isdc.wro4j/rhino

public Object getProp(int propType)
{
  PropListItem item = lookupProperty(propType);
  if (item == null) { return null; }
  return item.objectValue;
}

代码示例来源:origin: com.sun.phobos/phobos-rhino

public Object getProp(int propType)
{
  PropListItem item = lookupProperty(propType);
  if (item == null) { return null; }
  return item.objectValue;
}

代码示例来源:origin: rhino/js

public Object getProp(int propType)
{
  PropListItem item = lookupProperty(propType);
  if (item == null) { return null; }
  return item.objectValue;
}

代码示例来源:origin: io.apigee/rhino

public Object getProp(int propType)
{
  PropListItem item = lookupProperty(propType);
  if (item == null) { return null; }
  return item.objectValue;
}

代码示例来源:origin: com.sun.phobos/phobos-rhino

public int getIntProp(int propType, int defaultValue)
{
  PropListItem item = lookupProperty(propType);
  if (item == null) { return defaultValue; }
  return item.intValue;
}

代码示例来源:origin: com.github.tntim96/rhino

public Object getProp(int propType)
{
  PropListItem item = lookupProperty(propType);
  if (item == null) { return null; }
  return item.objectValue;
}

代码示例来源:origin: geogebra/geogebra

public int getExistingIntProp(int propType)
{
  PropListItem item = lookupProperty(propType);
  if (item == null) { Kit.codeBug(); }
  return item.intValue;
}

代码示例来源:origin: com.sun.phobos/phobos-rhino

public int getExistingIntProp(int propType)
{
  PropListItem item = lookupProperty(propType);
  if (item == null) { Kit.codeBug(); }
  return item.intValue;
}

代码示例来源:origin: ro.isdc.wro4j/rhino

private PropListItem ensureProperty(int propType)
{
  PropListItem item = lookupProperty(propType);
  if (item == null) {
    item = new PropListItem();
    item.type = propType;
    item.next = propListHead;
    propListHead = item;
  }
  return item;
}

代码示例来源:origin: com.sun.phobos/phobos-rhino

private PropListItem ensureProperty(int propType)
{
  PropListItem item = lookupProperty(propType);
  if (item == null) {
    item = new PropListItem();
    item.type = propType;
    item.next = propListHead;
    propListHead = item;
  }
  return item;
}

代码示例来源:origin: rhino/js

private PropListItem ensureProperty(int propType)
{
  PropListItem item = lookupProperty(propType);
  if (item == null) {
    item = new PropListItem();
    item.type = propType;
    item.next = propListHead;
    propListHead = item;
  }
  return item;
}

代码示例来源:origin: rhino/js

public int getExistingIntProp(int propType)
{
  PropListItem item = lookupProperty(propType);
  if (item == null) { Kit.codeBug(); }
  return item.intValue;
}

代码示例来源:origin: geogebra/geogebra

private PropListItem ensureProperty(int propType)
{
  PropListItem item = lookupProperty(propType);
  if (item == null) {
    item = new PropListItem();
    item.type = propType;
    item.next = propListHead;
    propListHead = item;
  }
  return item;
}

代码示例来源:origin: io.apigee/rhino

private PropListItem ensureProperty(int propType)
{
  PropListItem item = lookupProperty(propType);
  if (item == null) {
    item = new PropListItem();
    item.type = propType;
    item.next = propListHead;
    propListHead = item;
  }
  return item;
}

代码示例来源:origin: io.apigee/rhino

public int getExistingIntProp(int propType)
{
  PropListItem item = lookupProperty(propType);
  if (item == null) { Kit.codeBug(); }
  return item.intValue;
}

相关文章

微信公众号