public class CastableExpressionCompiler extends ToBooleanCompiler
| Constructor and Description |
|---|
CastableExpressionCompiler() |
| Modifier and Type | Method and Description |
|---|---|
void |
compileIsCastable(CompilerService compiler,
CastableExpression castableExpr,
int atomicVar) |
void |
compileToBoolean(CompilerService compiler,
Expression expression)
Generate bytecode to evaluate the expression as a boolean
Precondition: none.
|
compileToItem, compileToIterator, compileToPushallocateStatic, compileItemFromInt, compileItemFromString, compileToLoop, compileToPrimitive, generateMethod, handleEmptyStringResult, throwXPathException, throwXPathException, unboxItem, verify, visitAnnotation, visitLineNumberpublic void compileToBoolean(CompilerService compiler, Expression expression) throws CannotCompileException
ExpressionCompilercompileToBoolean in class ExpressionCompilercompiler - the compiler serviceexpression - the expression to be compiledCannotCompileExceptionpublic void compileIsCastable(CompilerService compiler, CastableExpression castableExpr, int atomicVar)
Copyright (c) 2004-2013 Saxonica Limited. All rights reserved.