java.lang.Object
com.strobel.decompiler.patterns.Role<JavaTokenNode>
com.strobel.decompiler.languages.java.ast.TokenRole

public final class TokenRole extends Role<JavaTokenNode>
  • Field Details

    • FLAG_KEYWORD

      public static final byte FLAG_KEYWORD
      See Also:
    • FLAG_OPERATOR

      public static final byte FLAG_OPERATOR
      See Also:
    • FLAG_DELIMITER

      public static final byte FLAG_DELIMITER
      See Also:
    • _token

      private final String _token
    • _length

      private final int _length
    • _flags

      private final byte _flags
  • Constructor Details

    • TokenRole

      public TokenRole(String token)
    • TokenRole

      public TokenRole(String token, int flags)
  • Method Details

    • getToken

      public final String getToken()
    • getLength

      public final int getLength()
    • isKeyword

      public final boolean isKeyword()
    • isOperator

      public final boolean isOperator()
    • isDelimiter

      public final boolean isDelimiter()