Skip to content

Commit

Permalink
Issue #9463: update example of AST for TokenTypes.LITERAL_BOOLEAN
Browse files Browse the repository at this point in the history
  • Loading branch information
Venkatesh-24 authored and romani committed Nov 27, 2021
1 parent 66b7b00 commit 3895bde
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
Expand Up @@ -1536,6 +1536,21 @@ public final class TokenTypes {
/**
* The {@code boolean} keyword.
*
* <p>For example:</p>
* <pre>
* public boolean flag;
* </pre>
* <p>parses as:</p>
* <pre>
* VARIABLE_DEF -&gt; VARIABLE_DEF
* |--MODIFIERS -&gt; MODIFIERS
* | `--LITERAL_PUBLIC -&gt; public
* |--TYPE -&gt; TYPE
* | `--LITERAL_BOOLEAN -&gt; boolean
* |--IDENT -&gt; flag
* `--SEMI -&gt; ;
* </pre>
*
* @see #TYPE
**/
public static final int LITERAL_BOOLEAN =
Expand Down

0 comments on commit 3895bde

Please sign in to comment.