public class CommentCompiler extends SimpleNodeConstructorCompiler
| Constructor and Description |
|---|
CommentCompiler() |
| 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 |
pushNode(CompilerService compiler,
Expression expression)
Generate code to write the node to the current receiver.
|
compileNodeName, compileToItem, compileToPush, isNamedNodeKind, isNoNodeIfEmptycompileToIteratorcompileToBooleanallocateStatic, compileItemFromInt, compileToPrimitive, generateMethod, handleEmptyStringResult, printStackTop, verify, visitAnnotation, visitLineNumberpublic void checkContent(CompilerService compiler, Expression expression)
checkContent in class SimpleNodeConstructorCompilercompiler - the compiler serviceexpression - the expression to be compiledprotected void pushNode(CompilerService compiler, Expression expression)
pushNode in class SimpleNodeConstructorCompilercompiler - the compiler serviceexpression - the expression to be compiledCopyright (c) 2004-2020 Saxonica Limited. All rights reserved.