Java Code Examples for com.sun.org.apache.xpath.internal.compiler.OpMap#getFirstChildPos()
The following examples show how to use
com.sun.org.apache.xpath.internal.compiler.OpMap#getFirstChildPos() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: BasicTestIterator.java From jdk8u60 with GNU General Public License v2.0 | 6 votes |
/** * Create a LocPathIterator object, including creation * of step walkers from the opcode list, and call back * into the Compiler to create predicate expressions. * * @param compiler The Compiler which is creating * this expression. * @param opPos The position of this iterator in the * opcode list from the compiler. * * @throws javax.xml.transform.TransformerException */ protected BasicTestIterator(Compiler compiler, int opPos, int analysis) throws javax.xml.transform.TransformerException { super(compiler, opPos, analysis, false); int firstStepPos = OpMap.getFirstChildPos(opPos); int whatToShow = compiler.getWhatToShow(firstStepPos); if ((0 == (whatToShow & (DTMFilter.SHOW_ATTRIBUTE | DTMFilter.SHOW_NAMESPACE | DTMFilter.SHOW_ELEMENT | DTMFilter.SHOW_PROCESSING_INSTRUCTION))) || (whatToShow == DTMFilter.SHOW_ALL)) initNodeTest(whatToShow); else { initNodeTest(whatToShow, compiler.getStepNS(firstStepPos), compiler.getStepLocalName(firstStepPos)); } initPredicateInfo(compiler, firstStepPos); }
Example 2
Source File: BasicTestIterator.java From TencentKona-8 with GNU General Public License v2.0 | 6 votes |
/** * Create a LocPathIterator object, including creation * of step walkers from the opcode list, and call back * into the Compiler to create predicate expressions. * * @param compiler The Compiler which is creating * this expression. * @param opPos The position of this iterator in the * opcode list from the compiler. * * @throws javax.xml.transform.TransformerException */ protected BasicTestIterator(Compiler compiler, int opPos, int analysis) throws javax.xml.transform.TransformerException { super(compiler, opPos, analysis, false); int firstStepPos = OpMap.getFirstChildPos(opPos); int whatToShow = compiler.getWhatToShow(firstStepPos); if ((0 == (whatToShow & (DTMFilter.SHOW_ATTRIBUTE | DTMFilter.SHOW_NAMESPACE | DTMFilter.SHOW_ELEMENT | DTMFilter.SHOW_PROCESSING_INSTRUCTION))) || (whatToShow == DTMFilter.SHOW_ALL)) initNodeTest(whatToShow); else { initNodeTest(whatToShow, compiler.getStepNS(firstStepPos), compiler.getStepLocalName(firstStepPos)); } initPredicateInfo(compiler, firstStepPos); }
Example 3
Source File: OneStepIterator.java From JDKSourceCode1.8 with MIT License | 5 votes |
/** * Create a OneStepIterator object. * * @param compiler A reference to the Compiler that contains the op map. * @param opPos The position within the op map, which contains the * location path expression for this itterator. * * @throws javax.xml.transform.TransformerException */ OneStepIterator(Compiler compiler, int opPos, int analysis) throws javax.xml.transform.TransformerException { super(compiler, opPos, analysis); int firstStepPos = OpMap.getFirstChildPos(opPos); m_axis = WalkerFactory.getAxisFromStep(compiler, firstStepPos); }
Example 4
Source File: WalkerFactory.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
static boolean isProximateInnerExpr(Compiler compiler, int opPos) { int op = compiler.getOp(opPos); int innerExprOpPos = opPos+2; switch(op) { case OpCodes.OP_ARGUMENT: if(isProximateInnerExpr(compiler, innerExprOpPos)) return true; break; case OpCodes.OP_VARIABLE: case OpCodes.OP_NUMBERLIT: case OpCodes.OP_LITERAL: case OpCodes.OP_LOCATIONPATH: break; // OK case OpCodes.OP_FUNCTION: boolean isProx = functionProximateOrContainsProximate(compiler, opPos); if(isProx) return true; break; case OpCodes.OP_GT: case OpCodes.OP_GTE: case OpCodes.OP_LT: case OpCodes.OP_LTE: case OpCodes.OP_EQUALS: int leftPos = OpMap.getFirstChildPos(op); int rightPos = compiler.getNextOpPos(leftPos); isProx = isProximateInnerExpr(compiler, leftPos); if(isProx) return true; isProx = isProximateInnerExpr(compiler, rightPos); if(isProx) return true; break; default: return true; // be conservative... } return false; }
Example 5
Source File: OneStepIterator.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
/** * Create a OneStepIterator object. * * @param compiler A reference to the Compiler that contains the op map. * @param opPos The position within the op map, which contains the * location path expression for this itterator. * * @throws javax.xml.transform.TransformerException */ OneStepIterator(Compiler compiler, int opPos, int analysis) throws javax.xml.transform.TransformerException { super(compiler, opPos, analysis); int firstStepPos = OpMap.getFirstChildPos(opPos); m_axis = WalkerFactory.getAxisFromStep(compiler, firstStepPos); }
Example 6
Source File: OneStepIteratorForward.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
/** * Create a OneStepIterator object. * * @param compiler A reference to the Compiler that contains the op map. * @param opPos The position within the op map, which contains the * location path expression for this itterator. * * @throws javax.xml.transform.TransformerException */ OneStepIteratorForward(Compiler compiler, int opPos, int analysis) throws javax.xml.transform.TransformerException { super(compiler, opPos, analysis); int firstStepPos = OpMap.getFirstChildPos(opPos); m_axis = WalkerFactory.getAxisFromStep(compiler, firstStepPos); }
Example 7
Source File: WalkerFactory.java From JDKSourceCode1.8 with MIT License | 5 votes |
static boolean functionProximateOrContainsProximate(Compiler compiler, int opPos) { int endFunc = opPos + compiler.getOp(opPos + 1) - 1; opPos = OpMap.getFirstChildPos(opPos); int funcID = compiler.getOp(opPos); // System.out.println("funcID: "+funcID); // System.out.println("opPos: "+opPos); // System.out.println("endFunc: "+endFunc); switch(funcID) { case FunctionTable.FUNC_LAST: case FunctionTable.FUNC_POSITION: return true; default: opPos++; int i = 0; for (int p = opPos; p < endFunc; p = compiler.getNextOpPos(p), i++) { int innerExprOpPos = p+2; int argOp = compiler.getOp(innerExprOpPos); boolean prox = isProximateInnerExpr(compiler, innerExprOpPos); if(prox) return true; } } return false; }
Example 8
Source File: OneStepIteratorForward.java From Bytecoder with Apache License 2.0 | 5 votes |
/** * Create a OneStepIterator object. * * @param compiler A reference to the Compiler that contains the op map. * @param opPos The position within the op map, which contains the * location path expression for this itterator. * * @throws javax.xml.transform.TransformerException */ OneStepIteratorForward(Compiler compiler, int opPos, int analysis) throws javax.xml.transform.TransformerException { super(compiler, opPos, analysis); int firstStepPos = OpMap.getFirstChildPos(opPos); m_axis = WalkerFactory.getAxisFromStep(compiler, firstStepPos); }
Example 9
Source File: WalkerFactory.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
static boolean functionProximateOrContainsProximate(Compiler compiler, int opPos) { int endFunc = opPos + compiler.getOp(opPos + 1) - 1; opPos = OpMap.getFirstChildPos(opPos); int funcID = compiler.getOp(opPos); // System.out.println("funcID: "+funcID); // System.out.println("opPos: "+opPos); // System.out.println("endFunc: "+endFunc); switch(funcID) { case FunctionTable.FUNC_LAST: case FunctionTable.FUNC_POSITION: return true; default: opPos++; int i = 0; for (int p = opPos; p < endFunc; p = compiler.getNextOpPos(p), i++) { int innerExprOpPos = p+2; int argOp = compiler.getOp(innerExprOpPos); boolean prox = isProximateInnerExpr(compiler, innerExprOpPos); if(prox) return true; } } return false; }
Example 10
Source File: OneStepIteratorForward.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
/** * Create a OneStepIterator object. * * @param compiler A reference to the Compiler that contains the op map. * @param opPos The position within the op map, which contains the * location path expression for this itterator. * * @throws javax.xml.transform.TransformerException */ OneStepIteratorForward(Compiler compiler, int opPos, int analysis) throws javax.xml.transform.TransformerException { super(compiler, opPos, analysis); int firstStepPos = OpMap.getFirstChildPos(opPos); m_axis = WalkerFactory.getAxisFromStep(compiler, firstStepPos); }
Example 11
Source File: MatchPatternIterator.java From JDKSourceCode1.8 with MIT License | 4 votes |
/** * Create a LocPathIterator object, including creation * of step walkers from the opcode list, and call back * into the Compiler to create predicate expressions. * * @param compiler The Compiler which is creating * this expression. * @param opPos The position of this iterator in the * opcode list from the compiler. * @param analysis Analysis bits that give general information about the * LocationPath. * * @throws javax.xml.transform.TransformerException */ MatchPatternIterator(Compiler compiler, int opPos, int analysis) throws javax.xml.transform.TransformerException { super(compiler, opPos, analysis, false); int firstStepPos = OpMap.getFirstChildPos(opPos); m_pattern = WalkerFactory.loadSteps(this, compiler, firstStepPos, 0); boolean fromRoot = false; boolean walkBack = false; boolean walkDescendants = false; boolean walkAttributes = false; if (0 != (analysis & (WalkerFactory.BIT_ROOT | WalkerFactory.BIT_ANY_DESCENDANT_FROM_ROOT))) fromRoot = true; if (0 != (analysis & (WalkerFactory.BIT_ANCESTOR | WalkerFactory.BIT_ANCESTOR_OR_SELF | WalkerFactory.BIT_PRECEDING | WalkerFactory.BIT_PRECEDING_SIBLING | WalkerFactory.BIT_FOLLOWING | WalkerFactory.BIT_FOLLOWING_SIBLING | WalkerFactory.BIT_PARENT | WalkerFactory.BIT_FILTER))) walkBack = true; if (0 != (analysis & (WalkerFactory.BIT_DESCENDANT_OR_SELF | WalkerFactory.BIT_DESCENDANT | WalkerFactory.BIT_CHILD))) walkDescendants = true; if (0 != (analysis & (WalkerFactory.BIT_ATTRIBUTE | WalkerFactory.BIT_NAMESPACE))) walkAttributes = true; if(false || DEBUG) { System.out.print("analysis: "+Integer.toBinaryString(analysis)); System.out.println(", "+WalkerFactory.getAnalysisString(analysis)); } if(fromRoot || walkBack) { if(walkAttributes) { m_superAxis = Axis.ALL; } else { m_superAxis = Axis.DESCENDANTSFROMROOT; } } else if(walkDescendants) { if(walkAttributes) { m_superAxis = Axis.ALLFROMNODE; } else { m_superAxis = Axis.DESCENDANTORSELF; } } else { m_superAxis = Axis.ALL; } if(false || DEBUG) { System.out.println("axis: "+Axis.getNames(m_superAxis)); } }
Example 12
Source File: MatchPatternIterator.java From jdk8u60 with GNU General Public License v2.0 | 4 votes |
/** * Create a LocPathIterator object, including creation * of step walkers from the opcode list, and call back * into the Compiler to create predicate expressions. * * @param compiler The Compiler which is creating * this expression. * @param opPos The position of this iterator in the * opcode list from the compiler. * @param analysis Analysis bits that give general information about the * LocationPath. * * @throws javax.xml.transform.TransformerException */ MatchPatternIterator(Compiler compiler, int opPos, int analysis) throws javax.xml.transform.TransformerException { super(compiler, opPos, analysis, false); int firstStepPos = OpMap.getFirstChildPos(opPos); m_pattern = WalkerFactory.loadSteps(this, compiler, firstStepPos, 0); boolean fromRoot = false; boolean walkBack = false; boolean walkDescendants = false; boolean walkAttributes = false; if (0 != (analysis & (WalkerFactory.BIT_ROOT | WalkerFactory.BIT_ANY_DESCENDANT_FROM_ROOT))) fromRoot = true; if (0 != (analysis & (WalkerFactory.BIT_ANCESTOR | WalkerFactory.BIT_ANCESTOR_OR_SELF | WalkerFactory.BIT_PRECEDING | WalkerFactory.BIT_PRECEDING_SIBLING | WalkerFactory.BIT_FOLLOWING | WalkerFactory.BIT_FOLLOWING_SIBLING | WalkerFactory.BIT_PARENT | WalkerFactory.BIT_FILTER))) walkBack = true; if (0 != (analysis & (WalkerFactory.BIT_DESCENDANT_OR_SELF | WalkerFactory.BIT_DESCENDANT | WalkerFactory.BIT_CHILD))) walkDescendants = true; if (0 != (analysis & (WalkerFactory.BIT_ATTRIBUTE | WalkerFactory.BIT_NAMESPACE))) walkAttributes = true; if(false || DEBUG) { System.out.print("analysis: "+Integer.toBinaryString(analysis)); System.out.println(", "+WalkerFactory.getAnalysisString(analysis)); } if(fromRoot || walkBack) { if(walkAttributes) { m_superAxis = Axis.ALL; } else { m_superAxis = Axis.DESCENDANTSFROMROOT; } } else if(walkDescendants) { if(walkAttributes) { m_superAxis = Axis.ALLFROMNODE; } else { m_superAxis = Axis.DESCENDANTORSELF; } } else { m_superAxis = Axis.ALL; } if(false || DEBUG) { System.out.println("axis: "+Axis.getNames(m_superAxis)); } }
Example 13
Source File: MatchPatternIterator.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 4 votes |
/** * Create a LocPathIterator object, including creation * of step walkers from the opcode list, and call back * into the Compiler to create predicate expressions. * * @param compiler The Compiler which is creating * this expression. * @param opPos The position of this iterator in the * opcode list from the compiler. * @param analysis Analysis bits that give general information about the * LocationPath. * * @throws javax.xml.transform.TransformerException */ MatchPatternIterator(Compiler compiler, int opPos, int analysis) throws javax.xml.transform.TransformerException { super(compiler, opPos, analysis, false); int firstStepPos = OpMap.getFirstChildPos(opPos); m_pattern = WalkerFactory.loadSteps(this, compiler, firstStepPos, 0); boolean fromRoot = false; boolean walkBack = false; boolean walkDescendants = false; boolean walkAttributes = false; if (0 != (analysis & (WalkerFactory.BIT_ROOT | WalkerFactory.BIT_ANY_DESCENDANT_FROM_ROOT))) fromRoot = true; if (0 != (analysis & (WalkerFactory.BIT_ANCESTOR | WalkerFactory.BIT_ANCESTOR_OR_SELF | WalkerFactory.BIT_PRECEDING | WalkerFactory.BIT_PRECEDING_SIBLING | WalkerFactory.BIT_FOLLOWING | WalkerFactory.BIT_FOLLOWING_SIBLING | WalkerFactory.BIT_PARENT | WalkerFactory.BIT_FILTER))) walkBack = true; if (0 != (analysis & (WalkerFactory.BIT_DESCENDANT_OR_SELF | WalkerFactory.BIT_DESCENDANT | WalkerFactory.BIT_CHILD))) walkDescendants = true; if (0 != (analysis & (WalkerFactory.BIT_ATTRIBUTE | WalkerFactory.BIT_NAMESPACE))) walkAttributes = true; if(false || DEBUG) { System.out.print("analysis: "+Integer.toBinaryString(analysis)); System.out.println(", "+WalkerFactory.getAnalysisString(analysis)); } if(fromRoot || walkBack) { if(walkAttributes) { m_superAxis = Axis.ALL; } else { m_superAxis = Axis.DESCENDANTSFROMROOT; } } else if(walkDescendants) { if(walkAttributes) { m_superAxis = Axis.ALLFROMNODE; } else { m_superAxis = Axis.DESCENDANTORSELF; } } else { m_superAxis = Axis.ALL; } if(false || DEBUG) { System.out.println("axis: "+Axis.getNames(m_superAxis)); } }
Example 14
Source File: MatchPatternIterator.java From openjdk-jdk8u with GNU General Public License v2.0 | 4 votes |
/** * Create a LocPathIterator object, including creation * of step walkers from the opcode list, and call back * into the Compiler to create predicate expressions. * * @param compiler The Compiler which is creating * this expression. * @param opPos The position of this iterator in the * opcode list from the compiler. * @param analysis Analysis bits that give general information about the * LocationPath. * * @throws javax.xml.transform.TransformerException */ MatchPatternIterator(Compiler compiler, int opPos, int analysis) throws javax.xml.transform.TransformerException { super(compiler, opPos, analysis, false); int firstStepPos = OpMap.getFirstChildPos(opPos); m_pattern = WalkerFactory.loadSteps(this, compiler, firstStepPos, 0); boolean fromRoot = false; boolean walkBack = false; boolean walkDescendants = false; boolean walkAttributes = false; if (0 != (analysis & (WalkerFactory.BIT_ROOT | WalkerFactory.BIT_ANY_DESCENDANT_FROM_ROOT))) fromRoot = true; if (0 != (analysis & (WalkerFactory.BIT_ANCESTOR | WalkerFactory.BIT_ANCESTOR_OR_SELF | WalkerFactory.BIT_PRECEDING | WalkerFactory.BIT_PRECEDING_SIBLING | WalkerFactory.BIT_FOLLOWING | WalkerFactory.BIT_FOLLOWING_SIBLING | WalkerFactory.BIT_PARENT | WalkerFactory.BIT_FILTER))) walkBack = true; if (0 != (analysis & (WalkerFactory.BIT_DESCENDANT_OR_SELF | WalkerFactory.BIT_DESCENDANT | WalkerFactory.BIT_CHILD))) walkDescendants = true; if (0 != (analysis & (WalkerFactory.BIT_ATTRIBUTE | WalkerFactory.BIT_NAMESPACE))) walkAttributes = true; if(false || DEBUG) { System.out.print("analysis: "+Integer.toBinaryString(analysis)); System.out.println(", "+WalkerFactory.getAnalysisString(analysis)); } if(fromRoot || walkBack) { if(walkAttributes) { m_superAxis = Axis.ALL; } else { m_superAxis = Axis.DESCENDANTSFROMROOT; } } else if(walkDescendants) { if(walkAttributes) { m_superAxis = Axis.ALLFROMNODE; } else { m_superAxis = Axis.DESCENDANTORSELF; } } else { m_superAxis = Axis.ALL; } if(false || DEBUG) { System.out.println("axis: "+Axis.getNames(m_superAxis)); } }
Example 15
Source File: MatchPatternIterator.java From Bytecoder with Apache License 2.0 | 4 votes |
/** * Create a LocPathIterator object, including creation * of step walkers from the opcode list, and call back * into the Compiler to create predicate expressions. * * @param compiler The Compiler which is creating * this expression. * @param opPos The position of this iterator in the * opcode list from the compiler. * @param analysis Analysis bits that give general information about the * LocationPath. * * @throws javax.xml.transform.TransformerException */ MatchPatternIterator(Compiler compiler, int opPos, int analysis) throws javax.xml.transform.TransformerException { super(compiler, opPos, analysis, false); int firstStepPos = OpMap.getFirstChildPos(opPos); m_pattern = WalkerFactory.loadSteps(this, compiler, firstStepPos, 0); boolean fromRoot = false; boolean walkBack = false; boolean walkDescendants = false; boolean walkAttributes = false; if (0 != (analysis & (WalkerFactory.BIT_ROOT | WalkerFactory.BIT_ANY_DESCENDANT_FROM_ROOT))) fromRoot = true; if (0 != (analysis & (WalkerFactory.BIT_ANCESTOR | WalkerFactory.BIT_ANCESTOR_OR_SELF | WalkerFactory.BIT_PRECEDING | WalkerFactory.BIT_PRECEDING_SIBLING | WalkerFactory.BIT_FOLLOWING | WalkerFactory.BIT_FOLLOWING_SIBLING | WalkerFactory.BIT_PARENT | WalkerFactory.BIT_FILTER))) walkBack = true; if (0 != (analysis & (WalkerFactory.BIT_DESCENDANT_OR_SELF | WalkerFactory.BIT_DESCENDANT | WalkerFactory.BIT_CHILD))) walkDescendants = true; if (0 != (analysis & (WalkerFactory.BIT_ATTRIBUTE | WalkerFactory.BIT_NAMESPACE))) walkAttributes = true; if(false || DEBUG) { System.out.print("analysis: "+Integer.toBinaryString(analysis)); System.out.println(", "+WalkerFactory.getAnalysisString(analysis)); } if(fromRoot || walkBack) { if(walkAttributes) { m_superAxis = Axis.ALL; } else { m_superAxis = Axis.DESCENDANTSFROMROOT; } } else if(walkDescendants) { if(walkAttributes) { m_superAxis = Axis.ALLFROMNODE; } else { m_superAxis = Axis.DESCENDANTORSELF; } } else { m_superAxis = Axis.ALL; } if(false || DEBUG) { System.out.println("axis: "+Axis.getNames(m_superAxis)); } }
Example 16
Source File: UnionPathIterator.java From openjdk-jdk8u with GNU General Public License v2.0 | 3 votes |
/** * Create a UnionPathIterator object, including creation * of location path iterators from the opcode list, and call back * into the Compiler to create predicate expressions. * * @param compiler The Compiler which is creating * this expression. * @param opPos The position of this iterator in the * opcode list from the compiler. * * @throws javax.xml.transform.TransformerException */ public UnionPathIterator(Compiler compiler, int opPos) throws javax.xml.transform.TransformerException { super(); opPos = OpMap.getFirstChildPos(opPos); loadLocationPaths(compiler, opPos, 0); }
Example 17
Source File: WalkingIterator.java From openjdk-8-source with GNU General Public License v2.0 | 3 votes |
/** * Create a WalkingIterator iterator, including creation * of step walkers from the opcode list, and call back * into the Compiler to create predicate expressions. * * @param compiler The Compiler which is creating * this expression. * @param opPos The position of this iterator in the * opcode list from the compiler. * @param shouldLoadWalkers True if walkers should be * loaded, or false if this is a derived iterator and * it doesn't wish to load child walkers. * * @throws javax.xml.transform.TransformerException */ WalkingIterator( Compiler compiler, int opPos, int analysis, boolean shouldLoadWalkers) throws javax.xml.transform.TransformerException { super(compiler, opPos, analysis, shouldLoadWalkers); int firstStepPos = OpMap.getFirstChildPos(opPos); if (shouldLoadWalkers) { m_firstWalker = WalkerFactory.loadWalkers(this, compiler, firstStepPos, 0); m_lastUsedWalker = m_firstWalker; } }
Example 18
Source File: WalkingIterator.java From JDKSourceCode1.8 with MIT License | 3 votes |
/** * Create a WalkingIterator iterator, including creation * of step walkers from the opcode list, and call back * into the Compiler to create predicate expressions. * * @param compiler The Compiler which is creating * this expression. * @param opPos The position of this iterator in the * opcode list from the compiler. * @param shouldLoadWalkers True if walkers should be * loaded, or false if this is a derived iterator and * it doesn't wish to load child walkers. * * @throws javax.xml.transform.TransformerException */ WalkingIterator( Compiler compiler, int opPos, int analysis, boolean shouldLoadWalkers) throws javax.xml.transform.TransformerException { super(compiler, opPos, analysis, shouldLoadWalkers); int firstStepPos = OpMap.getFirstChildPos(opPos); if (shouldLoadWalkers) { m_firstWalker = WalkerFactory.loadWalkers(this, compiler, firstStepPos, 0); m_lastUsedWalker = m_firstWalker; } }
Example 19
Source File: UnionPathIterator.java From Bytecoder with Apache License 2.0 | 3 votes |
/** * Create a UnionPathIterator object, including creation * of location path iterators from the opcode list, and call back * into the Compiler to create predicate expressions. * * @param compiler The Compiler which is creating * this expression. * @param opPos The position of this iterator in the * opcode list from the compiler. * * @throws javax.xml.transform.TransformerException */ public UnionPathIterator(Compiler compiler, int opPos) throws javax.xml.transform.TransformerException { super(); opPos = OpMap.getFirstChildPos(opPos); loadLocationPaths(compiler, opPos, 0); }
Example 20
Source File: UnionPathIterator.java From jdk8u60 with GNU General Public License v2.0 | 3 votes |
/** * Create a UnionPathIterator object, including creation * of location path iterators from the opcode list, and call back * into the Compiler to create predicate expressions. * * @param compiler The Compiler which is creating * this expression. * @param opPos The position of this iterator in the * opcode list from the compiler. * * @throws javax.xml.transform.TransformerException */ public UnionPathIterator(Compiler compiler, int opPos) throws javax.xml.transform.TransformerException { super(); opPos = OpMap.getFirstChildPos(opPos); loadLocationPaths(compiler, opPos, 0); }