Package io.github.treesitter.jtreesitter
Interface QueryPredicateArg
- All Known Implementing Classes:
QueryPredicateArg.Capture
,QueryPredicateArg.Literal
@NullMarked
public sealed interface QueryPredicateArg
permits QueryPredicateArg.Capture, QueryPredicateArg.Literal
An argument to a
QueryPredicate
.-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final record
A capture argument (@value
).static final record
A literal string argument ("value"
). -
Method Summary
-
Method Details
-
value
String value()The value of the argument.
-