public class ForEachGroupCompiler extends ToPushCompiler
| Constructor and Description |
|---|
ForEachGroupCompiler() |
| Modifier and Type | Method and Description |
|---|---|
void |
compileToIterator(CompilerService compiler,
Expression expression)
Generate bytecode to evaluate the expression as a
SequenceIterator
Precondition: none. |
void |
compileToPush(CompilerService compiler,
Expression expression)
Generate bytecode to evaluate the expression in push mode
Precondition: none.
|
compileToItemcompileToBooleanallocateStatic, compileItemFromInt, compileToPrimitive, generateMethod, handleEmptyStringResult, printStackTop, verify, visitAnnotation, visitLineNumberpublic 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 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 ToPushCompilercompiler - the compiler serviceexpression - the expression to be compiledCannotCompileException - if the expression cannot be compiled to bytecodeCopyright (c) 2004-2020 Saxonica Limited. All rights reserved.