comparison trunk/src/dil/ast/DefaultVisitor.d @ 683:1ae72234db26

Implemented some methods in SemanticPass1. Renamed Symbol.ident to name. Added a constructor to Symbol. Adapted constructors of classes that inherit from Symbol. Added Alias and OverloadSet Symbol classes. Renamed idents and values to names and inits in VariablesDeclaration.
author Aziz K?ksal <aziz.koeksal@gmail.com>
date Mon, 21 Jan 2008 17:10:12 +0100
parents 7541c64fc423
children 8e38774d562b
comparison
equal deleted inserted replaced
682:7541c64fc423 683:1ae72234db26
70 visitN(d.params), 70 visitN(d.params),
71 visitS(d.funcBody); 71 visitS(d.funcBody);
72 static if (is(D == VariablesDeclaration)) 72 static if (is(D == VariablesDeclaration))
73 { 73 {
74 d.typeNode && visitT(d.typeNode); 74 d.typeNode && visitT(d.typeNode);
75 foreach(value; d.values) 75 foreach(init; d.inits)
76 value && visitE(value); 76 init && visitE(init);
77 } 77 }
78 static if (is(D == DebugDeclaration) || is(D == VersionDeclaration)) 78 static if (is(D == DebugDeclaration) || is(D == VersionDeclaration))
79 d.decls && visitD(d.decls), 79 d.decls && visitD(d.decls),
80 d.elseDecls && visitD(d.elseDecls); 80 d.elseDecls && visitD(d.elseDecls);
81 static if (is(D == StaticIfDeclaration)) 81 static if (is(D == StaticIfDeclaration))