Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (102)
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 (322)
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/JoinPredecessorExpression.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.ir.visitor.NodeVisitor;
/**
* A wrapper for an expression that is in a position to be a join predecessor.
*/
public class JoinPredecessorExpression extends Expression implements JoinPredecessor {
private static final long serialVersionUID = 1L;
private final Expression expression;
private final LocalVariableConversion conversion;
/**
* A no-arg constructor does not wrap any expression on its own, but can be used as a place to contain a local
* variable conversion in a place where an expression can otherwise stand.
*/
public JoinPredecessorExpression() {
this(null);
}
/**
* A constructor for wrapping an expression and making it a join predecessor. Typically used on true and false
* subexpressions of the ternary node as well as on the operands of short-circuiting logical expressions {@code &&}
* and {@code ||}.
* @param expression the expression to wrap
*/
public JoinPredecessorExpression(final Expression expression) {
this(expression, null);
}
private JoinPredecessorExpression(final Expression expression, final LocalVariableConversion conversion) {
super(expression == null ? 0L : expression.getToken(), expression == null ? 0 : expression.getStart(), expression == null ? 0 : expression.getFinish());
this.expression = expression;
this.conversion = conversion;
}
@Override
public JoinPredecessor setLocalVariableConversion(final LexicalContext lc, final LocalVariableConversion conversion) {
if(conversion == this.conversion) {
return this;
}
return new JoinPredecessorExpression(expression, conversion);
}
@Override
public Type getType() {
return expression.getType();
}
@Override
public boolean isAlwaysFalse() {
return expression != null && expression.isAlwaysFalse();
}
@Override
public boolean isAlwaysTrue() {
return expression != null && expression.isAlwaysTrue();
}
/**
* Returns the underlying expression.
* @return the underlying expression.
*/
public Expression getExpression() {
return expression;
}
/**
* Sets the underlying expression.
* @param expression the new underlying expression
* @return this or modified join predecessor expression object.
*/
public JoinPredecessorExpression setExpression(final Expression expression) {
if(expression == this.expression) {
return this;
}
return new JoinPredecessorExpression(expression, conversion);
}
@Override
public LocalVariableConversion getLocalVariableConversion() {
return conversion;
}
@Override
public Node accept(final NodeVisitor<? extends LexicalContext> visitor) {
if(visitor.enterJoinPredecessorExpression(this)) {
final Expression expr = getExpression();
return visitor.leaveJoinPredecessorExpression(expr == null ? this : setExpression((Expression)expr.accept(visitor)));
}
return this;
}
@Override
public void toString(final StringBuilder sb, final boolean printType) {
if(expression != null) {
expression.toString(sb, printType);
}
if(conversion != null) {
conversion.toString(sb);
}
}
}
⏎ jdk/nashorn/internal/ir/JoinPredecessorExpression.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, ≈225🔥, 0💬
Popular Posts:
JDK 17 jdk.jdeps.jmod is the JMOD file for JDK 17 JDeps tool, which can be invoked by the "jdeps" co...
commons-io-2.6-sources.j aris the source JAR file for Apache Commons IO 2.6, which is a library of u...
Jackson is "the Java JSON library" or "the best JSON parser for Java". Or simply as "JSON for Java"....
maven-core-3.5.4.jar is the JAR file for Apache Maven 3.5.4 Core module. Apache Maven is a software ...
How to read XML document with XML Schema validation from socket connections with the socket\DelayedI...