Class: FilterExpression
jsonpath.expressions.FilterExpression
Base class for all filter expressions.
Hierarchy
-
FilterExpression
Constructors
constructor
• new FilterExpression(token
): FilterExpression
Parameters
Name | Type |
---|---|
token | Token |
Returns
Defined in
Properties
token
• Readonly
token: Token
Defined in
Methods
evaluate
▸ evaluate(context
): unknown
Evaluate the filter expression in the given context.
Parameters
Name | Type | Description |
---|---|---|
context | FilterContext | Evaluation context. |
Returns
unknown
Defined in
toString
▸ toString(): string
Return a string representation of the expression.
Returns
string