/** * Get the dependencies of the pattern. The only possible dependency for a pattern is * on local variables. This is analyzed in those patterns where local variables may appear. * * @return the dependencies, as a bit-significant mask */ public int getDependencies() { return p1.getDependencies() | p2.getDependencies(); }
/** * Get the dependencies of the pattern. The only possible dependency for a pattern is * on local variables. This is analyzed in those patterns where local variables may appear. * * @return the dependencies, as a bit-significant mask */ public int getDependencies() { return p1.getDependencies() | p2.getDependencies(); }
/** * Get the dependencies of the pattern. The only possible dependency for a pattern is * on local variables. This is analyzed in those patterns where local variables may appear. * * @return the dependencies, as a bit-significant mask */ public int getDependencies() { return p1.getDependencies() | p2.getDependencies(); }
/** * Ask whether a pattern has dependencies on local variables * @param pattern the pattern (typically a pattern in an xsl:number or xsl:for-each-group); or null * @return true if the pattern is non-null and has dependencies on local variables */ public static boolean patternContainsVariable (Pattern pattern) { return pattern != null && (pattern.getDependencies() & StaticProperty.DEPENDS_ON_LOCAL_VARIABLES) != 0; }
/** * Get the dependencies of the pattern. The only possible dependency for a pattern is * on local variables. This is analyzed in those patterns where local variables may appear. * * @return the dependencies, as a bit-significant mask */ public int getDependencies() { return p1.getDependencies() | p2.getDependencies(); }
/** * Ask whether a pattern has dependencies on local variables * @param pattern the pattern (typically a pattern in an xsl:number or xsl:for-each-group); or null * @return true if the pattern is non-null and has dependencies on local variables */ public static boolean patternContainsVariable (Pattern pattern) { return pattern != null && (pattern.getDependencies() & StaticProperty.DEPENDS_ON_LOCAL_VARIABLES) != 0; }
/** * Get the dependencies of the pattern. The only possible dependency for a pattern is * on local variables. This is analyzed in those patterns where local variables may appear. */ public int getDependencies() { return basePattern.getDependencies() | upperPattern.getDependencies(); }
/** * Get the dependencies of the pattern. The only possible dependency for a pattern is * on local variables. This is analyzed in those patterns where local variables may appear. */ public int getDependencies() { return basePattern.getDependencies() | upperPattern.getDependencies(); }
/** * Determine which aspects of the context the expression depends on. The result is * a bitwise-or'ed value composed from constants such as {@link net.sf.saxon.expr.StaticProperty#DEPENDS_ON_CONTEXT_ITEM} and * {@link net.sf.saxon.expr.StaticProperty#DEPENDS_ON_CURRENT_ITEM}. The default implementation combines the intrinsic * dependencies of this expression with the dependencies of the subexpressions, * computed recursively. This is overridden for expressions such as FilterExpression * where a subexpression's dependencies are not necessarily inherited by the parent * expression. * * @return a set of bit-significant flags identifying the dependencies of * the expression */ public int getDependencies() { return pattern.getDependencies(); }
/** * Determine which aspects of the context the expression depends on. The result is * a bitwise-or'ed value composed from constants such as {@link net.sf.saxon.expr.StaticProperty#DEPENDS_ON_CONTEXT_ITEM} and * {@link net.sf.saxon.expr.StaticProperty#DEPENDS_ON_CURRENT_ITEM}. The default implementation combines the intrinsic * dependencies of this expression with the dependencies of the subexpressions, * computed recursively. This is overridden for expressions such as FilterExpression * where a subexpression's dependencies are not necessarily inherited by the parent * expression. * * @return a set of bit-significant flags identifying the dependencies of * the expression */ public int getDependencies() { return pattern.getDependencies(); }
/** * Get the dependencies of the pattern. The only possible dependency for a pattern is * on local variables. This is analyzed in those patterns where local variables may appear. */ public int getDependencies() { int dependencies = 0; if (parentPattern != null) { dependencies |= parentPattern.getDependencies(); } if (ancestorPattern != null) { dependencies |= ancestorPattern.getDependencies(); } for (int i = 0; i < numberOfFilters; i++) { dependencies |= filters[i].getDependencies(); } // the only dependency that's interesting is a dependency on local variables dependencies &= StaticProperty.DEPENDS_ON_LOCAL_VARIABLES; return dependencies; }
/** * Get the dependencies of the pattern. The only possible dependency for a pattern is * on local variables. This is analyzed in those patterns where local variables may appear. */ public int getDependencies() { int dependencies = 0; if (parentPattern != null) { dependencies |= parentPattern.getDependencies(); } if (ancestorPattern != null) { dependencies |= ancestorPattern.getDependencies(); } for (int i = 0; i < numberOfFilters; i++) { dependencies |= filters[i].getDependencies(); } // the only dependency that's interesting is a dependency on local variables dependencies &= StaticProperty.DEPENDS_ON_LOCAL_VARIABLES; return dependencies; }
if ((match.getDependencies() & StaticProperty.DEPENDS_ON_CURRENT_ITEM) != 0) { nextFree = 1; if (slots == 0 && ((match.getDependencies() & StaticProperty.DEPENDS_ON_USER_FUNCTIONS) != 0)) { slots = 1;
if ((match.getDependencies() & StaticProperty.DEPENDS_ON_CURRENT_ITEM) != 0) { nextFree = 1; if (slots == 0 && ((match.getDependencies() & StaticProperty.DEPENDS_ON_USER_FUNCTIONS) != 0)) { slots = 1;
if ((match.getDependencies() & StaticProperty.DEPENDS_ON_CURRENT_ITEM) != 0) { nextFree = 1;
if ((match.getDependencies() & StaticProperty.DEPENDS_ON_CURRENT_ITEM) != 0) { nextFree = 1;