Mercurial > projects > ddmd
comparison dmd/TypeDelegate.d @ 130:60bb0fe4563e
dmdfe 2.037 first main iteration
author | Eldar Insafutdinov <e.insafutdinov@gmail.com> |
---|---|
date | Thu, 09 Sep 2010 22:51:44 +0100 |
parents | e28b18c23469 |
children | af1bebfd96a4 |
comparison
equal
deleted
inserted
replaced
129:010eb8f0e18d | 130:60bb0fe4563e |
---|---|
14 import dmd.TypeFunction; | 14 import dmd.TypeFunction; |
15 import dmd.HdrGenState; | 15 import dmd.HdrGenState; |
16 import dmd.Expression; | 16 import dmd.Expression; |
17 import dmd.Identifier; | 17 import dmd.Identifier; |
18 import dmd.CppMangleState; | 18 import dmd.CppMangleState; |
19 import dmd.Argument; | 19 import dmd.Parameter; |
20 import dmd.Loc; | 20 import dmd.Loc; |
21 import dmd.Scope; | 21 import dmd.Scope; |
22 import dmd.TypeInfoDeclaration; | 22 import dmd.TypeInfoDeclaration; |
23 import dmd.TypeInfoDelegateDeclaration; | 23 import dmd.TypeInfoDelegateDeclaration; |
24 import dmd.TY; | 24 import dmd.TY; |
103 } | 103 } |
104 TypeFunction tf = cast(TypeFunction)next; | 104 TypeFunction tf = cast(TypeFunction)next; |
105 | 105 |
106 tf.next.toCBuffer2(buf, hgs, MODundefined); | 106 tf.next.toCBuffer2(buf, hgs, MODundefined); |
107 buf.writestring(" delegate"); | 107 buf.writestring(" delegate"); |
108 Argument.argsToCBuffer(buf, hgs, tf.parameters, tf.varargs); | 108 Parameter.argsToCBuffer(buf, hgs, tf.parameters, tf.varargs); |
109 } | 109 } |
110 | 110 |
111 override Expression defaultInit(Loc loc) | 111 override Expression defaultInit(Loc loc) |
112 { | 112 { |
113 version (LOGDEFAULTINIT) { | 113 version (LOGDEFAULTINIT) { |