comparison dmd/expression.h @ 1367:8026319762be

Merged DMD 1.045 !!!
author Tomas Lindquist Olsen <tomas.l.olsen gmail com>
date Sat, 16 May 2009 22:21:31 +0200
parents 78038e540342
children 229e02867307
comparison
equal deleted inserted replaced
1366:81121ac19f61 1367:8026319762be
201 DValue* toElem(IRState* irs); 201 DValue* toElem(IRState* irs);
202 llvm::Constant *toConstElem(IRState *irs); 202 llvm::Constant *toConstElem(IRState *irs);
203 #endif 203 #endif
204 }; 204 };
205 205
206 struct ErrorExp : IntegerExp
207 {
208 ErrorExp();
209
210 void toCBuffer(OutBuffer *buf, HdrGenState *hgs);
211 };
212
206 struct RealExp : Expression 213 struct RealExp : Expression
207 { 214 {
208 real_t value; 215 real_t value;
209 216
210 RealExp(Loc loc, real_t value, Type *type); 217 RealExp(Loc loc, real_t value, Type *type);
517 DValue* toElem(IRState* irs); 524 DValue* toElem(IRState* irs);
518 llvm::Constant *toConstElem(IRState *irs); 525 llvm::Constant *toConstElem(IRState *irs);
519 #endif 526 #endif
520 }; 527 };
521 528
522 struct TypeDotIdExp : Expression 529 Expression *typeDotIdExp(Loc loc, Type *type, Identifier *ident);
523 { 530 #if IN_DMD
524 Identifier *ident; 531 #endif
525 532
526 TypeDotIdExp(Loc loc, Type *type, Identifier *ident); 533 #if IN_LLVM
527 Expression *syntaxCopy(); 534 DValue* toElem(IRState* irs);
528 Expression *semantic(Scope *sc); 535 #endif
529 void toCBuffer(OutBuffer *buf, HdrGenState *hgs);
530 #if IN_DMD
531 elem *toElem(IRState *irs);
532 #endif
533
534 #if IN_LLVM
535 DValue* toElem(IRState* irs);
536 #endif
537 };
538 536
539 struct TypeExp : Expression 537 struct TypeExp : Expression
540 { 538 {
541 TypeExp(Loc loc, Type *type); 539 TypeExp(Loc loc, Type *type);
542 Expression *syntaxCopy(); 540 Expression *syntaxCopy();