/** * Init predicate info. * * @param compiler The Compiler object that has information about this * walker in the op map. * @param opPos The op code position of this location step. * * @throws javax.xml.transform.TransformerException */ protected void initPredicateInfo(Compiler compiler, int opPos) throws javax.xml.transform.TransformerException { int pos = compiler.getFirstPredicateOpPos(opPos); if(pos > 0) { m_predicates = compiler.getCompiledPredicates(pos); if(null != m_predicates) { for(int i = 0; i < m_predicates.length; i++) { m_predicates[i].exprSetParent(this); } } } }
/** * Init predicate info. * * @param compiler The Compiler object that has information about this * walker in the op map. * @param opPos The op code position of this location step. * * @throws javax.xml.transform.TransformerException */ protected void initPredicateInfo(Compiler compiler, int opPos) throws javax.xml.transform.TransformerException { int pos = compiler.getFirstPredicateOpPos(opPos); if(pos > 0) { m_predicates = compiler.getCompiledPredicates(pos); if(null != m_predicates) { for(int i = 0; i < m_predicates.length; i++) { m_predicates[i].exprSetParent(this); } } } }
int pos = compiler.getFirstPredicateOpPos(opPos); int nPredicates = compiler.countPredicates(pos);
int pos = compiler.getFirstPredicateOpPos(opPos); int nPredicates = compiler.countPredicates(pos);
int argLen = compiler.getFirstPredicateOpPos(opPos);
int argLen = compiler.getFirstPredicateOpPos(opPos);
int predPos = compiler.getFirstPredicateOpPos(opPos); int count = 0;
int predPos = compiler.getFirstPredicateOpPos(opPos); int count = 0;