Home | History | Annotate | Download | only in compiler

Lines Matching refs:Expression

34 import org.apache.xpath.Expression;
67 * An instance of this class compiles an XPath string expression into
68 * a Expression object. This class compiles the string into a sequence
69 * of operation codes (op map) and then builds from that into an Expression
78 * SourceLocator where the expression is located.
82 * @param locator The location object where the expression lives, which
114 public Expression compile(int opPos) throws TransformerException
119 Expression expr = null;
209 private Expression compileOperation(Operation operation, int opPos)
231 private Expression compileUnary(UnaryOperation unary, int opPos)
249 * @throws TransformerException if a error occurs creating the Expression.
251 protected Expression or(int opPos) throws TransformerException
263 * @throws TransformerException if a error occurs creating the Expression.
265 protected Expression and(int opPos) throws TransformerException
277 * @throws TransformerException if a error occurs creating the Expression.
279 protected Expression notequals(int opPos) throws TransformerException
291 * @throws TransformerException if a error occurs creating the Expression.
293 protected Expression equals(int opPos) throws TransformerException
305 * @throws TransformerException if a error occurs creating the Expression.
307 protected Expression lte(int opPos) throws TransformerException
319 * @throws TransformerException if a error occurs creating the Expression.
321 protected Expression lt(int opPos) throws TransformerException
333 * @throws TransformerException if a error occurs creating the Expression.
335 protected Expression gte(int opPos) throws TransformerException
347 * @throws TransformerException if a error occurs creating the Expression.
349 protected Expression gt(int opPos) throws TransformerException
361 * @throws TransformerException if a error occurs creating the Expression.
363 protected Expression plus(int opPos) throws TransformerException
375 * @throws TransformerException if a error occurs creating the Expression.
377 protected Expression minus(int opPos) throws TransformerException
389 * @throws TransformerException if a error occurs creating the Expression.
391 protected Expression mult(int opPos) throws TransformerException
403 * @throws TransformerException if a error occurs creating the Expression.
405 protected Expression div(int opPos) throws TransformerException
417 * @throws TransformerException if a error occurs creating the Expression.
419 protected Expression mod(int opPos) throws TransformerException
431 * @throws TransformerException if a error occurs creating the Expression.
433 // protected Expression quo(int opPos) throws TransformerException
445 * @throws TransformerException if a error occurs creating the Expression.
447 protected Expression neg(int opPos) throws TransformerException
459 * @throws TransformerException if a error occurs creating the Expression.
461 protected Expression string(int opPos) throws TransformerException
473 * @throws TransformerException if a error occurs creating the Expression.
475 protected Expression bool(int opPos) throws TransformerException
487 * @throws TransformerException if a error occurs creating the Expression.
489 protected Expression number(int opPos) throws TransformerException
501 * @throws TransformerException if a error occurs creating the Expression.
503 protected Expression literal(int opPos)
518 * @throws TransformerException if a error occurs creating the Expression.
520 protected Expression numberlit(int opPos)
535 * @throws TransformerException if a error occurs creating the Expression.
537 protected Expression variable(int opPos) throws TransformerException
558 * Compile an expression group.
562 * @return reference to the contained expression.
564 * @throws TransformerException if a error occurs creating the Expression.
566 protected Expression group(int opPos) throws TransformerException
578 * @return reference to the argument expression.
580 * @throws TransformerException if a error occurs creating the Expression.
582 protected Expression arg(int opPos) throws TransformerException
597 * @throws TransformerException if a error occurs creating the Expression.
599 protected Expression union(int opPos) throws TransformerException
639 * @throws TransformerException if a error occurs creating the Expression.
641 public Expression locationPath(int opPos) throws TransformerException
647 return (Expression)iter; // cast OK, I guess.
656 * Compile a location step predicate expression.
660 * @return the contained predicate expression.
662 * @throws TransformerException if a error occurs creating the Expression.
664 public Expression predicate(int opPos) throws TransformerException
670 * Compile an entire match pattern expression.
676 * @throws TransformerException if a error occurs creating the Expression.
678 protected Expression matchPattern(int opPos) throws TransformerException
716 * Compile a location match pattern unit expression.
722 * @throws TransformerException if a error occurs creating the Expression.
724 public Expression locationPathPattern(int opPos)
810 * Compile a step pattern unit expression, used for both location paths
819 * @throws TransformerException if a error occurs creating the Expression.
943 * @return reference to array of {@link org.apache.xpath.Expression} instances.
945 * @throws TransformerException if a error occurs creating the Expression.
947 public Expression[] getCompiledPredicates(int opPos)
955 Expression[] predicates = new Expression[count];
972 * @throws TransformerException if a error occurs creating the Expression.
994 * {@link org.apache.xpath.Expression}s, that will be filled in.
998 private void compilePredicates(int opPos, Expression[] predicates)
1016 * @throws TransformerException if a error occurs creating the Expression.
1018 Expression compileFunction(int opPos) throws TransformerException
1098 * @throws TransformerException if a error occurs creating the Expression.
1100 private Expression compileExtension(int opPos)
1250 * @param pr The resolver for prefixes in the XPath expression.
1261 /** The source locator for the expression being compiled. May be null. */