use of com.rockwellcollins.atc.agree.codegen.ast.expr.MATLABIfFunctionCall in project AGREE by loonwerks.
the class LustreToMATLABExprVisitor method visit.
@Override
public MATLABExpr visit(IfThenElseExpr e) {
MATLABExpr cond = e.cond.accept(this);
MATLABExpr ifExpr = e.thenExpr.accept(this);
MATLABExpr elseExpr = e.elseExpr.accept(this);
functionMap.get("ifFunction").functionCalled = true;
return new MATLABIfFunctionCall(cond, ifExpr, elseExpr);
}
Aggregations