/** * Figure out if we're executing a toplevel expression. * If so, we can't be inside of a predicate. */ public void postCompileStep(Compiler compiler) { m_isTopLevel = compiler.getLocationPathDepth() == -1; }
/** * Figure out if we're executing a toplevel expression. * If so, we can't be inside of a predicate. */ public void postCompileStep(Compiler compiler) { m_isTopLevel = compiler.getLocationPathDepth() == -1; }
/** * Figure out if we're executing a toplevel expression. * If so, we can't be inside of a predicate. */ public void postCompileStep(Compiler compiler) { m_isTopLevel = compiler.getLocationPathDepth() == -1; }
/** * Figure out if we're executing a toplevel expression. * If so, we can't be inside of a predicate. */ public void postCompileStep(Compiler compiler) { m_isTopLevel = compiler.getLocationPathDepth() == -1; }
/** * Create a new location path iterator. * * @param compiler The Compiler which is creating * this expression. * @param opPos The position of this iterator in the * * @return New location path iterator. * * @throws javax.xml.transform.TransformerException */ protected LocPathIterator createDTMIterator( Compiler compiler, int opPos) throws javax.xml.transform.TransformerException { LocPathIterator lpi = (LocPathIterator)WalkerFactory.newDTMIterator(compiler, opPos, (compiler.getLocationPathDepth() <= 0)); return lpi; }
/** * Create a new location path iterator. * * @param compiler The Compiler which is creating * this expression. * @param opPos The position of this iterator in the * * @return New location path iterator. * * @throws javax.xml.transform.TransformerException */ protected LocPathIterator createDTMIterator( Compiler compiler, int opPos) throws javax.xml.transform.TransformerException { LocPathIterator lpi = (LocPathIterator)WalkerFactory.newDTMIterator(compiler, opPos, (compiler.getLocationPathDepth() <= 0)); return lpi; }
iter.exprSetParent(this); if(compiler.getLocationPathDepth() <= 0) iter.setIsTopLevel(true);
iter.exprSetParent(this); if(compiler.getLocationPathDepth() <= 0) iter.setIsTopLevel(true);
/** * Figure out if we're executing a toplevel expression. * If so, we can't be inside of a predicate. */ public void postCompileStep(Compiler compiler) { m_isTopLevel = compiler.getLocationPathDepth() == -1; }
/** * Figure out if we're executing a toplevel expression. * If so, we can't be inside of a predicate. */ public void postCompileStep(Compiler compiler) { m_isTopLevel = compiler.getLocationPathDepth() == -1; }
/** * Figure out if we're executing a toplevel expression. * If so, we can't be inside of a predicate. */ public void postCompileStep(Compiler compiler) { m_isTopLevel = compiler.getLocationPathDepth() == -1; }
/** * Figure out if we're executing a toplevel expression. * If so, we can't be inside of a predicate. */ public void postCompileStep(Compiler compiler) { m_isTopLevel = compiler.getLocationPathDepth() == -1; }
/** * Figure out if we're executing a toplevel expression. * If so, we can't be inside of a predicate. */ public void postCompileStep(Compiler compiler) { m_isTopLevel = compiler.getLocationPathDepth() == -1; }
/** * Figure out if we're executing a toplevel expression. * If so, we can't be inside of a predicate. */ public void postCompileStep(Compiler compiler) { m_isTopLevel = compiler.getLocationPathDepth() == -1; }
/** * Figure out if we're executing a toplevel expression. * If so, we can't be inside of a predicate. */ public void postCompileStep(Compiler compiler) { m_isTopLevel = compiler.getLocationPathDepth() == -1; }
/** * Figure out if we're executing a toplevel expression. * If so, we can't be inside of a predicate. */ public void postCompileStep(Compiler compiler) { m_isTopLevel = compiler.getLocationPathDepth() == -1; }
/** * Figure out if we're executing a toplevel expression. * If so, we can't be inside of a predicate. */ public void postCompileStep(Compiler compiler) { m_isTopLevel = compiler.getLocationPathDepth() == -1; }
/** * Figure out if we're executing a toplevel expression. * If so, we can't be inside of a predicate. */ public void postCompileStep(Compiler compiler) { m_isTopLevel = compiler.getLocationPathDepth() == -1; }
/** * Figure out if we're executing a toplevel expression. * If so, we can't be inside of a predicate. */ public void postCompileStep(Compiler compiler) { m_isTopLevel = compiler.getLocationPathDepth() == -1; }
/** * Figure out if we're executing a toplevel expression. * If so, we can't be inside of a predicate. */ public void postCompileStep(Compiler compiler) { m_isTopLevel = compiler.getLocationPathDepth() == -1; }