mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 03:24:38 +02:00
7115046: Add AST node for lambda expressions
Add tree nodes for representing lambda expressions and update relevant visitors interfaces Reviewed-by: jjg
This commit is contained in:
parent
469f89911f
commit
41a3a6c5d3
11 changed files with 165 additions and 0 deletions
|
@ -186,6 +186,11 @@ public interface Tree {
|
|||
*/
|
||||
NEW_CLASS(NewClassTree.class),
|
||||
|
||||
/**
|
||||
* Used for instances of {@link LambdaExpressionTree}.
|
||||
*/
|
||||
LAMBDA_EXPRESSION(LambdaExpressionTree.class),
|
||||
|
||||
/**
|
||||
* Used for instances of {@link ParenthesizedTree}.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue