org.basex.query
Class QueryCompiler

java.lang.Object
  extended by org.basex.query.QueryCompiler

public final class QueryCompiler
extends java.lang.Object

This class compiles all components of the query that are needed in an order that maximizes the amount of inlining possible.

Author:
BaseX Team 2005-12, BSD License, Leo Woerteler

Method Summary
static void compile(QueryContext ctx, MainModule root)
          Compiles all necessary parts of this query.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

compile

public static void compile(QueryContext ctx,
                           MainModule root)
                    throws QueryException
Compiles all necessary parts of this query.

Parameters:
ctx - query context
root - root expression
Throws:
QueryException - compilation errors