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

x33g5p2x  于2022-01-30 转载在 JavaScript  
字(1.6k)|赞(0)|评价(0)|浏览(171)

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

ScriptableObject.getImpl介绍

暂无

代码示例

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

/**
 * Returns the value of the indexed property or NOT_FOUND.
 *
 * @param index the numeric index for the property
 * @param start the object in which the lookup began
 * @return the value of the property (may be null), or NOT_FOUND
 */
public Object get(int index, Scriptable start)
{
  return getImpl(null, index, start);
}

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

/**
 * Returns the value of the indexed property or NOT_FOUND.
 *
 * @param index the numeric index for the property
 * @param start the object in which the lookup began
 * @return the value of the property (may be null), or NOT_FOUND
 */
public Object get(int index, Scriptable start)
{
  return getImpl(null, index, start);
}

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

/**
 * Returns the value of the named property or NOT_FOUND.
 *
 * If the property was created using defineProperty, the
 * appropriate getter method is called.
 *
 * @param name the name of the property
 * @param start the object in which the lookup began
 * @return the value of the property (may be null), or NOT_FOUND
 */
public Object get(String name, Scriptable start)
{
  return getImpl(name, 0, start);
}

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

/**
 * Returns the value of the named property or NOT_FOUND.
 *
 * If the property was created using defineProperty, the
 * appropriate getter method is called.
 *
 * @param name the name of the property
 * @param start the object in which the lookup began
 * @return the value of the property (may be null), or NOT_FOUND
 */
public Object get(String name, Scriptable start)
{
  return getImpl(name, 0, start);
}

相关文章

微信公众号

ScriptableObject类方法