Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (309)
Collections:
Other Resources:
Rhino JavaScript Java Library Source Code
Rhino JavaScript Java Library is an open-source implementation of JavaScript written entirely in Java.
Rhino JavaScript Java Library Source Code files are provided in binary package (rhino-1.7.14.zip).
You can also browse the source code below:
✍: FYIcenter.com
⏎ org/mozilla/javascript/IdFunctionObjectES6.java
package org.mozilla.javascript; public class IdFunctionObjectES6 extends IdFunctionObject{ private static final long serialVersionUID = -8023088662589035261L; public IdFunctionObjectES6(IdFunctionCall idcall, Object tag, int id, String name, int arity, Scriptable scope) { super(idcall, tag, id, name, arity, scope); } private static final int Id_length = 1, Id_name = 3; private boolean myLength = true; private boolean myName = true; @Override protected int findInstanceIdInfo(String s) { if (s.equals("length")) return instanceIdInfo(READONLY | DONTENUM, Id_length); else if (s.equals("name")) return instanceIdInfo(READONLY | DONTENUM, Id_name); return super.findInstanceIdInfo(s); } @Override protected Object getInstanceIdValue(int id) { if (id == Id_length && !myLength) { return NOT_FOUND; } else if (id == Id_name && !myName) { return NOT_FOUND; } return super.getInstanceIdValue(id); } @Override protected void setInstanceIdValue(int id, Object value) { if (id == Id_length && value == NOT_FOUND) { this.myLength = false; return; } else if (id == Id_name && value == NOT_FOUND) { this.myName = false; return; } super.setInstanceIdValue(id, value); } }
⏎ org/mozilla/javascript/IdFunctionObjectES6.java
Or download all of them as a single archive file:
File name: rhino-1.7.14-sources.jar File size: 1029165 bytes Release date: 2022-01-06 Download
⇒ Example code to Test rhino-runtime-1.7.14.jar
⇐ Download Rhino JavaScript Binary Package
2022-05-03, 35901👍, 1💬
Popular Posts:
How to download and install Apache ZooKeeper Source Package? Apache ZooKeeper is an open-source serv...
What Is ojdbc8.jar for Oracle 12c R2? ojdbc8.jar for Oracle 12c R2 is the JAR files of ojdbc.jar, JD...
JSP(tm) Standard Tag Library 1.1 implementation - Jakarta Taglibs hosts the Standard Taglib 1.1, an ...
Java Servlet 3.0 Specification API. JAR File Size and Download Location: File name: servlet-api.jar,...
What Is activation.jar? I heard it's related to JAF (JavaBeans Activation Framework) 1.1? The if you...