public class ProcessingInstructionCompiler extends SimpleNodeConstructorCompiler
| Constructor and Description |
|---|
ProcessingInstructionCompiler() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkContent(CompilerService compiler,
Expression expression)
Compile code to check the content of the node, and adjust it if necessary
On entry the proposed content is on the stack as a CharSequence; on exit the revised content
must be on the stack as a CharSequence.
|
protected void |
compileNodeName(CompilerService compiler,
Expression expression)
Compile code to generate the node name (if any) and leave it on the top of the stack.
|
protected boolean |
isNamedNodeKind()
Ask whether this instruction generates a kind of node that is named
|
protected void |
pushNode(CompilerService compiler,
Expression expression)
Generate code to write the node to the current receiver.
|
compileToItem, compileToPush, isNoNodeIfEmptycompileToIteratorcompileToBooleanallocateStatic, compileItemFromInt, compileToLoop, compileToPrimitive, generateMethod, handleEmptyStringResult, printStackTop, unboxItem, verify, visitAnnotation, visitLineNumberprotected boolean isNamedNodeKind()
isNamedNodeKind in class SimpleNodeConstructorCompilerprotected void compileNodeName(CompilerService compiler, Expression expression) throws CannotCompileException
compileNodeName in class SimpleNodeConstructorCompilerCannotCompileExceptionpublic void checkContent(CompilerService compiler, Expression expression)
SimpleNodeConstructorCompilercheckContent in class SimpleNodeConstructorCompilerprotected void pushNode(CompilerService compiler, Expression expression)
pushNode in class SimpleNodeConstructorCompilercompiler - expression - Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.