-
Notifications
You must be signed in to change notification settings - Fork 226
/
Haxe.hx
108 lines (98 loc) · 2.17 KB
/
Haxe.hx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
// 4.3.1 https://haxe.org
//! keywords
// https://haxe.org/manual/expression.html#keywords
abstract
break
case cast catch class continue
default do dynamic
else enum extends extern
false final
for function
if implements import
in inline interface
macro
new null
operator overload override
package private public
return
static switch
this throw true try typedef
untyped using
var
while
from to
// http://old.haxe.org/ref/keywords
callback here never super trace
//! preprocessor
// Conditional Compilation
// https://haxe.org/manual/lf-condition-compilation.html
#if
#elseif
#else
#end
#error
//! metadata
// Built-in Compiler Metadata
// https://haxe.org/manual/cr-metadata.html
//! library
package std {
abstract Void
abstract Float
abstract Int to Float
abstract Single to Float from Float
abstract Null<T> from T to T
abstract Bool
abstract Dynamic<T>
typedef Iterator<T>
typedef Iterable<T>
extern interface ArrayAccess<T>
abstract Any(Dynamic) from Dynamic to Dynamic
extern class Array<T>
abstract Class<T>
extern class Date
abstract Enum<T>
abstract EnumValue
class EReg
class IntIterator
class Lambda
extern class Math
extern class Reflect
extern class Std
extern class String
class StringBuf
extern class Sys
extern class Type
enum ValueType
abstract UInt to Int from Int
abstract UnicodeString(String) from String to String
class Xml
enum abstract XmlType(Int)
}
package std.haxe {
extern class Exception
abstract Int32(Int) from Int to Int
abstract Int64(__Int64) from __Int64 to __Int64
class Json
class Resource
class Serializer
// TODO: highlight template https://haxe.org/manual/std-template.html
class Template
class Timer
class Unserializer
}
package std.haxe.ds {
class GenericStack<T>
abstract HashMap<K:{function hashCode():Int;}, V>(HashMapData<K, V>)
extern class IntMap<T> implements haxe.Constraints.IMap<Int, T>
class List<T>
abstract Map<K, V>(IMap<K, V>)
enum Option<T>
extern class ObjectMap<K:{}, V> implements haxe.Constraints.IMap<K, V>
extern class StringMap<T> implements haxe.Constraints.IMap<String, T>
abstract Vector<T>(VectorData<T>)
class WeakMap<K:{}, V> implements haxe.Constraints.IMap<K, V>
}
//! comment
/**
@see
*/