~ubuntu-branches/ubuntu/oneiric/haxe/oneiric

« back to all changes in this revision

Viewing changes to ocaml/swflib/as3hl.mli

  • Committer: Bazaar Package Importer
  • Author(s): Jens Peter Secher
  • Date: 2009-03-18 23:09:50 UTC
  • mfrom: (3.1.1 experimental)
  • Revision ID: james.westby@ubuntu.com-20090318230950-pgfuxg2ucolps74t
Tags: 1:2.2-2
* Use ocamlfind to locate and use the libraries xml-light and extlib
  which already exist in Debian as separate packages.
  (Closes: #519630)
* Fixed compile error with camlp4 3.11, thanks to Stéphane Glondu.
  (Closes: #519627)
* Use quilt instead of dpatch for patches, and describe how to use
  quilt in Debian.source (thanks to Russ Allbery).
* Added a Vcs-Hg control filed to indicate the location of the public
  repository.
* Bumped Standards-Version to 3.8.1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
        | HThrow
33
33
        | HGetSuper of hl_name
34
34
        | HSetSuper of hl_name
 
35
        | HDxNs of hl_ident
 
36
        | HDxNsLate
35
37
        | HRegKill of reg
36
38
        | HLabel
37
39
        | HJump of hl_jump * int
72
74
        | HCallPropLex of hl_name * nargs
73
75
        | HCallSuperVoid of hl_name * nargs
74
76
        | HCallPropVoid of hl_name * nargs
 
77
        | HApplyType of nargs
75
78
        | HObject of nargs
76
79
        | HArray of nargs
77
80
        | HNewBlock
78
81
        | HClassDef of hl_class
 
82
        | HGetDescendants of hl_name
79
83
        | HCatch of int
80
84
        | HFindPropStrict of hl_name
81
85
        | HFindProp of hl_name
141
145
        | HMRuntimeNameLate
142
146
        | HMMultiNameLate of hl_ns_set
143
147
        | HMAttrib of hl_name
 
148
        | HMParams of hl_name * hl_name list
144
149
 
145
150
and hl_value =
146
151
        | HVNone
153
158
        | HVNamespace of int * hl_namespace
154
159
 
155
160
and hl_method = {
156
 
        hlmt_mark : int; (* unique id, for internal usage *)
 
161
        hlmt_index : int; (* used to sort methods (preserve order) *)
157
162
        hlmt_ret : hl_name option;
158
163
        hlmt_args : hl_name option list;
159
164
        hlmt_native : bool;
165
170
        hlmt_debug_name : hl_ident option;
166
171
        hlmt_dparams : hl_value list option;
167
172
        hlmt_pnames : hl_ident option list option;
168
 
        hlmt_function : hl_function option; (* None for interfaces constructors only *)
 
173
        mutable hlmt_function : hl_function option; (* None for interfaces constructors only *)
169
174
}
170
175
 
171
176
and hl_try_catch = {
183
188
        hlf_max_scope : int;
184
189
        mutable hlf_code : hl_opcode array;
185
190
        hlf_trys : hl_try_catch array;
186
 
        hlf_locals : (hl_name * hl_name option * hl_slot) array;
 
191
        hlf_locals : (hl_name * hl_name option * hl_slot * bool) array; (* bool = const - mostly false *)
187
192
}
188
193
 
189
194
and hl_method_kind = as3_method_kind
220
225
}
221
226
 
222
227
and hl_class = {
 
228
        hlc_index : int;
223
229
        hlc_name : hl_name;
224
230
        hlc_super : hl_name option;
225
231
        hlc_sealed : bool;
227
233
        hlc_interface : bool;
228
234
        hlc_namespace : hl_namespace option;
229
235
        hlc_implements : hl_name array;
230
 
        hlc_construct : hl_method;
231
 
        hlc_fields : hl_field array;
232
 
        hlc_static_construct : hl_method;
233
 
        hlc_static_fields : hl_field array;
 
236
        mutable hlc_construct : hl_method;
 
237
        mutable hlc_fields : hl_field array;
 
238
        mutable hlc_static_construct : hl_method;
 
239
        mutable hlc_static_fields : hl_field array;
234
240
}
235
241
 
236
242
and hl_static = {