public class ComputedElementCompiler extends ElementCreatorCompiler
Constructor and Description |
---|
ComputedElementCompiler() |
Modifier and Type | Method and Description |
---|---|
void |
identifyExpression(CompilerService compiler,
Expression expression,
java.lang.String evalMode) |
protected void |
outputNamespaceNodes(CompilerService compiler,
Expression expression)
Callback for subclasses to implement: generate code to output namespace nodes
|
protected void |
pushNodeName(CompilerService compiler,
Expression expression)
Callback from the superclass ElementCreatorCompiler to get the NodeName.
|
addTypeStripper, compileToPush
compileToItem, compileToIterator
compileToBoolean
allocateStatic, compileItemFromInt, compileToPrimitive, generateMethod, handleEmptyStringResult, printStackTop, verify, visitAnnotation, visitLineNumber
protected void pushNodeName(CompilerService compiler, Expression expression) throws CannotCompileException
pushNodeName
in class ElementCreatorCompiler
compiler
- the compiler serviceexpression
- the expression to be compiledCannotCompileException
- if the expression cannot be compiled to bytecodeprotected void outputNamespaceNodes(CompilerService compiler, Expression expression)
ElementCreatorCompiler
outputNamespaceNodes
in class ElementCreatorCompiler
compiler
- the compiler serviceexpression
- the expression to be compiledpublic void identifyExpression(CompilerService compiler, Expression expression, java.lang.String evalMode)
identifyExpression
in class ElementCreatorCompiler
Copyright (c) 2004-2020 Saxonica Limited. All rights reserved.