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/WithNode.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.ir.annotations.Immutable; import jdk.nashorn.internal.ir.visitor.NodeVisitor; /** * IR representation for {@code with} statements. */ @Immutable public final class WithNode extends LexicalContextStatement { private static final long serialVersionUID = 1L; /** This expression. */ private final Expression expression; /** Statements. */ private final Block body; /** * Constructor * * @param lineNumber Line number of the header * @param token First token * @param finish Character index of the last token * @param expression With expression * @param body Body of with node */ public WithNode(final int lineNumber, final long token, final int finish, final Expression expression, final Block body) { super(lineNumber, token, finish); this.expression = expression; this.body = body; } private WithNode(final WithNode node, final Expression expression, final Block body) { super(node); this.expression = expression; this.body = body; } /** * Assist in IR navigation. * * @param visitor IR navigating visitor. */ @Override public Node accept(final LexicalContext lc, final NodeVisitor<? extends LexicalContext> visitor) { if (visitor.enterWithNode(this)) { return visitor.leaveWithNode( setExpression(lc, (Expression)expression.accept(visitor)). setBody(lc, (Block)body.accept(visitor))); } return this; } @Override public boolean isTerminal() { return body.isTerminal(); } @Override public void toString(final StringBuilder sb, final boolean printType) { sb.append("with ("); expression.toString(sb, printType); sb.append(')'); } /** * Get the body of this WithNode * @return the body */ public Block getBody() { return body; } /** * Reset the body of this with node * @param lc lexical context * @param body new body * @return new or same withnode */ public WithNode setBody(final LexicalContext lc, final Block body) { if (this.body == body) { return this; } return Node.replaceInLexicalContext(lc, this, new WithNode(this, expression, body)); } /** * Get the expression of this WithNode * @return the expression */ public Expression getExpression() { return expression; } /** * Reset the expression of this with node * @param lc lexical context * @param expression new expression * @return new or same withnode */ public WithNode setExpression(final LexicalContext lc, final Expression expression) { if (this.expression == expression) { return this; } return Node.replaceInLexicalContext(lc, this, new WithNode(this, expression, body)); } }
⏎ jdk/nashorn/internal/ir/WithNode.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, 83690👍, 0💬
Popular Posts:
What Is poi-contrib-3.5.jar? poi-contrib-3.5.jar is one of the JAR files for Apache POI 3.5, which p...
What Is js.jar in Rhino JavaScript 1.7R5? js.jar in Rhino JavaScript 1.7R5 is the JAR file for Rhino...
What is the sax\Writer.java provided in the Apache Xerces package? I have Apache Xerces 2.11.0 insta...
ASM is an all purpose Java bytecode manipulation and analysis framework. It can be used to modify ex...
ANTLR is a powerful parser generator for multiple programming languages including Java. ANTLR contai...