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/JumpStatement.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.Label; /** * Common base class for jump statements (e.g. {@code break} and {@code continue}). */ public abstract class JumpStatement extends Statement implements JoinPredecessor { private static final long serialVersionUID = 1L; private final String labelName; private final LocalVariableConversion conversion; /** * Constructor * * @param lineNumber line number * @param token token * @param finish finish * @param labelName label name for break or null if none */ protected JumpStatement(final int lineNumber, final long token, final int finish, final String labelName) { super(lineNumber, token, finish); this.labelName = labelName; this.conversion = null; } /** * Copy constructor. * @param jumpStatement the original jump statement. * @param conversion a new local variable conversion. */ protected JumpStatement(final JumpStatement jumpStatement, final LocalVariableConversion conversion) { super(jumpStatement); this.labelName = jumpStatement.labelName; this.conversion = conversion; } @Override public boolean hasGoto() { return true; } /** * Get the label name for this break node * @return label name, or null if none */ public String getLabelName() { return labelName; } @Override public void toString(final StringBuilder sb, final boolean printType) { sb.append(getStatementName()); if (labelName != null) { sb.append(' ').append(labelName); } } abstract String getStatementName(); /** * Finds the target for this jump statement in a lexical context. * @param lc the lexical context * @return the target, or null if not found */ public abstract BreakableNode getTarget(final LexicalContext lc); /** * Returns the label corresponding to this kind of jump statement (either a break or continue label) in the target. * @param target the target. Note that it need not be the target of this jump statement, as the method can retrieve * a label on any passed target as long as the target has a label of the requisite kind. Of course, it is advisable * to invoke the method on a jump statement that targets the breakable. * @return the label of the target corresponding to the kind of jump statement. * @throws ClassCastException if invoked on the kind of breakable node that this jump statement is not prepared to * handle. */ abstract Label getTargetLabel(final BreakableNode target); /** * Returns the label this jump statement targets. * @param lc the lexical context * @return the label this jump statement targets. */ public Label getTargetLabel(final LexicalContext lc) { return getTargetLabel(getTarget(lc)); } /** * Returns the limit node for popping scopes when this jump statement is effected. * @param lc the current lexical context * @return the limit node for popping scopes when this jump statement is effected. */ public LexicalContextNode getPopScopeLimit(final LexicalContext lc) { // In most cases (break and continue) this is equal to the target. return getTarget(lc); } @Override public JumpStatement setLocalVariableConversion(final LexicalContext lc, final LocalVariableConversion conversion) { if(this.conversion == conversion) { return this; } return createNewJumpStatement(conversion); } abstract JumpStatement createNewJumpStatement(LocalVariableConversion newConversion); @Override public LocalVariableConversion getLocalVariableConversion() { return conversion; } }
⏎ jdk/nashorn/internal/ir/JumpStatement.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, 107274👍, 0💬
Popular Posts:
Xalan-Java, Version 2.7.1, is an XSLT processor for transforming XML documents into HTML, text, or o...
How to read XML document with XML Schema validation from socket connections with the socket\DelayedI...
JDK 6 tools.jar is the JAR file for JDK 6 tools. It contains Java classes to support different JDK t...
Guava is a suite of core and expanded libraries that include utility classes, google's collections, ...
JDK 11 java.sql.jmod is the JMOD file for JDK 11 SQL (Structured Query Language) module. JDK 11 SQL ...