Skip to content

Commit bb69e10

Browse files
AbhinavRajputEXEromani
authored andcommitted
Issue #9412: updated example of AST for TokenTypes.CTOR_CALL
1 parent b0dbb10 commit bb69e10

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

src/main/java/com/puppycrawl/tools/checkstyle/api/TokenTypes.java

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1441,16 +1441,13 @@ public final class TokenTypes {
14411441
* </pre>
14421442
* <p>parses as:</p>
14431443
* <pre>
1444-
* +--CTOR_CALL (this)
1445-
* |
1446-
* +--LPAREN (()
1447-
* +--ELIST
1448-
* |
1449-
* +--EXPR
1450-
* |
1451-
* +--NUM_INT (1)
1452-
* +--RPAREN ())
1453-
* +--SEMI (;)
1444+
* CTOR_CALL -&gt; this
1445+
* |--LPAREN -&gt; (
1446+
* |--ELIST -&gt; ELIST
1447+
* | `--EXPR -&gt; EXPR
1448+
* | `--NUM_INT -&gt; 1
1449+
* |--RPAREN -&gt; )
1450+
* `--SEMI -&gt; ;
14541451
* </pre>
14551452
*
14561453
* @see #ELIST

0 commit comments

Comments
 (0)