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/BlockStatement.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 java.util.List; import jdk.nashorn.internal.ir.visitor.NodeVisitor; /** * Represents a block used as a statement. */ public class BlockStatement extends Statement { private static final long serialVersionUID = 1L; /** Block to execute. */ private final Block block; /** * Constructor * * @param block the block to execute */ public BlockStatement(final Block block) { this(block.getFirstStatementLineNumber(), block); } /** * Constructor * * @param lineNumber line number * @param block the block to execute */ public BlockStatement(final int lineNumber, final Block block) { super(lineNumber, block.getToken(), block.getFinish()); this.block = block; } private BlockStatement(final BlockStatement blockStatement, final Block block) { super(blockStatement); this.block = block; } /** * Use this method to create a block statement meant to replace a single statement. * @param stmt the statement to replace * @param newStmts the statements for the new block statement * @return a block statement with the new statements. It will have the line number, token, and finish of the * original statement. */ public static BlockStatement createReplacement(final Statement stmt, final List<Statement> newStmts) { return createReplacement(stmt, stmt.getFinish(), newStmts); } /** * Use this method to create a block statement meant to replace a single statement. * @param stmt the statement to replace * @param finish the new finish for the block * @param newStmts the statements for the new block statement * @return a block statement with the new statements. It will have the line number, and token of the * original statement. */ public static BlockStatement createReplacement(final Statement stmt, final int finish, final List<Statement> newStmts) { return new BlockStatement(stmt.getLineNumber(), new Block(stmt.getToken(), finish, newStmts)); } @Override public boolean isTerminal() { return block.isTerminal(); } /** * Tells if this is a synthetic block statement or not. * * @return true if this is a synthetic statement */ public boolean isSynthetic() { return block.isSynthetic(); } @Override public Node accept(final NodeVisitor<? extends LexicalContext> visitor) { if (visitor.enterBlockStatement(this)) { return visitor.leaveBlockStatement(setBlock((Block)block.accept(visitor))); } return this; } @Override public void toString(final StringBuilder sb, final boolean printType) { block.toString(sb, printType); } /** * Return the block to be executed * @return the block */ public Block getBlock() { return block; } /** * Reset the block to be executed * @param block the block * @return new or same execute node */ public BlockStatement setBlock(final Block block) { if (this.block == block) { return this; } return new BlockStatement(this, block); } }
⏎ jdk/nashorn/internal/ir/BlockStatement.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, 83646👍, 0💬
Popular Posts:
What Is commons-collections4-4.4 .jar?commons-collections4-4.4 .jaris the JAR file for Apache Common...
What Is activation.jar? I heard it's related to JAF (JavaBeans Activation Framework) 1.1? The if you...
What Is jaxb-api-2.1.6.jar? Java Architecture for XML Binding (JAXB) is a Java API that allows Java ...
What Is mail.jar of JavaMail 1.4.2? I got the JAR file from javamail-1.4.2.zip. mail.jar in javamail...
What Is jaxb-api-2.1.6.jar? Java Architecture for XML Binding (JAXB) is a Java API that allows Java ...