public class CopyCompiler extends ToPushCompiler
| Constructor and Description |
|---|
CopyCompiler() |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
compileCopyAttribute(CompilerService compiler,
ValidatingInstruction expression,
int selectedItemVar,
boolean preserveTypes) |
protected static void |
compileCopyComment(CompilerService compiler,
Expression expression,
int selectedItemVar) |
protected static void |
compileCopyNamespace(CompilerService compiler,
Expression expression,
int selectedItemVar) |
protected static void |
compileCopyNonNode(CompilerService compiler,
Expression expression,
int selectedItemVar) |
protected static void |
compileCopyProcessingInstruction(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.
|
compileToItem, compileToIteratorcompileToBooleanallocateStatic, compileItemFromInt, compileItemFromString, compileToLoop, compileToPrimitive, generateMethod, handleEmptyStringResult, throwXPathException, throwXPathException, unboxItem, verify, visitAnnotation, visitLineNumberpublic void compileToPush(CompilerService compiler, Expression expression) throws CannotCompileException
ExpressionCompilercompileToPush in class ToIteratorCompilercompiler - the compiler serviceexpression - the expression to be compiledCannotCompileExceptionprotected static void compileCopyAttribute(CompilerService compiler, ValidatingInstruction expression, int selectedItemVar, boolean preserveTypes) throws CannotCompileException
CannotCompileExceptionprotected static void compileCopyNamespace(CompilerService compiler, Expression expression, int selectedItemVar) throws CannotCompileException
CannotCompileExceptionprotected static void compileCopyText(CompilerService compiler, Expression expression, int selectedItemVar) throws CannotCompileException
CannotCompileExceptionprotected static void compileCopyComment(CompilerService compiler, Expression expression, int selectedItemVar) throws CannotCompileException
CannotCompileExceptionprotected static void compileCopyProcessingInstruction(CompilerService compiler, Expression expression, int selectedItemVar) throws CannotCompileException
CannotCompileExceptionprotected static void compileCopyNonNode(CompilerService compiler, Expression expression, int selectedItemVar) throws CannotCompileException
CannotCompileExceptionCopyright (c) 2004-2013 Saxonica Limited. All rights reserved.