public class NamespaceConstructorCompiler extends SimpleNodeConstructorCompiler
Constructor and Description |
---|
NamespaceConstructorCompiler() |
Modifier and Type | Method and Description |
---|---|
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.
|
checkContent, compileToItem, compileToPush, isNoNodeIfEmpty
compileToIterator
compileToBoolean
allocateStatic, compileItemFromInt, compileToLoop, compileToPrimitive, generateMethod, handleEmptyStringResult, printStackTop, unboxItem, verify, visitAnnotation, visitLineNumber
protected boolean isNamedNodeKind()
isNamedNodeKind
in class SimpleNodeConstructorCompiler
protected void compileNodeName(CompilerService compiler, Expression expression) throws CannotCompileException
compileNodeName
in class SimpleNodeConstructorCompiler
CannotCompileException
protected void pushNode(CompilerService compiler, Expression expression)
pushNode
in class SimpleNodeConstructorCompiler
compiler
- expression
- Copyright (c) 2004-2018 Saxonica Limited. All rights reserved.