com.saxonica.bytecode.util
Class CompilerClassMapper
java.lang.Object
com.saxonica.bytecode.util.CompilerClassMapper
public class CompilerClassMapper
- extends Object
For each class of expression found on the expression tree, deliver a corresponding instance of the
helper class used to generate Java code for the expression
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
map
public static HashMap<Class<? extends Expression>,ExpressionCompiler> map
CompilerClassMapper
public CompilerClassMapper()
map
public static ExpressionCompiler map(Expression exp)
throws CannotCompileException
- Find the expression compiler appropriate to a particular expression
- Parameters:
exp
- the expression to be compiled
- Returns:
- the relevant ExpressionCompiler
- Throws:
CannotCompileException
- if the expression cannot be compiled
Copyright (c) 2004-2011 Saxonica Limited. All rights reserved.