org.makumba.providers.query
Class Pass1FunctionInliner
java.lang.Object
org.makumba.providers.query.Pass1FunctionInliner
public class Pass1FunctionInliner
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fact
static final HqlASTFactory fact
logger
public static Logger logger
functionCache
static int functionCache
Pass1FunctionInliner
public Pass1FunctionInliner()
inlineAST
public static antlr.collections.AST inlineAST(antlr.collections.AST parsed,
String provider)
- The core inliner method: inline functions in an AST tree
- Parameters:
provider
-
parseAndAddThis
static antlr.collections.AST parseAndAddThis(DataDefinition calleeType,
DataDefinition.QueryFragmentFunction func)
view
static String view(antlr.collections.AST a)
- View an AST e.g. in an error message
getMdd
static DataDefinition getMdd(antlr.collections.AST callee)
getMdd
static DataDefinition getMdd(String path)
main
public static void main(String[] args)
- Parameters:
args
-