comparison dmd/AndExp.d @ 12:832f71e6f96c

*Exp and *AssignExp arrayOp implementation added (might be a bit incomplete) Some unittest-specific functions implemented
author korDen
date Mon, 12 Apr 2010 15:13:00 +0400
parents 10317f0c89a5
children a8b50ff7f201
comparison
equal deleted inserted replaced
11:3356c90e9aac 12:832f71e6f96c
78 assert(false); 78 assert(false);
79 } 79 }
80 80
81 void buildArrayIdent(OutBuffer buf, Expressions arguments) 81 void buildArrayIdent(OutBuffer buf, Expressions arguments)
82 { 82 {
83 assert(false); 83 Exp_buildArrayIdent(buf, arguments, "And");
84 } 84 }
85 85
86 Expression buildArrayLoop(Arguments fparams) 86 Expression buildArrayLoop(Arguments fparams)
87 { 87 {
88 assert(false); 88 /* Evaluate assign expressions left to right
89 */
90 Expression ex1 = e1.buildArrayLoop(fparams);
91 Expression ex2 = e2.buildArrayLoop(fparams);
92 Expression e = new AndExp(Loc(0), ex1, ex2);
93 return e;
89 } 94 }
90 95
91 IntRange getIntRange() 96 IntRange getIntRange()
92 { 97 {
93 assert(false); 98 assert(false);