Class: FilterExpressionLiteral
jsonpath.expressions.FilterExpressionLiteral
Base class for JSONPath ValueType literals.
Hierarchy
-
↳
FilterExpressionLiteral
↳↳
NullLiteral
Constructors
constructor
• new FilterExpressionLiteral(token
): FilterExpressionLiteral
Parameters
Name | Type |
---|---|
token | Token |
Returns
Inherited from
Defined in
Properties
token
• Readonly
token: Token
Inherited from
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
Inherited from
Defined in
toString
▸ toString(): string
Return a string representation of the expression.
Returns
string