comparison trunk/src/dil/ast/DefaultVisitor.d @ 689:8e38774d562b

Added some methods to ArrayType.
author Aziz K?ksal <aziz.koeksal@gmail.com>
date Tue, 22 Jan 2008 14:59:12 +0100
parents 1ae72234db26
children 19a34b69cc7d
comparison
equal deleted inserted replaced
688:839c0c61af2b 689:8e38774d562b
301 static if (is(T == ArrayType)) 301 static if (is(T == ArrayType))
302 { 302 {
303 visitT(t.next); 303 visitT(t.next);
304 if (t.assocType) 304 if (t.assocType)
305 visitT(t.assocType); 305 visitT(t.assocType);
306 else if (t.e) 306 else if (t.e1)
307 visitE(t.e), t.e2 && visitE(t.e2); 307 visitE(t.e1), t.e2 && visitE(t.e2);
308 } 308 }
309 static if (is(T == FunctionType) || is(T == DelegateType)) 309 static if (is(T == FunctionType) || is(T == DelegateType))
310 visitT(t.returnType), visitN(t.params); 310 visitT(t.returnType), visitN(t.params);
311 static if (is(T == CFuncPointerType)) 311 static if (is(T == CFuncPointerType))
312 visitT(t.next), t.params && visitN(t.params); 312 visitT(t.next), t.params && visitN(t.params);