Searched defs:predicates (Results 1 - 6 of 6) sorted by relevance

/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/compiler/
H A DFilterExpr.java60 * Array of predicates in '(e)[p1]...[pn]'.
64 public FilterExpr(Expression primary, Vector predicates) { argument
66 _predicates = predicates;
99 * predicates.
114 // Type check predicates and turn all optimizations off if appropriate
147 * Translate a sequence of predicates. Each predicate is translated
158 // If not predicates left, translate primary expression
166 // Translate the rest of the predicates from right to left
208 // Translate predicates from right to left
H A DStep.java63 * A vector of predicates (filters) defined on this step - may be null
68 * Some simple predicates can be handled by this class (and not by the
70 * handled. We use this boolean to remember if we did have any predicates.
79 public Step(int axis, int nodeType, Vector predicates) { argument
82 _predicates = predicates;
86 * Set the parser for this element and all child predicates
122 * Returns the vector containing all predicates for this step.
129 * Returns the vector containing all predicates for this step.
131 public void addPredicates(Vector predicates) { argument
133 _predicates = predicates;
[all...]
H A DStepPattern.java81 public StepPattern(int axis, int nodeType, Vector predicates) { argument
84 _predicates = predicates;
115 public StepPattern setPredicates(Vector predicates) { argument
116 _predicates = predicates;
193 // Type check all the predicates (e -> position() = e)
296 // Compile the expressions within the predicates
H A DXPathParser.java927 * set to -0.25 (when no other predicates are present).
929 public StepPattern createStepPattern(int axis, Object test, Vector predicates) { argument
936 return new StepPattern(axis, nodeType, predicates);
941 return new StepPattern(axis, nodeType, predicates);
959 if (predicates == null) {
960 predicates = new Vector(2);
963 // Priority is set by hand if no other predicates exist
964 setPriority = (predicates.size() == 0);
966 predicates.add(
986 final StepPattern result = new StepPattern(axis, nodeType, predicates);
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xpath/internal/patterns/
H A DStepPattern.java209 // * @param predicates List of expression objects.
211 // public void setPredicates(Expression[] predicates)
213 // m_predicates = predicates;
235 * NOTE: Ancestors tests with predicates are problematic, and will require
268 * Get the number of predicates for this match pattern step.
271 * @return the number of predicates for this match pattern step.
279 * Set the predicates for this match pattern step.
282 * @param predicates An array of expressions that define predicates
285 public void setPredicates(Expression[] predicates) argument
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xpath/internal/compiler/
H A DCompiler.java910 // list, from where predicates are counted.
941 * Compile a zero or more predicates for a given match pattern.
957 Expression[] predicates = new Expression[count];
959 compilePredicates(opPos, predicates);
961 return predicates;
968 * Count the number of predicates in the step.
972 * @return The number of predicates for this step.
992 * Compiles predicates in the step.
995 * @param predicates An empty pre-determined array of
1000 private void compilePredicates(int opPos, Expression[] predicates) argument
[all...]

Completed in 60 milliseconds