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 and Description |
---|---|
BlockTree |
CatchTree.getBlock()
Returns the code block of this catch block.
|
BlockTree |
TryTree.getBlock()
Returns the 'try' block of this 'try' statement.
|
BlockTree |
FunctionDeclarationTree.getBody()
Returns the body of code of this function.
|
BlockTree |
FunctionExpressionTree.getBody()
Returns the body of code of this function.
|
BlockTree |
TryTree.getFinallyBlock()
Returns the 'finally' block associated with this 'try'.
|
Modifier and Type | Method and Description |
---|---|
R |
SimpleTreeVisitorES5_1.visitBlock(BlockTree node,
P r) |
R |
TreeVisitor.visitBlock(BlockTree node,
P p)
Visit block statement tree.
|
Copyright © 2014, 2016, Oracle and/or its affiliates. All rights reserved.
DRAFT 9-internal+0-2016-04-22-203349.buildd.src