Package: org.codehaus.groovy.macro.matcher.internal

## [Groovy] Class AnyTokenMatch

- org.codehaus.groovy.macro.matcher.internal.AnyTokenMatch

- All Implemented Interfaces and Traits:
    ConstraintPredicate<Token>

      @CompileStatic
      class AnyTokenMatch
      extends Object
      implements ConstraintPredicate<Token>

  Token predicate that accepts every token.

  Since:
    2.5.0

- - ### Field Summary

    Fields
    Modifiers | Name | Description
    --- | --- | ---
    `static AnyTokenMatch` | `INSTANCE` | Shared instance.

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `boolean` | `apply(Token a)` Always matches.

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class Object` | `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### public static final AnyTokenMatch INSTANCE

      Shared instance.

  - ### Method Detail

    - #### @Override
      boolean apply(Token a)

      Always matches.

      Parameters:
        `a` - the token to test
      Returns:
        `true`