Differences From Artifact [79038e8ac0f7ba6a]:
- File
polemy/layer.d
- 2010-11-23 07:42:13 - part of checkin [6ac127ddd0] on branch trunk - new evaluator (user: kinaba) [annotate]
To Artifact [62182a8e7452f9e8]:
- File
polemy/layer.d
- 2010-11-23 09:36:27 - part of checkin [b97bd4f713] on branch trunk - automatic AST to table encoder (user: kinaba) [annotate]
12 12
13 alias string Layer; 13 alias string Layer;
14 14
15 enum : Layer 15 enum : Layer
16 { 16 {
17 SystemLayer = "(system)", /// Predefined layer for internal data 17 SystemLayer = "(system)", /// Predefined layer for internal data
18 ValueLayer = "@value", /// Predefined layer for normal run 18 ValueLayer = "@value", /// Predefined layer for normal run
19 MacroLayer = "@macro", /// Predefined layer for macro run | 19 MacroLayer = "@macro", /// Predefined layer for macro run (@lay()
20 RawMacroLayer = "(rawmacro)", /// Predefined layer for raw-macro run | 20 RawMacroLayer = "(rawmacro)", /// Predefined layer for macro run (@lay()
> 21 }
> 22
> 23 bool isMacroishLayer( Layer lay )
> 24 {
> 25 return lay==MacroLayer || lay==RawMacroLayer;
> 26 }
> 27
> 28 bool isNoLayerChangeLayer( Layer lay )
> 29 {
> 30 return lay==RawMacroLayer;
21 } 31 }