|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--gnu.expr.Expression
|
+--gnu.expr.IfExp
This class represents a conditional.
| Constructor Summary | |
IfExp(Expression i,
Expression t,
Expression e)
|
|
| Method Summary | |
void |
compile(Compilation comp,
Target target)
|
static void |
compile(Expression test,
Expression then_clause,
Expression else_clause,
Compilation comp,
Target target)
|
java.lang.Object |
eval(Environment env)
|
protected Interpreter |
getInterpreter()
|
void |
print(java.io.PrintWriter ps)
|
| Methods inherited from class gnu.expr.Expression |
compile,
compileNotePosition,
compileWithPosition,
getColumn,
getFile,
getLine,
getType,
setFile,
setLine,
setLine |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public IfExp(Expression i,
Expression t,
Expression e)
| Method Detail |
protected final Interpreter getInterpreter()
public java.lang.Object eval(Environment env)
public void compile(Compilation comp,
Target target)
public static void compile(Expression test,
Expression then_clause,
Expression else_clause,
Compilation comp,
Target target)
public void print(java.io.PrintWriter ps)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||