Package: org.codehaus.groovy.macro.matcher

## [Groovy] Class MatchingConstraints

- org.codehaus.groovy.macro.matcher.MatchingConstraints

-     @CompileStatic
      @Immutable(knownImmutableClasses=[ConstraintPredicate])
      class MatchingConstraints
      extends Object

  Represents constraints in AST pattern matching.

  Since:
    2.5.0

- - ### Field Summary

    Fields
    Modifiers | Name | Description
    --- | --- | ---
    `static ConstraintPredicate<Token>` | `ANY_TOKEN` | Predicate that matches any token.

  - ### Properties Summary

    Properties
    Type | Name and description
    --- | ---
    `ConstraintPredicate<TreeContext>` | `eventually`
    `Set<String>` | `placeholders`
    `ConstraintPredicate<Token>` | `tokenPredicate`
    `Set<String>` | `varargPlaceholders` Since: 5.0.0

  - ### Constructor Summary

    Constructors
    Constructor and description
    `MatchingConstraints()`

  - ### 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 ConstraintPredicate<Token> ANY_TOKEN

      Predicate that matches any token.

  - ### Property Detail

    - #### final ConstraintPredicate<TreeContext> eventually

    - #### final Set<String> placeholders

    - #### final ConstraintPredicate<Token> tokenPredicate

    - #### final Set<String> varargPlaceholders

      Since:
        5.0.0

  - ### Constructor Detail

    - #### MatchingConstraints()