public class TraceExpressionCompiler extends ToIteratorCompiler
| Constructor and Description | 
|---|
| TraceExpressionCompiler() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | compileToItem(CompilerService compiler,
             Expression expression)Generate bytecode to evaluate the expression as an Item
 Precondition: none. | 
| void | compileToIterator(CompilerService compiler,
                 Expression expression)Generate bytecode to evaluate the expression as a  SequenceIteratorPrecondition: none. | 
| void | compileToPush(CompilerService compiler,
             Expression expression)Generate bytecode to evaluate the expression in push mode
 Precondition: none. | 
| void | enterTrace(CompilerService compiler,
          Generator ga,
          int controllerVar,
          InstructionInfo instrInfo) | 
| void | leaveTrace(CompilerService compiler,
          Generator ga,
          int controllerVar,
          InstructionInfo instrInfo) | 
compileToBooleanallocateStatic, compileItemFromInt, compileToPrimitive, generateMethod, handleEmptyStringResult, printStackTop, verify, visitAnnotation, visitLineNumberpublic void compileToIterator(CompilerService compiler, Expression expression) throws CannotCompileException
ExpressionCompilerSequenceIterator
 Precondition: none.
 Postcondition: at execution time, the stack contains a SequenceIterator representing the result of the expressioncompileToIterator in class ExpressionCompilercompiler - the compiler serviceexpression - the expression to be compiledCannotCompileException - if the expression cannot be compiled to bytecodepublic void compileToItem(CompilerService compiler, Expression expression) throws CannotCompileException
ExpressionCompilercompileToItem in class ToIteratorCompilercompiler - the compiler serviceexpression - the expression to be compiledCannotCompileException - if the expression cannot be compiled to bytecodepublic void compileToPush(CompilerService compiler, Expression expression) throws CannotCompileException
ExpressionCompilercompileToPush in class ToIteratorCompilercompiler - the compiler serviceexpression - the expression to be compiledCannotCompileException - if the expression cannot be compiled to bytecodepublic void enterTrace(CompilerService compiler, Generator ga, int controllerVar, InstructionInfo instrInfo) throws CannotCompileException
CannotCompileExceptionpublic void leaveTrace(CompilerService compiler, Generator ga, int controllerVar, InstructionInfo instrInfo) throws CannotCompileException
CannotCompileExceptionCopyright (c) 2004-2020 Saxonica Limited. All rights reserved.