public class CopyCompiler extends ToPushCompiler
Constructor and Description |
---|
CopyCompiler() |
Modifier and Type | Method and Description |
---|---|
protected static void |
compileCopyNamespace(CompilerService compiler,
Expression expression,
int selectedItemVar) |
protected static void |
compileCopyText(CompilerService compiler,
Expression expression,
int selectedItemVar) |
void |
compileToPush(CompilerService compiler,
Expression expression)
Generate bytecode to evaluate the expression in push mode
Precondition: none.
|
compilePushToSequenceCollector, compileToItem, compileToIterator
compileToBoolean
allocateStatic, compileItemFromInt, compileToPrimitive, generateMethod, handleEmptyStringResult, printStackTop, verify, visitAnnotation, visitLineNumber
public void compileToPush(CompilerService compiler, Expression expression) throws CannotCompileException
ExpressionCompiler
compileToPush
in class ToIteratorCompiler
compiler
- the compiler serviceexpression
- the expression to be compiledCannotCompileException
- if the expression cannot be compiled to bytecodeprotected static void compileCopyNamespace(CompilerService compiler, Expression expression, int selectedItemVar)
protected static void compileCopyText(CompilerService compiler, Expression expression, int selectedItemVar)
Copyright (c) 2004-2022 Saxonica Limited. All rights reserved.