/** * This function is used to perform some extra analysis of the iterator. * * @param vars List of QNames that correspond to variables. This list * should be searched backwards for the first qualified name that * corresponds to the variable reference qname. The position of the * QName in the vector from the start of the vector will be its position * in the stack frame (but variables above the globalsTop value will need * to be offset to the current stack frame). */ public void fixupVariables(java.util.Vector vars, int globalsSize) { super.fixupVariables(vars, globalsSize); int analysis = getAnalysisBits(); if(WalkerFactory.isNaturalDocOrder(analysis)) { m_inNaturalOrderStatic = true; } else { m_inNaturalOrderStatic = false; // System.out.println("Setting natural doc order to false: "+ // WalkerFactory.getAnalysisString(analysis)); } }
/** * This function is used to perform some extra analysis of the iterator. * * @param vars List of QNames that correspond to variables. This list * should be searched backwards for the first qualified name that * corresponds to the variable reference qname. The position of the * QName in the vector from the start of the vector will be its position * in the stack frame (but variables above the globalsTop value will need * to be offset to the current stack frame). */ public void fixupVariables(java.util.Vector vars, int globalsSize) { super.fixupVariables(vars, globalsSize); int analysis = getAnalysisBits(); if(WalkerFactory.isNaturalDocOrder(analysis)) { m_inNaturalOrderStatic = true; } else { m_inNaturalOrderStatic = false; // System.out.println("Setting natural doc order to false: "+ // WalkerFactory.getAnalysisString(analysis)); } }