gnu.kawa.xml

Class NodeConstructor

public abstract class NodeConstructor extends MethodProc implements Inlineable

Method Summary
voidcompile(ApplyExp exp, Compilation comp, Target target)
static voidcompileChild(Expression arg, Compilation comp, ConsumerTarget target)
abstract voidcompileToNode(ApplyExp exp, Compilation comp, ConsumerTarget target)
static voidcompileUsingNodeTree(Expression exp, Compilation comp, Target target)
Compile an expression using a fresh NodeTree.
static KNodefinishNode(XMLFilter filter)
TypegetReturnType(Expression[] args)
static XMLFiltermakeNode()
static voidpopNodeConsumer(Consumer saved, Consumer current)
static voidpopNodeContext(Consumer saved, CallContext ctx)
static XMLFilterpushNodeConsumer(Consumer out)
static XMLFilterpushNodeContext(CallContext ctx)

Method Detail

compile

public void compile(ApplyExp exp, Compilation comp, Target target)

compileChild

public static void compileChild(Expression arg, Compilation comp, ConsumerTarget target)

compileToNode

public abstract void compileToNode(ApplyExp exp, Compilation comp, ConsumerTarget target)

compileUsingNodeTree

public static void compileUsingNodeTree(Expression exp, Compilation comp, Target target)
Compile an expression using a fresh NodeTree. Compare with ConsumerTarget.compileUsingConsumer, but creates a NodeTree.

finishNode

public static KNode finishNode(XMLFilter filter)

getReturnType

public Type getReturnType(Expression[] args)

makeNode

public static XMLFilter makeNode()

popNodeConsumer

public static void popNodeConsumer(Consumer saved, Consumer current)

popNodeContext

public static void popNodeContext(Consumer saved, CallContext ctx)

pushNodeConsumer

public static XMLFilter pushNodeConsumer(Consumer out)

pushNodeContext

public static XMLFilter pushNodeContext(CallContext ctx)