Skip to content

Commit

Permalink
Issue #9412: updated example of AST for TokenTypes.CTOR_CALL
Browse files Browse the repository at this point in the history
  • Loading branch information
AbhinavRajputEXE authored and romani committed Nov 27, 2021
1 parent b0dbb10 commit bb69e10
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions src/main/java/com/puppycrawl/tools/checkstyle/api/TokenTypes.java
Original file line number Diff line number Diff line change
Expand Up @@ -1441,16 +1441,13 @@ public final class TokenTypes {
* </pre>
* <p>parses as:</p>
* <pre>
* +--CTOR_CALL (this)
* |
* +--LPAREN (()
* +--ELIST
* |
* +--EXPR
* |
* +--NUM_INT (1)
* +--RPAREN ())
* +--SEMI (;)
* CTOR_CALL -&gt; this
* |--LPAREN -&gt; (
* |--ELIST -&gt; ELIST
* | `--EXPR -&gt; EXPR
* | `--NUM_INT -&gt; 1
* |--RPAREN -&gt; )
* `--SEMI -&gt; ;
* </pre>
*
* @see #ELIST
Expand Down

0 comments on commit bb69e10

Please sign in to comment.