[Groovy] Class MatchingConstraintsBuilder
- org.codehaus.groovy.macro.matcher.internal.MatchingConstraintsBuilder
Properties Summary
Type | Name and description |
---|---|
ConstraintPredicate<TreeContext> |
eventually |
Set<String> |
placeholders |
ConstraintPredicate<Token> |
tokenPredicate |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
MatchingConstraintsBuilder |
anyToken() | |
MatchingConstraints |
build(Closure spec) | |
MatchingConstraintsBuilder |
eventually(Closure<Boolean> predicate) | |
MatchingConstraintsBuilder |
placeholder(String... names) | |
def |
propertyMissing(String name) | |
MatchingConstraintsBuilder |
token(Closure<Boolean> predicate) |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class Object | wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Property Detail
ConstraintPredicate<TreeContext> eventually
Set<String> placeholders
ConstraintPredicate<Token> tokenPredicate
Method Detail
MatchingConstraintsBuilder anyToken()
MatchingConstraints build(@DelegatesTo(value=MatchingConstraintsBuilder, strategy=Closure.DELEGATE_ONLY) Closure spec)
MatchingConstraintsBuilder eventually(@DelegatesTo(value=TreeContext, strategy = Closure.DELEGATE_FIRST) Closure<Boolean> predicate)
MatchingConstraintsBuilder placeholder(String... names)
def propertyMissing(String name)
MatchingConstraintsBuilder token(@DelegatesTo(value=Token, strategy = Closure.DELEGATE_FIRST) Closure<Boolean> predicate)
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/2.5.14/html/gapi/org/codehaus/groovy/macro/matcher/internal/MatchingConstraintsBuilder.html