public class CallableExpressionCompiler extends ToIteratorCompiler
| Constructor and Description |
|---|
CallableExpressionCompiler() |
| Modifier and Type | Method and Description |
|---|---|
static int |
buildArgumentArray(CompilerService compiler,
Generator ga,
GeneratedMethodInfo methodInfo,
java.util.List<Expression> subExpressions) |
void |
compileToIterator(CompilerService compiler,
Expression expression)
Generate bytecode to evaluate the expression as a
SequenceIterator
Precondition: none. |
compileToBoolean, compileToItem, compileToPushallocateStatic, 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 static int buildArgumentArray(CompilerService compiler, Generator ga, GeneratedMethodInfo methodInfo, java.util.List<Expression> subExpressions) throws CannotCompileException
CannotCompileExceptionCopyright (c) 2004-2020 Saxonica Limited. All rights reserved.