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 |
---|---|---|
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 |
TryTree.getFinallyBlock() |
Returns the 'finally' block associated with this 'try'.
|
Modifier and Type | Method | 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-Ubuntu+0-9b139-1