[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
Modifiers | Name | Description |
---|---|---|
static ConstraintPredicate<Token> | ANY_TOKEN |
Properties Summary
Type | Name and description |
---|---|
ConstraintPredicate<TreeContext> |
eventually |
Set<String> |
placeholders |
ConstraintPredicate<Token> |
tokenPredicate |
Constructor Summary
Constructor and description |
---|
MatchingConstraints
() |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class Object | wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Field Detail
public static final ConstraintPredicate<Token> ANY_TOKEN
Property Detail
final ConstraintPredicate<TreeContext> eventually
final Set<String> placeholders
final ConstraintPredicate<Token> tokenPredicate
Constructor Detail
MatchingConstraints()
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/org/codehaus/groovy/macro/matcher/MatchingConstraints.html