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/ClassNode.java
/* * Copyright (c) 2015, 2016, 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.Collections; import java.util.List; import jdk.nashorn.internal.codegen.types.Type; import jdk.nashorn.internal.ir.visitor.NodeVisitor; /** * IR representation for class definitions. */ public class ClassNode extends Expression { private static final long serialVersionUID = 1L; private final IdentNode ident; private final Expression classHeritage; private final PropertyNode constructor; private final List<PropertyNode> classElements; private final int line; private final boolean isStatement; /** * Constructor. * * @param line line number * @param token token * @param finish finish * @param ident ident * @param classHeritage class heritage * @param constructor constructor * @param classElements class elements * @param isStatement is this a statement or an expression? */ public ClassNode(final int line, final long token, final int finish, final IdentNode ident, final Expression classHeritage, final PropertyNode constructor, final List<PropertyNode> classElements, final boolean isStatement) { super(token, finish); this.line = line; this.ident = ident; this.classHeritage = classHeritage; this.constructor = constructor; this.classElements = classElements; this.isStatement = isStatement; } /** * Class identifier. Optional. * * @return the class identifier */ public IdentNode getIdent() { return ident; } /** * The expression of the {@code extends} clause. Optional. * * @return the class heritage */ public Expression getClassHeritage() { return classHeritage; } /** * Get the constructor method definition. * * @return the constructor */ public PropertyNode getConstructor() { return constructor; } /** * Get method definitions except the constructor. * * @return the class elements */ public List<PropertyNode> getClassElements() { return Collections.unmodifiableList(classElements); } /** * Returns if this class was a statement or an expression * * @return true if this class was a statement */ public boolean isStatement() { return isStatement; } /** * Returns the line number. * * @return the line number */ public int getLineNumber() { return line; } @Override public Type getType() { return Type.OBJECT; } @Override public Node accept(final NodeVisitor<? extends LexicalContext> visitor) { if (visitor.enterClassNode(this)) { return visitor.leaveClassNode(this); } return this; } @Override public void toString(final StringBuilder sb, final boolean printType) { sb.append("class"); if (ident != null) { sb.append(' '); ident.toString(sb, printType); } if (classHeritage != null) { sb.append(" extends"); classHeritage.toString(sb, printType); } sb.append(" {"); if (constructor != null) { constructor.toString(sb, printType); } for (final PropertyNode classElement : classElements) { sb.append(" "); classElement.toString(sb, printType); } sb.append("}"); } }
⏎ jdk/nashorn/internal/ir/ClassNode.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, 83830👍, 0💬
Popular Posts:
iText is an ideal library for developers looking to enhance web- and other applications with dynamic...
Apache Log4j provides the interface that applications should code to and provides the adapter compon...
ASM is an all purpose Java bytecode manipulation and analysis framework. It can be used to modify ex...
Apache Axis2 is the core engine for Web services. It is a complete re-design and re-write of the wid...
The Apache FontBox library is an open source Java tool to obtain low level information from font fil...