Lines Matching refs:context
13 * A tree structure used to record the semantic context in which
69 * For context independent predicates, we evaluate them without a local
70 * context (i.e., null context). That way, we can evaluate them without
71 * having to create proper rule-specific context during prediction (as
75 * For context dependent predicates, we must pass in a local context so that
77 * capture context dependent predicates in the context in which we begin
78 * prediction, so we passed in the outer context here in case of context
84 * Evaluate the precedence predicates for the context and reduce the result.
88 * @return self|null The simplified semantic context after precedence predicates
95 * - `this`: if the semantic context is not changed
98 * semantic context after precedence predicates are evaluated.
111 foreach ($set->getValues() as $context) {
112 if ($context instanceof PrecedencePredicate) {
113 $result[] = $context;