Mercurial > projects > dil
comparison trunk/src/dil/ast/BaseClass.d @ 606:e98d659f1c29
Moved class BaseClass to module dil.ast.BaseClass.
author | Aziz K?ksal <aziz.koeksal@gmail.com> |
---|---|
date | Sun, 06 Jan 2008 01:19:29 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
605:9daa6c34c45a | 606:e98d659f1c29 |
---|---|
1 /++ | |
2 Author: Aziz Köksal | |
3 License: GPL3 | |
4 +/ | |
5 module dil.ast.BaseClass; | |
6 | |
7 import dil.ast.Node; | |
8 import dil.ast.Types; | |
9 import dil.Enums; | |
10 | |
11 class BaseClass : Node | |
12 { | |
13 Protection prot; | |
14 TypeNode type; | |
15 this(Protection prot, TypeNode type) | |
16 { | |
17 super(NodeCategory.Other); | |
18 mixin(set_kind); | |
19 addChild(type); | |
20 this.prot = prot; | |
21 this.type = type; | |
22 } | |
23 } |