- All Superinterfaces:
StatementTree
,Tree
A tree node for a 'with' statement.
For example:
with ( scope ) statement
- Since:
- 9
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetScope()
The scope object expression for this 'with' statement.The statement contained in this 'with' statement.Methods inherited from interface org.openjdk.nashorn.api.tree.Tree
accept, getEndPosition, getKind, getStartPosition
-
Method Details
-
getScope
ExpressionTree getScope()The scope object expression for this 'with' statement.- Returns:
- the scope object
-
getStatement
StatementTree getStatement()The statement contained in this 'with' statement.- Returns:
- the statement contained
-