|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.farrago.ojrex.FarragoOJRexImplementor
public abstract class FarragoOJRexImplementor
FarragoOJRexImplementor refines OJRexImplementor
to provide
Farrago-specific context.
Constructor Summary | |
---|---|
FarragoOJRexImplementor()
|
Method Summary | |
---|---|
boolean |
canImplement(RexCall call)
Tests whether it is possible to implement a call. |
Expression |
implement(RexToOJTranslator translator,
RexCall call,
Expression[] operands)
Implements a single RexCall . |
abstract Expression |
implementFarrago(FarragoRexToOJTranslator translator,
RexCall call,
Expression[] operands)
Refined version of OJRexImplementor.implement(org.eigenbase.oj.rex.RexToOJTranslator, org.eigenbase.rex.RexCall, openjava.ptree.Expression[]) . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FarragoOJRexImplementor()
Method Detail |
---|
public Expression implement(RexToOJTranslator translator, RexCall call, Expression[] operands)
OJRexImplementor
RexCall
.
implement
in interface OJRexImplementor
translator
- provides translation contextcall
- the call to be translatedoperands
- call's operands, which have already been translated
independentlypublic abstract Expression implementFarrago(FarragoRexToOJTranslator translator, RexCall call, Expression[] operands)
OJRexImplementor.implement(org.eigenbase.oj.rex.RexToOJTranslator, org.eigenbase.rex.RexCall, openjava.ptree.Expression[])
.
translator
- provides Farrago-specific translation contextcall
- the call to be translatedoperands
- call's operands, which have already been translated
independentlypublic boolean canImplement(RexCall call)
OJRexImplementor
canImplement
in interface OJRexImplementor
call
- the call for which translation is being considered
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |