gnu.expr

Class IfExp

public class IfExp extends Expression

This class represents a conditional.
Constructor Summary
IfExp(Expression i, Expression t, Expression e)
Method Summary
voidapply(CallContext ctx)
voidcompile(Compilation comp, Target target)
static voidcompile(Expression test, Expression then_clause, Expression else_clause, Compilation comp, Target target)
protected LanguagegetLanguage()
TypegetType()
protected booleanmustCompile()
voidprint(OutPort out)
protected Expressionwalk(ExpWalker walker)
protected voidwalkChildren(ExpWalker walker)

Constructor Detail

IfExp

public IfExp(Expression i, Expression t, Expression e)

Method Detail

apply

public void apply(CallContext ctx)

compile

public void compile(Compilation comp, Target target)

compile

public static void compile(Expression test, Expression then_clause, Expression else_clause, Compilation comp, Target target)

getLanguage

protected final Language getLanguage()

getType

public Type getType()

mustCompile

protected boolean mustCompile()

print

public void print(OutPort out)

walk

protected Expression walk(ExpWalker walker)

walkChildren

protected void walkChildren(ExpWalker walker)