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, isNoNodeIfEmpty
compileToIterator
compileToBoolean
allocateStatic, compileItemFromInt, compileToLoop, compileToPrimitive, generateMethod, handleEmptyStringResult, printStackTop, unboxItem, verify, visitAnnotation, visitLineNumber
public void checkContent(CompilerService compiler, Expression expression)
checkContent
in class SimpleNodeConstructorCompiler
compiler
- expression
- protected void pushNode(CompilerService compiler, Expression expression)
pushNode
in class SimpleNodeConstructorCompiler
compiler
- expression
- Copyright (c) 2004-2018 Saxonica Limited. All rights reserved.