Class EmptyTextNodeRemoverCompiler


  • public class EmptyTextNodeRemoverCompiler
    extends ToIteratorCompiler
    Generate code for EmptyTextNodeRemover expression
    • Constructor Detail

      • EmptyTextNodeRemoverCompiler

        public EmptyTextNodeRemoverCompiler()
    • Method Detail

      • compileToIterator

        public void compileToIterator​(CompilerService compiler,
                                      Expression expression)
                               throws CannotCompileException
        Generate bytecode to evaluate the EmptyTextNodeRemover as an ItemMappingIterator Precondition: none. Postcondition: the stack contains an ItemMappingIterator representing the result of the expression
        Specified by:
        compileToIterator in class ExpressionCompiler
        Parameters:
        compiler - the compiler service
        expression - the expression to be compiled
        Throws:
        CannotCompileException - if the expression cannot be compiled to bytecode