Skip to content

Commit

Permalink
Issue checkstyle#9579: update example of AST for TokenTypes.SUPER_CTO…
Browse files Browse the repository at this point in the history
…R_CALL
  • Loading branch information
Shubhojeetban authored and romani committed Oct 8, 2021
1 parent ce196be commit b136752
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/main/java/com/puppycrawl/tools/checkstyle/api/TokenTypes.java
Original file line number Diff line number Diff line change
Expand Up @@ -1409,6 +1409,21 @@ public final class TokenTypes {
/**
* A super constructor call.
*
* <p>For example:</p>
* <pre>
* super(1);
* </pre>
* <p>parses as:</p>
* <pre>
* SUPER_CTOR_CALL -&gt; super
* |--LPAREN -&gt; (
* |--ELIST -&gt; ELIST
* | `--EXPR -&gt; EXPR
* | `--NUM_INT -&gt; 1
* |--RPAREN -&gt; )
* `--SEMI -&gt; ;
* </pre>
*
* @see #ELIST
* @see #RPAREN
* @see #SEMI
Expand Down

0 comments on commit b136752

Please sign in to comment.