Lines Matching defs:ex
708 Expression *ex = new TemplateExp(e->loc, td, f);
709 ex = semantic(ex, sc);
710 return ex;
716 Expression *ex = new VarExp(e->loc, fld, true);
717 return semantic(ex, sc);
733 Expression *ex = isExpression((*e->args)[1]);
734 if (!ex)
739 ex = ex->ctfeInterpret();
741 StringExp *se = ex->toStringExp();
744 e->error("string expected as second argument of __traits %s instead of %s", e->ident->toChars(), ex->toChars());
761 ex = new DsymbolExp(e->loc, sym);
762 ex = new DotIdExp(e->loc, ex, id);
765 ex = typeDotIdExp(e->loc, t, id);
767 ex = new DotIdExp(e->loc, ex2, id);
786 ex = trySemantic(ex, scx);
788 return ex ? True(e) : False(e);
792 if (ex->op == TOKdotid)
794 ((DotIdExp *)ex)->wantsym = true;
797 ex = semantic(ex, scx);
799 return ex;
806 Expression *eorig = ex;
809 ex = semantic(ex, scx);
812 //ex->print();
814 /* Create tuple of functions of ex
818 if (ex->op == TOKvar)
820 VarExp *ve = (VarExp *)ex;
822 ex = NULL;
824 else if (ex->op == TOKdotvar)
826 DotVarExp *dve = (DotVarExp *)ex;
829 ex = NULL;
831 ex = dve->e1;
837 p.e1 = ex;
841 ex = new TupleExp(e->loc, exps);
842 ex = semantic(ex, scx);
844 return ex;
891 Expression *ex = new TupleExp(e->loc, exps);
892 ex = semantic(ex, sc);
893 return ex;
1058 Expression *ex = isExpression((*e->args)[1]);
1059 if (!ex)
1065 ex = ex->ctfeInterpret();
1066 uinteger_t ii = ex->toUInteger();
1069 e->error("parameter index must be in range 0..%u not %s", (unsigned)Parameter::dim(fparams), ex->toChars());
1308 Expression *ex = new TupleExp(e->loc, exps);
1309 ex = semantic(ex, sc);
1310 return ex;
1331 Expression *ex = t ? typeToExpression(t) : isExpression(o);
1332 if (!ex && t)
1335 t->resolve(e->loc, sc2, &ex, &t, &s);
1345 if (ex)
1347 ex = semantic(ex, sc2);
1348 ex = resolvePropertiesOnly(sc2, ex);
1349 ex = ex->optimize(WANTvalue);
1353 canThrow(ex, sc2->func, tf->isnothrow);
1355 ex = checkGC(sc2, ex);
1356 if (ex->op == TOKerror)