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:
JDK 11 jdk.scripting.nashorn.jmod - Scripting Nashorn Module
JDK 11 jdk.scripting.nashorn.jmod is the JMOD file for JDK 11 Scripting Nashorn module.
JDK 11 Scripting Nashorn module compiled class files are stored in \fyicenter\jdk-11.0.1\jmods\jdk.scripting.nashorn.jmod.
JDK 11 Scripting Nashorn module compiled class files are also linked and stored in the \fyicenter\jdk-11.0.1\lib\modules JImage file.
JDK 11 Scripting Nashorn module source code files are stored in \fyicenter\jdk-11.0.1\lib\src.zip\jdk.scripting.nashorn.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ jdk/nashorn/internal/ir/Expression.java
/* * Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package jdk.nashorn.internal.ir; import jdk.nashorn.internal.codegen.types.Type; import jdk.nashorn.internal.runtime.UnwarrantedOptimismException; /** * Common superclass for all expression nodes. Expression nodes can have * an associated symbol as well as a type. * */ public abstract class Expression extends Node { private static final long serialVersionUID = 1L; static final String OPT_IDENTIFIER = "%"; protected Expression(final long token, final int start, final int finish) { super(token, start, finish); } Expression(final long token, final int finish) { super(token, finish); } Expression(final Expression expr) { super(expr); } /** * Returns the type of the expression. * * @return the type of the expression. */ public abstract Type getType(); /** * Returns {@code true} if this expression depends exclusively on state that is constant * or local to the currently running function and thus inaccessible to other functions. * This implies that a local expression must not call any other functions (neither directly * nor implicitly through a getter, setter, or object-to-primitive type conversion). * * @return true if this expression does not depend on state shared with other functions. */ public boolean isLocal() { return false; } /** * Is this a self modifying assignment? * @return true if self modifying, e.g. a++, or a*= 17 */ public boolean isSelfModifying() { return false; } /** * Returns widest operation type of this operation. * * @return the widest type for this operation */ public Type getWidestOperationType() { return Type.OBJECT; } /** * Returns true if the type of this expression is narrower than its widest operation type (thus, it is * optimistically typed). * @return true if this expression is optimistically typed. */ public final boolean isOptimistic() { return getType().narrowerThan(getWidestOperationType()); } void optimisticTypeToString(final StringBuilder sb) { optimisticTypeToString(sb, isOptimistic()); } void optimisticTypeToString(final StringBuilder sb, final boolean optimistic) { sb.append('{'); final Type type = getType(); final String desc = type == Type.UNDEFINED ? "U" : type.getDescriptor(); sb.append(desc.charAt(desc.length() - 1) == ';' ? "O" : desc); if (isOptimistic() && optimistic) { sb.append(OPT_IDENTIFIER); final int pp = ((Optimistic)this).getProgramPoint(); if (UnwarrantedOptimismException.isValid(pp)) { sb.append('_').append(pp); } } sb.append('}'); } /** * Returns true if the runtime value of this expression is always false when converted to boolean as per ECMAScript * ToBoolean conversion. Used in control flow calculations. * @return true if this expression's runtime value converted to boolean is always false. */ public boolean isAlwaysFalse() { return false; } /** * Returns true if the runtime value of this expression is always true when converted to boolean as per ECMAScript * ToBoolean conversion. Used in control flow calculations. * @return true if this expression's runtime value converted to boolean is always true. */ public boolean isAlwaysTrue() { return false; } /** * Returns true if the expression is not null and {@link #isAlwaysFalse()}. * @param test a test expression used as a predicate of a branch or a loop. * @return true if the expression is not null and {@link #isAlwaysFalse()}. */ public static boolean isAlwaysFalse(final Expression test) { return test != null && test.isAlwaysFalse(); } /** * Returns true if the expression is null or {@link #isAlwaysTrue()}. Null is considered to be always true as a * for loop with no test is equivalent to a for loop with always-true test. * @param test a test expression used as a predicate of a branch or a loop. * @return true if the expression is null or {@link #isAlwaysFalse()}. */ public static boolean isAlwaysTrue(final Expression test) { return test == null || test.isAlwaysTrue(); } }
⏎ jdk/nashorn/internal/ir/Expression.java
Or download all of them as a single archive file:
File name: jdk.scripting.nashorn-11.0.1-src.zip File size: 1390965 bytes Release date: 2018-11-04 Download
⇒ JDK 11 jdk.scripting.nashorn.shell.jmod - Scripting Nashorn Shell Module
2020-04-25, 82853👍, 0💬
Popular Posts:
JDK 11 jdk.internal.vm.compiler .jmodis the JMOD file for JDK 11 Internal VM Compiler module. JDK 11...
What Is ojdbc8.jar for Oracle 12c R2? ojdbc8.jar for Oracle 12c R2 is the JAR files of ojdbc.jar, JD...
What is the jaxp\SourceValidator.jav aprovided in the Apache Xerces package? I have Apache Xerces 2....
What is jxl.jar 2.6.12? jxl.jar 2.6.12 is the JAR file for Java Excel API 2.6.12, which is a Java li...
How to run "javac" command from JDK tools.jar file? "javac" is the Java compiler command that allows...