Class UseAttributeSetCompiler

  • public class UseAttributeSetCompiler
    extends ToPushCompiler
    Generate bytecode for the XSLT use-attribute-sets pseudo-instruction. This is rarely encountered, as attribute sets with statically-known content are turned into global variables. The attribute set is effectively interpreted.
    • Constructor Detail

      • UseAttributeSetCompiler

        public UseAttributeSetCompiler()
    • Method Detail

      • compileToPush

        public void compileToPush​(CompilerService compiler,
                                  Expression expression)
                           throws CannotCompileException
        Description copied from class: ExpressionCompiler
        Generate bytecode to evaluate the expression in push mode Precondition: none. Postcondition: at execution time, the stack is unchanged, and the value of the expression has been written to the current receiver
        compileToPush in class ToIteratorCompiler
        compiler - the compiler service
        expression - the expression to be compiled
        CannotCompileException - if the expression cannot be compiled to bytecode