|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.saxonica.bytecode.ExpressionCompiler com.saxonica.bytecode.ToIteratorCompiler com.saxonica.bytecode.LetExpressionCompiler
public class LetExpressionCompiler
Generate bytecode for evaluation of an LetExpression
Constructor Summary | |
---|---|
LetExpressionCompiler()
|
Method Summary | |
---|---|
static void |
compileCommonExpr(CompilerService compiler,
Expression exp,
int evaluationMode,
int refCount)
Helper method to generate bytecode the same for both compileToIterator and compileToItem Precondition: none. |
void |
compileToItem(CompilerService compiler,
Expression expression)
Generate bytecode to evaluate the LetExpression as an Item Precondition: none. |
void |
compileToIterator(CompilerService compiler,
Expression expression)
Generate bytecode to evaluate the LetExpression as an Iterator Precondition: none. |
void |
compileToPush(CompilerService compiler,
Expression expression)
Generate bytecode to evaluate the LetExpression as an Item Precondition: none. |
Methods inherited from class com.saxonica.bytecode.ToIteratorCompiler |
---|
compileToBoolean |
Methods inherited from class com.saxonica.bytecode.ExpressionCompiler |
---|
allocateStatic, compileItemFromInt, compileItemFromString, compileToLoop, compileToPrimitive, generateMethod, getConfiguration, handleEmptyStringResult, setConfiguration, throwXPathException, throwXPathException, unboxItem, verify, visitAnnotation, visitLineNumber |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LetExpressionCompiler()
Method Detail |
---|
public void compileToItem(CompilerService compiler, Expression expression) throws CannotCompileException
compileToItem
in class ToIteratorCompiler
compiler
- the compiler serviceexpression
- the expression to be compiled
CannotCompileException
public void compileToPush(CompilerService compiler, Expression expression) throws CannotCompileException
compileToPush
in class ToIteratorCompiler
compiler
- the compiler serviceexpression
- the expression to be compiled
CannotCompileException
public void compileToIterator(CompilerService compiler, Expression expression) throws CannotCompileException
compileToIterator
in class ExpressionCompiler
compiler
- the compiler serviceexpression
- the expression to be compiled
CannotCompileException
public static void compileCommonExpr(CompilerService compiler, Expression exp, int evaluationMode, int refCount) throws CannotCompileException
compiler
- the compiler serviceexp
- the expression to be compiled
CannotCompileException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |