D语言与大语言符号对应表 DMD 2.066.1

摘自DMD解析器lexer.c的keywords数组, 版本2.066.1
编号 D语言 大语言 说明
1 this 自身  
2 super 上级  
3 assert 断言  
4 null  
5 true  
6 false  
7 cast 投射  
8 new 创建  
9 delete 删除  
10 throw 抛出  
11 module 模块  
12 pragma 编指  
13 typeof 类型  
14 typeid 型号  
15 template 模板  
16 void 空位  
17 byte 微整  
18 ubyte 正微整  
19 short 短整  
20 ushort 正短整  
21 int 整数  
22 uint 正整数  
23 long 长整  
24 ulong 正长整  
25 cent 大整  
26 ucent 正大整  
27 float 小数  
28 double 长小数  
29 real 实数  
30 bool 逻辑  
31 char 字节  
32 wchar 宽字  
33 dchar 双宽  
34 ifloat i小数  
35 idouble i长小数  
36 ireal i实数  
37 cfloat c小数  
38 cdouble c长小数  
39 creal c实数  
40 delegate 委托  
41 function 功能  
42 is  
43 if 如果  
44 else 否则  
45 while 直到  
46 for 数到  
47 do 处理  
48 switch 判断  
49 case 条件  
50 default 默认  
51 break 跳出  
52 continue 继续  
53 synchronized 同步  
54 return 返回  
55 goto 跳至  
56 try 捕获  
57 catch 处理  
58 finally 结束  
59 with 同样  
60 asm 汇编  
61 foreach 每个  
62 foreach_reverse 每个逆  
63 scope 限于  
64 struct 结构  
65 class  
66 interface 接口  
67 union 联合  
68 enum 枚举  
69 import 导入  
70 mixin 混合  
71 static 静态  
72 final 最终  
73 const 常量  
74 typedef 定义  
75 alias 别名  
76 override 重载  
77 abstract 抽象  
78 volatile 易变  
79 debug 调试  
80 deprecated 过时  
81 in  
82 out  
83 inout 出入  
84 lazy 延载  
85 auto 自动  
86 align 对齐  
87 extern 外部  
88 private 私有  
89 package  
90 protected 保护  
91 public 公共  
92 export 导出  
93 body 主体  
94 invariant 不变  
95 unittest 元测  
96 version 版本  
97 __argTypes __参数类型表  
98 __parameters __参量表  
99 ref  
100 macro  
101 pure  
102 nothrow 不抛  
103 __gshared __共用  
104 __traits __特征  
105 __vector __矢量  
106 __overloadset __超载  
107 __FILE__ __文件__  
108 __LINE__ __行数__  
109 __MODULE__ __模块__  
110 __FUNCTION__ __函数__  
111 __PRETTY_FUNCTION__ __完美函数__  
112 shared 共享  
113 immutable 固定  
原文地址:https://www.cnblogs.com/wanhongnan/p/5702167.html