public class ValueOfCompiler extends SimpleNodeConstructorCompiler
| Constructor and Description |
|---|
ValueOfCompiler() |
| Modifier and Type | Method and Description |
|---|---|
void |
compileToItem(CompilerService compiler,
Expression expression)
Generate bytecode to get the ValueOf text from the instruction
Precondition: none.
|
protected boolean |
isNoNodeIfEmpty(Expression expr)
Overridable method to ask whether no node should be produced in the case that the content is empty
|
protected void |
pushNode(CompilerService compiler,
Expression expression)
Generate code to write the node to the current receiver.
|
checkContent, compileNodeName, compileToPush, isNamedNodeKindcompileToIteratorcompileToBooleanallocateStatic, compileItemFromInt, compileItemFromString, compileToLoop, compileToPrimitive, generateMethod, handleEmptyStringResult, throwXPathException, throwXPathException, unboxItem, verify, visitAnnotation, visitLineNumberpublic void compileToItem(CompilerService compiler, Expression expression) throws CannotCompileException
compileToItem in class SimpleNodeConstructorCompilercompiler - the compiler serviceexpression - the expression to be compiledCannotCompileExceptionprotected boolean isNoNodeIfEmpty(Expression expr)
isNoNodeIfEmpty in class SimpleNodeConstructorCompilerprotected void pushNode(CompilerService compiler, Expression expression)
pushNode in class SimpleNodeConstructorCompilercompiler - expression - Copyright (c) 2004-2013 Saxonica Limited. All rights reserved.