Mercurial > projects > ddmd
annotate dmd/ModAssignExp.d @ 56:51605de93870
TupleExp.optimize
UnrolledLoopStatement.ctor
UnrolledLoopStatement.semantic
UnrolledLoopStatement.blockExit
OrOrExp.checkSideEffect
FuncExp.syntaxCopy
FuncLiteralDeclaration.syntaxCopy
WhileStatement.hasBreak
StructInitializer.toExpression
StructLiteralExp.ctor
StructLiteralExp.optimize
BinExp.commonSemanticAssign
ModAssignExp.opId
Argument.isLazyArray
CommaExp.implicitConvTo
CommaExp.castTo
TypeClass.isBaseOf
createTypeInfoArray
TypeTuple.getTypeInfoDeclaration
TypeInfoTupleDeclaration.ctor
TypeNext.constConv
XorExp.implicitConvTo
TemplateParameter.isTemplateValueParameter
author | korDen |
---|---|
date | Sat, 21 Aug 2010 14:16:53 +0400 |
parents | 01cadcfa4842 |
children | cab4c37afb89 |
rev | line source |
---|---|
0 | 1 module dmd.ModAssignExp; |
2 | |
3 import dmd.BinExp; | |
4 import dmd.Loc; | |
5 import dmd.Expression; | |
6 import dmd.Scope; | |
7 import dmd.InterState; | |
8 import dmd.OutBuffer; | |
9 import dmd.ArrayTypes; | |
10 import dmd.Identifier; | |
11 import dmd.IRState; | |
12 import dmd.TOK; | |
56 | 13 import dmd.Id; |
0 | 14 |
15 import dmd.backend.elem; | |
16 | |
17 class ModAssignExp : BinExp | |
18 { | |
19 this(Loc loc, Expression e1, Expression e2) | |
20 { | |
19
01cadcfa4842
Implemented CompileExp, ConditionalDeclaration, ModAssignExp, parsingmixin statements, TemplateAliasParameters, TemplateMixins, TypeDArray.
Robert Clipsham <robert@octarineparrot.com>
parents:
0
diff
changeset
|
21 super(loc, TOK.TOKmodass, this.sizeof, e1, e2); |
0 | 22 } |
23 | |
24 Expression semantic(Scope sc) | |
25 { | |
19
01cadcfa4842
Implemented CompileExp, ConditionalDeclaration, ModAssignExp, parsingmixin statements, TemplateAliasParameters, TemplateMixins, TypeDArray.
Robert Clipsham <robert@octarineparrot.com>
parents:
0
diff
changeset
|
26 return commonSemanticAssign(sc); |
0 | 27 } |
28 | |
29 Expression interpret(InterState* istate) | |
30 { | |
31 assert(false); | |
32 } | |
33 | |
34 void buildArrayIdent(OutBuffer buf, Expressions arguments) | |
35 { | |
36 assert(false); | |
37 } | |
38 | |
39 Expression buildArrayLoop(Arguments fparams) | |
40 { | |
41 assert(false); | |
42 } | |
43 | |
44 Identifier opId() /* For operator overloading */ | |
45 { | |
56 | 46 return Id.modass; |
0 | 47 } |
48 | |
49 elem* toElem(IRState* irs) | |
50 { | |
51 assert(false); | |
52 } | |
19
01cadcfa4842
Implemented CompileExp, ConditionalDeclaration, ModAssignExp, parsingmixin statements, TemplateAliasParameters, TemplateMixins, TypeDArray.
Robert Clipsham <robert@octarineparrot.com>
parents:
0
diff
changeset
|
53 } |