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, compileToIterator
compileToBoolean
allocateStatic, compileItemFromInt, compileToLoop, compileToPrimitive, generateMethod, handleEmptyStringResult, printStackTop, unboxItem, 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
protected static void compileCopyAttribute(CompilerService compiler, ValidatingInstruction expression, int selectedItemVar, boolean preserveTypes) throws CannotCompileException
CannotCompileException
protected static void compileCopyNamespace(CompilerService compiler, Expression expression, int selectedItemVar) throws CannotCompileException
CannotCompileException
protected static void compileCopyText(CompilerService compiler, Expression expression, int selectedItemVar) throws CannotCompileException
CannotCompileException
protected static void compileCopyComment(CompilerService compiler, Expression expression, int selectedItemVar) throws CannotCompileException
CannotCompileException
protected static void compileCopyProcessingInstruction(CompilerService compiler, Expression expression, int selectedItemVar) throws CannotCompileException
CannotCompileException
protected static void compileCopyNonNode(CompilerService compiler, Expression expression, int selectedItemVar) throws CannotCompileException
CannotCompileException
Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.