public class SlashExpressionCompiler extends ToIteratorCompiler
| Constructor and Description |
|---|
SlashExpressionCompiler() |
| Modifier and Type | Method and Description |
|---|---|
void |
compileToIterator(CompilerService compiler,
Expression expression)
Generate bytecode to evaluate the SlashExpression as a ContextMappingIterator
Precondition: none.
|
void |
compileToPush(CompilerService compiler,
Expression expression)
Generate bytecode to evaluate the expression in push mode
Precondition: none.
|
static CompiledContextMappingFunction |
generateMappingFunction(CompilerService compiler,
Expression step)
Generate a mapping function for a given step expression
|
compileToBoolean, compileToItemallocateStatic, compileItemFromInt, compileItemFromString, compileToLoop, compileToPrimitive, generateMethod, handleEmptyStringResult, throwXPathException, throwXPathException, unboxItem, verify, visitAnnotation, visitLineNumberpublic void compileToIterator(CompilerService compiler, Expression expression) throws CannotCompileException
compileToIterator in class ExpressionCompilercompiler - the compiler serviceexpression - the expression to be compiledCannotCompileExceptionpublic static CompiledContextMappingFunction generateMappingFunction(CompilerService compiler, Expression step) throws CannotCompileException
compiler - the CompilerServicestep - the step expression to form the body of the mapping actionCannotCompileExceptionpublic void compileToPush(CompilerService compiler, Expression expression) throws CannotCompileException
ExpressionCompilercompileToPush in class ToIteratorCompilercompiler - the compiler serviceexpression - the expression to be compiledCannotCompileExceptionCopyright (c) 2004-2013 Saxonica Limited. All rights reserved.