|
|
|
@ -15,6 +15,7 @@
|
|
|
|
|
package com.jayway.jsonpath.internal; |
|
|
|
|
|
|
|
|
|
import com.jayway.jsonpath.Configuration; |
|
|
|
|
import com.jayway.jsonpath.internal.token.TokenStack; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* |
|
|
|
@ -43,6 +44,12 @@ public interface Path {
|
|
|
|
|
*/ |
|
|
|
|
EvaluationContext evaluate(Object document, Object rootDocument, Configuration configuration, boolean forUpdate); |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* checks the parser state represented by stack and determines if this |
|
|
|
|
* path matches it |
|
|
|
|
*/ |
|
|
|
|
boolean checkForMatch(TokenStack stack); |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* |
|
|
|
|
* @return true id this path is definite |
|
|
|
|