|
Revision 189, 0.9 kB
(checked in by braddr, 3 years ago)
|
add property svn:eol-style = native to all files
|
- Property svn:eol-style set to
native
|
| Line | |
|---|
| 1 |
// Compiler implementation of the D programming language |
|---|
| 2 |
// Copyright (c) 2009-2009 by Digital Mars |
|---|
| 3 |
// All Rights Reserved |
|---|
| 4 |
// written by Walter Bright |
|---|
| 5 |
// http://www.digitalmars.com |
|---|
| 6 |
// License for redistribution is by either the Artistic License |
|---|
| 7 |
// in artistic.txt, or the GNU General Public License in gnu.txt. |
|---|
| 8 |
// See the included readme.txt for details. |
|---|
| 9 |
|
|---|
| 10 |
#ifndef DMD_ALIASTHIS_H |
|---|
| 11 |
#define DMD_ALIASTHIS_H |
|---|
| 12 |
|
|---|
| 13 |
#ifdef __DMC__ |
|---|
| 14 |
#pragma once |
|---|
| 15 |
#endif /* __DMC__ */ |
|---|
| 16 |
|
|---|
| 17 |
#include "mars.h" |
|---|
| 18 |
#include "dsymbol.h" |
|---|
| 19 |
|
|---|
| 20 |
/**************************************************************/ |
|---|
| 21 |
|
|---|
| 22 |
#if DMDV2 |
|---|
| 23 |
|
|---|
| 24 |
struct AliasThis : Dsymbol |
|---|
| 25 |
{ |
|---|
| 26 |
// alias Identifier this; |
|---|
| 27 |
Identifier *ident; |
|---|
| 28 |
|
|---|
| 29 |
AliasThis(Loc loc, Identifier *ident); |
|---|
| 30 |
|
|---|
| 31 |
Dsymbol *syntaxCopy(Dsymbol *); |
|---|
| 32 |
void semantic(Scope *sc); |
|---|
| 33 |
const char *kind(); |
|---|
| 34 |
void toCBuffer(OutBuffer *buf, HdrGenState *hgs); |
|---|
| 35 |
AliasThis *isAliasThis() { return this; } |
|---|
| 36 |
}; |
|---|
| 37 |
|
|---|
| 38 |
#endif |
|---|
| 39 |
|
|---|
| 40 |
#endif |
|---|