Package | Description |
---|---|
jdk.nashorn.api.tree |
Nashorn parser API provides interfaces to represent ECMAScript source code
as abstract syntax trees (AST) and Parser to parse ECMAScript source scripts.
|
Modifier and Type | Method | Description |
---|---|---|
PropertyTree |
ClassDeclarationTree.getConstructor() |
Get the constructor method definition.
|
PropertyTree |
ClassExpressionTree.getConstructor() |
Get the constructor method definition.
|
Modifier and Type | Method | Description |
---|---|---|
List<? extends PropertyTree> |
ClassDeclarationTree.getClassElements() |
Get other property definitions except for the constructor.
|
List<? extends PropertyTree> |
ClassExpressionTree.getClassElements() |
Get other property definitions except for the constructor.
|
List<? extends PropertyTree> |
ObjectLiteralTree.getProperties() |
Returns the list of properties of this object literal.
|
Modifier and Type | Method | Description |
---|---|---|
R |
SimpleTreeVisitorES5_1.visitProperty(PropertyTree node,
P r) |
|
R |
TreeVisitor.visitProperty(PropertyTree node,
P p) |
Visit a property of an object literal expression tree.
|
Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 2014, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-Ubuntu+0-9b159-1ubuntu1