Package com.saxonica.ee.bytecode
Class SingletonIntersectExpressionCompiler
- java.lang.Object
 - 
- com.saxonica.ee.bytecode.ExpressionCompiler
 - 
- com.saxonica.ee.bytecode.ToIteratorCompiler
 - 
- com.saxonica.ee.bytecode.SingletonIntersectExpressionCompiler
 
 
 
 
- 
public class SingletonIntersectExpressionCompiler extends ToIteratorCompiler
Bytecode generation for an expression of the form (A intersect B) where A is a singleton 
- 
- 
Constructor Summary
Constructors Constructor Description SingletonIntersectExpressionCompiler() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcompileToIterator(CompilerService compiler, Expression expression)Generate bytecode to evaluate the expression as aSequenceIteratorPrecondition: none.- 
Methods inherited from class com.saxonica.ee.bytecode.ToIteratorCompiler
compileToBoolean, compileToItem, compileToPush 
- 
Methods inherited from class com.saxonica.ee.bytecode.ExpressionCompiler
allocateStatic, compileItemFromInt, compileToPrimitive, generateMethod, handleEmptyStringResult, printStackTop, verify, visitAnnotation, visitLineNumber 
 - 
 
 - 
 
- 
- 
Method Detail
- 
compileToIterator
public void compileToIterator(CompilerService compiler, Expression expression) throws CannotCompileException
Generate bytecode to evaluate the expression as aSequenceIteratorPrecondition: none. Postcondition: at execution time, the stack contains a SequenceIterator representing the result of the expression- Specified by:
 compileToIteratorin classExpressionCompiler- Parameters:
 compiler- the compiler serviceexpression- the expression to be compiled- Throws:
 CannotCompileException- if the expression cannot be compiled to bytecode
 
 - 
 
 -