Mercurial > projects > dil
comparison trunk/src/dil/ast/Types.d @ 694:19a34b69cc7d
Renamed some members of BinaryExpression and QualifiedType.
Added visit(TypeofType) to SemanticPass2.
author | Aziz K?ksal <aziz.koeksal@gmail.com> |
---|---|
date | Tue, 22 Jan 2008 20:56:10 +0100 |
parents | 8e38774d562b |
children | 65ad2f96df1f |
comparison
equal
deleted
inserted
replaced
693:56100b270897 | 694:19a34b69cc7d |
---|---|
62 } | 62 } |
63 | 63 |
64 /// Type "." Type | 64 /// Type "." Type |
65 class QualifiedType : TypeNode | 65 class QualifiedType : TypeNode |
66 { | 66 { |
67 alias next left; | 67 alias next lhs; /// Left-hand side type. |
68 TypeNode right; | 68 TypeNode rhs; /// Right-hand side type. |
69 this(TypeNode left, TypeNode right) | 69 this(TypeNode lhs, TypeNode rhs) |
70 { | 70 { |
71 super(left); | 71 super(lhs); |
72 mixin(set_kind); | 72 mixin(set_kind); |
73 addChild(right); | 73 addChild(rhs); |
74 this.right = right; | 74 this.rhs = rhs; |
75 } | 75 } |
76 } | 76 } |
77 | 77 |
78 /// "." Type | 78 /// "." Type |
79 class ModuleScopeType : TypeNode | 79 class ModuleScopeType : TypeNode |