com.saxonica.codegen
Class CommentCompiler

java.lang.Object
  extended by com.saxonica.codegen.ExpressionCompiler
      extended by com.saxonica.codegen.PushExpressionCompiler
          extended by com.saxonica.codegen.CommentCompiler

public class CommentCompiler
extends PushExpressionCompiler

Compile a comment constructor to Java source code


Constructor Summary
CommentCompiler()
           
 
Method Summary
 void compilePush(CompilerService compiler, Expression expr)
          Generate Java code to execute the expression in push mode, that is, code to write events to the current output Receiver
 
Methods inherited from class com.saxonica.codegen.PushExpressionCompiler
compileToCharSequence, compileToEffectiveBooleanValue, compileToItem, compileToIterator, getStaticBaseURI, prepareToPush
 
Methods inherited from class com.saxonica.codegen.ExpressionCompiler
compileAsLoop, compileToValueRepresentation
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommentCompiler

public CommentCompiler()
Method Detail

compilePush

public void compilePush(CompilerService compiler,
                        Expression expr)
Description copied from class: ExpressionCompiler
Generate Java code to execute the expression in push mode, that is, code to write events to the current output Receiver

Specified by:
compilePush in class ExpressionCompiler
Parameters:
compiler - the compiler service
expr - the expression to be compiled


Copyright (C) Michael H. Kay. All rights reserved.