public class MatchesCompiler extends ToBooleanCompiler
Constructor and Description |
---|
MatchesCompiler() |
Modifier and Type | Method and Description |
---|---|
void |
compileToBoolean(CompilerService compiler,
Expression expression)
Generate bytecode to evaluate the expression as a boolean
Precondition: none.
|
compileToItem, compileToIterator, compileToPush
allocateStatic, compileItemFromInt, compileToLoop, compileToPrimitive, generateMethod, handleEmptyStringResult, printStackTop, unboxItem, verify, visitAnnotation, visitLineNumber
public void compileToBoolean(CompilerService compiler, Expression expression) throws CannotCompileException
compileToBoolean
in class ExpressionCompiler
compiler
- the compiler serviceexpression
- the expression to be compiledCannotCompileException
Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.