gnu.xquery.util
Class CompileMisc

java.lang.Object
  extended by gnu.xquery.util.CompileMisc

public class CompileMisc
extends java.lang.Object


Constructor Summary
CompileMisc()
           
 
Method Summary
static void compileOrderedMap(ApplyExp exp, Compilation comp, Target target, Procedure proc)
           
static Expression validateApplyCastableAs(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc)
           
static Expression validateApplyCastAs(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc)
           
static Expression validateApplyOrderedMap(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc)
           
static Expression validateApplyRelativeStep(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc)
           
static Expression validateApplyValuesFilter(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc)
          Inliner for the ValuesFilter procedure.
static Expression validateArithOp(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc)
          Inliner for the ArithOp procedure.
static Expression validateBooleanValue(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc)
          Inliner for the BooleanValue procedure.
static Expression validateCompare(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc)
          Inliner for the Compare procedure.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompileMisc

public CompileMisc()
Method Detail

validateCompare

public static Expression validateCompare(ApplyExp exp,
                                         InlineCalls visitor,
                                         Type required,
                                         Procedure proc)
Inliner for the Compare procedure.


validateBooleanValue

public static Expression validateBooleanValue(ApplyExp exp,
                                              InlineCalls visitor,
                                              Type required,
                                              Procedure proc)
Inliner for the BooleanValue procedure.


validateArithOp

public static Expression validateArithOp(ApplyExp exp,
                                         InlineCalls visitor,
                                         Type required,
                                         Procedure proc)
Inliner for the ArithOp procedure.


validateApplyValuesFilter

public static Expression validateApplyValuesFilter(ApplyExp exp,
                                                   InlineCalls visitor,
                                                   Type required,
                                                   Procedure proc)
Inliner for the ValuesFilter procedure.


validateApplyRelativeStep

public static Expression validateApplyRelativeStep(ApplyExp exp,
                                                   InlineCalls visitor,
                                                   Type required,
                                                   Procedure proc)

validateApplyOrderedMap

public static Expression validateApplyOrderedMap(ApplyExp exp,
                                                 InlineCalls visitor,
                                                 Type required,
                                                 Procedure proc)

compileOrderedMap

public static void compileOrderedMap(ApplyExp exp,
                                     Compilation comp,
                                     Target target,
                                     Procedure proc)

validateApplyCastAs

public static Expression validateApplyCastAs(ApplyExp exp,
                                             InlineCalls visitor,
                                             Type required,
                                             Procedure proc)

validateApplyCastableAs

public static Expression validateApplyCastableAs(ApplyExp exp,
                                                 InlineCalls visitor,
                                                 Type required,
                                                 Procedure proc)