Class AxisExpressionCompiler


  • public class AxisExpressionCompiler
    extends ToIteratorCompiler
    Generate bytecode for evaluation of an AxisExpression
    • Constructor Detail

      • AxisExpressionCompiler

        public AxisExpressionCompiler()
    • Method Detail

      • iterate

        public static void iterate​(CompilerService compiler,
                                   int axis,
                                   NodeTest test)
        Generate code to iterate over the selected axis. Entry condition: the node forming the origin for the iteration is on the bytecode stack Exit condition: the iterator for the axisExpression is on the bytecode stack
        Parameters:
        compiler - the compiler service
        axis - the axis to be iterated over
        test - the node test to be satisfied; possibly null if all nodes are selected