Class QueryPredicate
java.lang.Object
io.github.treesitter.jtreesitter.QueryPredicate
- Direct Known Subclasses:
 QueryPredicate.AnyOf, QueryPredicate.Eq, QueryPredicate.Match
@NullMarked
public sealed class QueryPredicate
extends Object
permits QueryPredicate.AnyOf, QueryPredicate.Eq, QueryPredicate.Match
A query predicate that associates conditions (or arbitrary metadata) with a pattern.
- See Also:
 
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHandles the following predicates:
#any-of?,#not-any-of?static final classHandles the following predicates:
#eq?,#not-eq?,#any-eq?,#any-not-eq?static final classHandles the following predicates:
#match?,#not-match?,#any-match?,#any-not-match? - 
Method Summary
 
- 
Method Details
- 
getName
Get the name of the predicate. - 
getArgs
Get the arguments given to the predicate. - 
toString
 
 -