public class VariableReferenceCompiler extends ToIteratorCompiler
| Constructor and Description |
|---|
VariableReferenceCompiler() |
| Modifier and Type | Method and Description |
|---|---|
void |
compileToBoolean(CompilerService compiler,
Expression expression)
Generate bytecode to evaluate the expression as a boolean
Precondition: none.
|
void |
compileToItem(CompilerService compiler,
Expression expression)
Generate bytecode to evaluate a VariableReference as an Item
Precondition: none.
|
void |
compileToIterator(CompilerService compiler,
Expression expression)
Generate bytecode to evaluate a VariableReference as an Iterator
Precondition: none.
|
void |
compileToPush(CompilerService compiler,
Expression expression)
Generate bytecode to evaluate a VariableReference in push mode
Precondition: none.
|
allocateStatic, 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 void compileToItem(CompilerService compiler, Expression expression) throws CannotCompileException
compileToItem in class ToIteratorCompilercompiler - the compiler serviceexpression - the expression to be compiledCannotCompileExceptionpublic void compileToPush(CompilerService compiler, Expression expression) throws CannotCompileException
compileToPush in class ToIteratorCompilercompiler - the compiler serviceexpression - the expression to be compiledCannotCompileExceptionpublic void compileToBoolean(CompilerService compiler, Expression expression) throws CannotCompileException
ExpressionCompilercompileToBoolean in class ToIteratorCompilercompiler - the compiler serviceexpression - the expression to be compiledCannotCompileExceptionCopyright (c) 2004-2013 Saxonica Limited. All rights reserved.