Mercurial > projects > dil
comparison trunk/src/dil/ast/Declaration.d @ 786:3b34f6a95a27
Added and revised documenation comments.
author | Aziz K?ksal <aziz.koeksal@gmail.com> |
---|---|
date | Sun, 24 Feb 2008 02:41:11 +0100 |
parents | 2a71e2f50e13 |
children | 5fe89bb8cbdd |
comparison
equal
deleted
inserted
replaced
785:57ef69eced96 | 786:3b34f6a95a27 |
---|---|
15 { | 15 { |
16 super(NodeCategory.Declaration); | 16 super(NodeCategory.Declaration); |
17 } | 17 } |
18 | 18 |
19 // Members relevant to semantic phase. | 19 // Members relevant to semantic phase. |
20 StorageClass stc; /// The storage class of this declaration. | 20 StorageClass stc; /// The storage classes of this declaration. |
21 Protection prot; /// The protection attribute of this declaration. | 21 Protection prot; /// The protection attribute of this declaration. |
22 | 22 |
23 final bool isStatic() | 23 final bool isStatic() |
24 { | 24 { |
25 return !!(stc & StorageClass.Static); | 25 return !!(stc & StorageClass.Static); |