没有合适的资源?快使用搜索试试~ 我知道了~
haXe2语言参考手册(英文)

温馨提示


试读
52页
haXe语言参考手册,全面的介绍了haXe语言的各个方面,章节列表如下: 基本类型 语法 类型推断 面向对象 类型参数(泛型) 枚举Enum 包和导入(import) 动态类型Dynamic 高级类型 迭代子Iterator 属性Properties 可选参数 条件编译 内联inline 关键字列表
资源推荐
资源详情
资源评论
















haXe 2
Language Reference
(Last Updated: 24 Sep 2010)
haXe2
1

Table of Contents
1. Basic Types! 6
2. Syntax! 7
2.1. Constants! 7
2.2. Operations! 7
2.3. Unary operations! 8
2.4. Parentheses! 8
2.5. Blocks! 8
2.6. Local Variables! 9
2.8. Field access! 10
2.9. Calls! 10
2.10. New! 10
2.11. Arrays! 10
2.12. If! 11
2.13. While! 11
2.14. For! 12
2.15. Return! 12
2.16. Break and Continue! 13
2.17. Exceptions! 13
2.18. Switch! 14
2.19. Local Functions! 14
2.20. Anonymous Objects! 15
3. Type Inference! 16
3.1. Printing a Type! 16
3.2. Local variable inference! 16
haXe2
2

3.3. Function types inference! 16
3.4. Inference and type parameters! 17
3.5. User Choice! 18
4. Object Oriented Programming! 19
4.1. Classes! 19
4.2. Constructor! 20
4.3. Class Inheritance! 20
4.4. Extends! 20
4.5. Implements! 21
4.6. Interfaces! 21
4.7. Helper Classes! 21
5. Type Parameters! 23
5.1. Constraint Parameters! 23
6. Enums! 24
6.1. Constructors parameters! 24
6.2. Switch on Enum! 25
6.3. Switch with Constructor Parameters! 25
6.4. Enum Type Parameters! 26
6.5. Using Enums as default value for parameters! 26
7. Packages and Imports! 27
7.1. Imports! 27
7.1.1. Applying additional static methods to class instances! 28
7.1.2. Importing a single type from a module! 28
7.1.3. Importing using wildcards ('*')! 29
7.2. Type Lookup! 29
7.3. Enum Constructors! 29
8. Dynamic! 30
8.1. Parameterized Dynamic Variables! 31
haXe2
3

8.2. Implementing Dynamic! 31
8.3. Type Casting! 32
8.4. Untyped! 32
8.5. Unsafe Cast! 32
9. Advanced Types! 33
9.1. Anonymous! 33
9.2. Typedef! 33
9.2.1. As aliases! 34
9.2.2. Private members! 34
9.2.3. Private types! 35
9.2.4. Accessing Typedefs From Other Packages! 35
9.3. Functions! 35
9.4. Unknown! 36
9.5. Extensions! 36
10. Iterators! 38
10.1. Implementing Iterator! 38
10.2. Iterable Objects! 39
11. Properties! 40
11.1. Sample! 40
11.2. Important Remarks! 41
11.3. Dynamic Property! 41
11.4. Null Property! 42
11. 5. Never Property! 42
12. Optional Arguments! 44
12.1. Default values! 44
12.2. Ordering! 44
12.3. Enum Values! 45
12.4. Warning! 45
haXe2
4
剩余51页未读,继续阅读
资源评论

- 挨踢大侠2014-08-16好东西, 感谢楼主分享; 像这么小众的书籍都能找到,真是太不可思议了。

rockswang
- 粉丝: 57
- 资源: 3
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助


安全验证
文档复制为VIP权益,开通VIP直接复制
