Class IdFunctionObjectES6

    • Constructor Detail

      • IdFunctionObjectES6

        public IdFunctionObjectES6​(IdFunctionCall idcall,
                                   java.lang.Object tag,
                                   int id,
                                   java.lang.String name,
                                   int arity,
                                   Scriptable scope)
    • Method Detail

      • getInstanceIdValue

        protected java.lang.Object getInstanceIdValue​(int id)
        Description copied from class: IdScriptableObject
        Get id value. * If id value is constant, descendant can call cacheIdValue to store * value in the permanent cache. * Default implementation creates IdFunctionObject instance for given id * and cache its value
        Overrides:
        getInstanceIdValue in class BaseFunction
      • setInstanceIdValue

        protected void setInstanceIdValue​(int id,
                                          java.lang.Object value)
        Description copied from class: IdScriptableObject
        Set or delete id value. If value == NOT_FOUND , the implementation should make sure that the following getInstanceIdValue return NOT_FOUND.
        Overrides:
        setInstanceIdValue in class BaseFunction