meta.json 36 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313
  1. [
  2. {
  3. "name": "Abi",
  4. "metadata": ":abi",
  5. "doc": "Function ABI/calling convention.",
  6. "platforms": ["cpp"]
  7. },
  8. {
  9. "name": "Abstract",
  10. "metadata": ":abstract",
  11. "doc": "Sets the underlying class implementation as `abstract`.",
  12. "platforms": ["java", "cs"]
  13. },
  14. {
  15. "name": "Access",
  16. "metadata": ":access",
  17. "doc": "Forces private access to package, type or field.",
  18. "params": ["Target path"],
  19. "targets": ["TClass", "TClassField"],
  20. "links": ["https://haxe.org/manual/lf-access-control.html"]
  21. },
  22. {
  23. "name": "Accessor",
  24. "metadata": ":accessor",
  25. "doc": "Used internally by DCE to mark property accessors.",
  26. "targets": ["TClassField"],
  27. "internal": true
  28. },
  29. {
  30. "name": "Allow",
  31. "metadata": ":allow",
  32. "doc": "Allows private access from package, type or field.",
  33. "params": ["Target path"],
  34. "links": ["https://haxe.org/manual/lf-access-control.html"]
  35. },
  36. {
  37. "name": "Analyzer",
  38. "metadata": ":analyzer",
  39. "doc": "Used to configure the static analyzer."
  40. },
  41. {
  42. "name": "Annotation",
  43. "metadata": ":annotation",
  44. "doc": "Annotation (`@interface`) definitions on `--java-lib` imports will be annotated with this metadata. Has no effect on types compiled by Haxe.",
  45. "platforms": ["java"],
  46. "targets": ["TClass"]
  47. },
  48. {
  49. "name": "ArrayAccess",
  50. "metadata": ":arrayAccess",
  51. "doc": "Allows array access on an abstract.",
  52. "targets": ["TAbstract", "TAbstractField"],
  53. "links": ["https://haxe.org/manual/types-abstract-array-access.html"]
  54. },
  55. {
  56. "name": "AssemblyMeta",
  57. "metadata": ":cs.assemblyMeta",
  58. "doc": "Used to declare a native C# assembly attribute",
  59. "platforms": ["cs"],
  60. "targets": ["TClass"]
  61. },
  62. {
  63. "name": "AssemblyStrict",
  64. "metadata": ":cs.assemblyStrict",
  65. "doc": "Used to declare a native C# assembly attribute; is type checked",
  66. "platforms": ["cs"],
  67. "targets": ["TClass"]
  68. },
  69. {
  70. "name": "Ast",
  71. "metadata": ":ast",
  72. "doc": "Internally used to pass the AST source into the typed AST.",
  73. "internal": true
  74. },
  75. {
  76. "name": "AstSource",
  77. "metadata": ":astSource",
  78. "doc": "Filled by the compiler with the parsed expression of the field.",
  79. "targets": ["TClassField"]
  80. },
  81. {
  82. "name": "AutoBuild",
  83. "metadata": ":autoBuild",
  84. "doc": "Extends `@:build` metadata to all extending and implementing classes.",
  85. "params": ["Build macro call"],
  86. "targets": ["TClass"],
  87. "links": ["https://haxe.org/manual/macro-auto-build.html"]
  88. },
  89. {
  90. "name": "Bind",
  91. "metadata": ":bind",
  92. "doc": "Override SWF class declaration.",
  93. "platforms": ["flash"],
  94. "targets": ["TClass"]
  95. },
  96. {
  97. "name": "Bitmap",
  98. "metadata": ":bitmap",
  99. "doc": "Embeds given bitmap data into the class (must extend `flash.display.BitmapData`).",
  100. "platforms": ["flash"],
  101. "params": ["Bitmap file path"],
  102. "targets": ["TClass"],
  103. "links": ["https://haxe.org/manual/target-flash-resources.html"]
  104. },
  105. {
  106. "name": "BridgeProperties",
  107. "metadata": ":bridgeProperties",
  108. "doc": "Creates native property bridges for all Haxe properties in this class.",
  109. "platforms": ["cs"],
  110. "targets": ["TClass"]
  111. },
  112. {
  113. "name": "Build",
  114. "metadata": ":build",
  115. "doc": "Builds a class, enum, or abstract from a macro.",
  116. "params": ["Build macro call"],
  117. "targets": ["TClass", "TEnum", "TAbstract"],
  118. "links": ["https://haxe.org/manual/macro-type-building.html"]
  119. },
  120. {
  121. "name": "BuildXml",
  122. "metadata": ":buildXml",
  123. "doc": "Specify XML data to be injected into `Build.xml`.",
  124. "platforms": ["cpp"]
  125. },
  126. {
  127. "name": "BypassAccessor",
  128. "metadata": ":bypassAccessor",
  129. "doc": "Do not call property accessor method and access the field directly.",
  130. "targets": ["TExpr"],
  131. "links": ["https://haxe.org/manual/class-field-property.html"]
  132. },
  133. {
  134. "name": "Callable",
  135. "metadata": ":callable",
  136. "doc": "Abstract forwards call to its underlying type.",
  137. "targets": ["TAbstract"]
  138. },
  139. {
  140. "name": "Class",
  141. "metadata": ":class",
  142. "doc": "Used internally to annotate an enum that will be generated as a class.",
  143. "platforms": ["java", "cs"],
  144. "targets": ["TEnum"],
  145. "internal": true
  146. },
  147. {
  148. "name": "ClassCode",
  149. "metadata": ":classCode",
  150. "doc": "Used to inject platform-native code into a class.",
  151. "platforms": ["java", "cs"],
  152. "targets": ["TClass"]
  153. },
  154. {
  155. "name": "Commutative",
  156. "metadata": ":commutative",
  157. "doc": "Declares an abstract operator as commutative.",
  158. "targets": ["TAbstractField"],
  159. "links": ["https://haxe.org/manual/types-abstract-operator-overloading.html"]
  160. },
  161. {
  162. "name": "CompilerGenerated",
  163. "metadata": ":compilerGenerated",
  164. "doc": "Marks a field as generated by the compiler. Should not be used by the end user.",
  165. "internal": true
  166. },
  167. {
  168. "name": "Const",
  169. "metadata": ":const",
  170. "doc": "Allows a type parameter to accept expression values.",
  171. "targets": ["TTypeParameter"]
  172. },
  173. {
  174. "name": "CoreApi",
  175. "metadata": ":coreApi",
  176. "doc": "Identifies this class as a core API class (forces API check).",
  177. "targets": ["TClass", "TEnum", "TTypedef", "TAbstract"]
  178. },
  179. {
  180. "name": "CoreType",
  181. "metadata": ":coreType",
  182. "doc": "Identifies an abstract as core type so that it requires no implementation.",
  183. "targets": ["TAbstract"],
  184. "links": ["https://haxe.org/manual/types-abstract-core-type.html"]
  185. },
  186. {
  187. "name": "CppFileCode",
  188. "metadata": ":cppFileCode",
  189. "doc": "Code to be injected into generated cpp file.",
  190. "platforms": ["cpp"]
  191. },
  192. {
  193. "name": "CppInclude",
  194. "metadata": ":cppInclude",
  195. "doc": "File to be included in generated cpp file.",
  196. "platforms": ["cpp"]
  197. },
  198. {
  199. "name": "CppNamespaceCode",
  200. "metadata": ":cppNamespaceCode",
  201. "doc": "",
  202. "platforms": ["cpp"]
  203. },
  204. {
  205. "name": "CsNative",
  206. "metadata": ":csNative",
  207. "doc": "Automatically added by `--net-lib` on classes generated from .NET DLL files.",
  208. "platforms": ["cs"],
  209. "targets": ["TClass", "TEnum"],
  210. "internal": true
  211. },
  212. {
  213. "name": "CsUsing",
  214. "metadata": ":cs.using",
  215. "doc": "Add using directives to your module",
  216. "platforms": ["cs"],
  217. "targets": ["TClass"]
  218. },
  219. {
  220. "name": "Dce",
  221. "metadata": ":dce",
  222. "doc": "Forces dead code elimination even when `--dce full` is not specified.",
  223. "targets": ["TClass", "TEnum"],
  224. "links": ["https://haxe.org/manual/cr-dce.html"]
  225. },
  226. {
  227. "name": "Debug",
  228. "metadata": ":debug",
  229. "doc": "Forces debug information to be generated into the SWF even without `--debug`.",
  230. "platforms": ["flash"],
  231. "targets": ["TClass", "TClassField"]
  232. },
  233. {
  234. "name": "Decl",
  235. "metadata": ":decl",
  236. "doc": "",
  237. "platforms": ["cpp"]
  238. },
  239. {
  240. "name": "DefParam",
  241. "metadata": ":defParam",
  242. "doc": "Default function argument value loaded from the SWF and used for documentation in Genxml.",
  243. "platforms": ["flash"],
  244. "internal": true
  245. },
  246. {
  247. "name": "Delegate",
  248. "metadata": ":delegate",
  249. "doc": "Automatically added by `--net-lib` on delegates.",
  250. "platforms": ["cs"],
  251. "targets": ["TAbstract"]
  252. },
  253. {
  254. "name": "Depend",
  255. "metadata": ":depend",
  256. "doc": "",
  257. "platforms": ["cpp"]
  258. },
  259. {
  260. "name": "Deprecated",
  261. "metadata": ":deprecated",
  262. "doc": "Mark a type or field as deprecated."
  263. },
  264. {
  265. "name": "DirectlyUsed",
  266. "metadata": ":directlyUsed",
  267. "doc": "Marks types that are directly referenced by non-extern code.",
  268. "internal": true
  269. },
  270. {
  271. "name": "DisplayOverride",
  272. "metadata": ":?display.override",
  273. "doc": "Internally used to mark override fields for completion",
  274. "internal": true
  275. },
  276. {
  277. "name": "DynamicObject",
  278. "metadata": ":dynamicObject",
  279. "doc": "Used internally to identify the Dynamic Object implementation.",
  280. "platforms": ["java", "cs"],
  281. "targets": ["TClass"],
  282. "internal": true
  283. },
  284. {
  285. "name": "Eager",
  286. "metadata": ":eager",
  287. "doc": "Forces typedefs to be followed early.",
  288. "targets": ["TTypedef"]
  289. },
  290. {
  291. "name": "Enum",
  292. "metadata": ":enum",
  293. "doc": "Defines finite value sets to abstract definitions.",
  294. "targets": ["TAbstract"],
  295. "links": ["https://haxe.org/manual/types-abstract-enum.html"]
  296. },
  297. {
  298. "name": "EnumConstructorParam",
  299. "metadata": ":enumConstructorParam",
  300. "doc": "Used internally to annotate GADT type parameters.",
  301. "targets": ["TClass"],
  302. "internal": true
  303. },
  304. {
  305. "name": "Event",
  306. "metadata": ":event",
  307. "doc": "Automatically added by `--net-lib` on events. Has no effect on types compiled by Haxe.",
  308. "platforms": ["cs"],
  309. "targets": ["TClassField"]
  310. },
  311. {
  312. "name": "Exhaustive",
  313. "metadata": ":exhaustive",
  314. "doc": "Used internally to mark that a switch is exhaustive.",
  315. "internal": true,
  316. "links": ["https://haxe.org/manual/lf-pattern-matching-exhaustiveness.html"]
  317. },
  318. {
  319. "name": "Expose",
  320. "metadata": ":expose",
  321. "doc": "Includes the class or field in Haxe exports (default name is the classpath).",
  322. "platforms": ["js", "lua"],
  323. "params": ["name"],
  324. "links": ["https://haxe.org/manual/target-javascript-expose.html"]
  325. },
  326. {
  327. "name": "Extern",
  328. "metadata": ":extern",
  329. "doc": "Marks the field as extern so it is not generated.",
  330. "targets": ["TClassField"]
  331. },
  332. {
  333. "name": "File",
  334. "metadata": ":file",
  335. "doc": "Includes a given binary file into the target SWF and associates it with the class (must extend `flash.utils.ByteArray`).",
  336. "platforms": ["flash"],
  337. "params": ["File path"],
  338. "targets": ["TClass"],
  339. "links": ["https://haxe.org/manual/target-flash-resources.html"]
  340. },
  341. {
  342. "name": "FileXml",
  343. "metadata": ":fileXml",
  344. "doc": "Include a given XML attribute snippet in the `Build.xml` entry for the file.",
  345. "platforms": ["cpp"],
  346. "targets": ["TClass"]
  347. },
  348. {
  349. "name": "Final",
  350. "metadata": ":final",
  351. "doc": "Prevents a class or interface from being extended or a method from being overridden. Deprecated by the keyword `final`.",
  352. "targets": ["TClass", "TClassField"],
  353. "links": ["https://haxe.org/manual/class-field-final.html"]
  354. },
  355. {
  356. "devcomment": "this used to have UsedOn TObjectDecl(_)",
  357. "name": "Fixed",
  358. "metadata": ":fixed",
  359. "doc": "Declares an anonymous object to have fixed fields."
  360. },
  361. {
  362. "name": "FlashProperty",
  363. "metadata": ":flash.property",
  364. "doc": "",
  365. "platforms": ["flash"],
  366. "targets": ["TClassField"]
  367. },
  368. {
  369. "name": "FlatEnum",
  370. "metadata": ":flatEnum",
  371. "doc": "Internally used to mark an enum as being flat, i.e. having no function constructors.",
  372. "targets": ["TEnum"],
  373. "internal": true
  374. },
  375. {
  376. "name": "Font",
  377. "metadata": ":font",
  378. "doc": "Embeds the given TrueType font into the class (must extend `flash.text.Font`).",
  379. "params": ["TTF path", "Range String"],
  380. "targets": ["TClass"],
  381. "links": ["https://haxe.org/manual/target-flash-resources.html"]
  382. },
  383. {
  384. "name": "ForLoopVariable",
  385. "metadata": ":forLoopVariable",
  386. "doc": "Internally used to mark for-loop variables.",
  387. "internal": true
  388. },
  389. {
  390. "name": "Forward",
  391. "metadata": ":forward",
  392. "doc": "Forwards field access to underlying type.",
  393. "params": ["List of field names"],
  394. "targets": ["TAbstract"],
  395. "links": ["https://haxe.org/manual/types-abstract-forward.html"]
  396. },
  397. {
  398. "name": "ForwardNew",
  399. "metadata": ":forward.new",
  400. "doc": "Forwards constructor call to underlying type.",
  401. "targets": ["TAbstract"]
  402. },
  403. {
  404. "name": "ForwardStatics",
  405. "metadata": ":forwardStatics",
  406. "doc": "Forwards static field access to underlying type.",
  407. "params": ["List of field names"],
  408. "targets": ["TAbstract"],
  409. "links": ["https://haxe.org/manual/types-abstract-forward.html"]
  410. },
  411. {
  412. "name": "ForwardVariance",
  413. "metadata": ":forward.variance",
  414. "doc": "Forwards variance unification to underlying type.",
  415. "targets": ["TAbstract"]
  416. },
  417. {
  418. "name": "From",
  419. "metadata": ":from",
  420. "doc": "Specifies that the field of the abstract is a cast operation from the type identified in the function.",
  421. "targets": ["TAbstractField"],
  422. "links": ["https://haxe.org/manual/types-abstract-implicit-casts.html"]
  423. },
  424. {
  425. "name": "FunctionCode",
  426. "metadata": ":functionCode",
  427. "doc": "Used to inject platform-native code into a function.",
  428. "platforms": ["cpp", "java", "cs"]
  429. },
  430. {
  431. "name": "FunctionTailCode",
  432. "metadata": ":functionTailCode",
  433. "doc": "",
  434. "platforms": ["cpp"]
  435. },
  436. {
  437. "name": "Generic",
  438. "metadata": ":generic",
  439. "doc": "Marks a class or class field as generic so each type parameter combination generates its own type/field.",
  440. "links": ["https://haxe.org/manual/type-system-generic.html"]
  441. },
  442. {
  443. "name": "GenericBuild",
  444. "metadata": ":genericBuild",
  445. "doc": "Builds instances of a type using the specified macro.",
  446. "targets": ["TClass"]
  447. },
  448. {
  449. "name": "GenericInstance",
  450. "metadata": ":genericInstance",
  451. "doc": "Internally used to mark instances of `@:generic` methods.",
  452. "targets": ["TClassField"],
  453. "internal": true
  454. },
  455. {
  456. "name": "GenericClassPerMethod",
  457. "metadata": ":genericClassPerMethod",
  458. "doc": "Makes compiler generate separate class per generic static method specialization",
  459. "targets": ["TClass"]
  460. },
  461. {
  462. "name": "Getter",
  463. "metadata": ":getter",
  464. "doc": "Generates a native getter function on the given field.",
  465. "platforms": ["flash"],
  466. "params": ["Class field name"],
  467. "targets": ["TClassField"]
  468. },
  469. {
  470. "name": "Hack",
  471. "metadata": ":hack",
  472. "doc": "Allows extending classes marked as `@:final`. Not guaranteed to work on all targets.",
  473. "targets": ["TClass"]
  474. },
  475. {
  476. "name": "HasUntyped",
  477. "metadata": ":has_untyped",
  478. "doc": "Used by the typer to mark fields that have untyped expressions.",
  479. "internal": true
  480. },
  481. {
  482. "name": "HaxeGeneric",
  483. "metadata": ":haxeGeneric",
  484. "doc": "Used internally to annotate non-native generic classes.",
  485. "platforms": ["cs"],
  486. "targets": ["TClass", "TEnum"],
  487. "internal": true
  488. },
  489. {
  490. "name": "HeaderClassCode",
  491. "metadata": ":headerClassCode",
  492. "doc": "Code to be injected into the generated class, in the header.",
  493. "platforms": ["cpp"]
  494. },
  495. {
  496. "name": "HeaderCode",
  497. "metadata": ":headerCode",
  498. "doc": "Code to be injected into the generated header file.",
  499. "platforms": ["cpp"]
  500. },
  501. {
  502. "name": "HeaderInclude",
  503. "metadata": ":headerInclude",
  504. "doc": "File to be included in generated header file.",
  505. "platforms": ["cpp"]
  506. },
  507. {
  508. "name": "HeaderNamespaceCode",
  509. "metadata": ":headerNamespaceCode",
  510. "doc": "",
  511. "platforms": ["cpp"]
  512. },
  513. {
  514. "name": "HlNative",
  515. "metadata": ":hlNative",
  516. "doc": "Specifies `hdll` name and function prefix for native functions.",
  517. "platforms": ["hl"],
  518. "targets": ["TClass", "TClassField"]
  519. },
  520. {
  521. "name": "HxCompletion",
  522. "metadata": ":hx.completion",
  523. "doc": "Internally used for completion",
  524. "internal": true
  525. },
  526. {
  527. "name": "HxGen",
  528. "metadata": ":hxGen",
  529. "doc": "Annotates that an extern class was generated by Haxe.",
  530. "platforms": ["java", "cs"],
  531. "targets": ["TClass", "TEnum"]
  532. },
  533. {
  534. "name": "IfFeature",
  535. "metadata": ":ifFeature",
  536. "doc": "Causes a field to be kept by DCE if the given feature is part of the compilation.",
  537. "params": ["Feature name"],
  538. "targets": ["TClassField"],
  539. "links": ["https://haxe.org/manual/cr-dce.html"]
  540. },
  541. {
  542. "name": "PythonImport",
  543. "metadata": ":pythonImport",
  544. "doc": "Generates python import statement for extern classes.",
  545. "platforms": ["python"],
  546. "targets": ["TClass"]
  547. },
  548. {
  549. "name": "ImplicitCast",
  550. "metadata": ":implicitCast",
  551. "doc": "Generated automatically on the AST when an implicit abstract cast happens.",
  552. "targets": ["TExpr"],
  553. "internal": true
  554. },
  555. {
  556. "name": "ImplicitReturn",
  557. "metadata": ":implicitReturn",
  558. "doc": "Generated automatically on the AST when an implicit return is inserted for arrow function.",
  559. "targets": ["TExpr"],
  560. "internal": true
  561. },
  562. {
  563. "name": "Include",
  564. "metadata": ":include",
  565. "doc": "",
  566. "platforms": ["cpp"]
  567. },
  568. {
  569. "name": "InheritDoc",
  570. "metadata": ":inheritDoc",
  571. "doc": "Append documentation from a parent field or class (if used without an argument) or from a specified class or field (if used like @:inheritDoc(pack.Some.field)).",
  572. "targets": ["TClass", "TClass", "TEnum", "TAbstract", "TAnyField"]
  573. },
  574. {
  575. "name": "InitPackage",
  576. "metadata": ":initPackage",
  577. "doc": "Some weird thing for Genjs we want to remove someday.",
  578. "platforms": ["js"],
  579. "internal": true
  580. },
  581. {
  582. "name": "Inline",
  583. "metadata": ":inline",
  584. "doc": "Inserted by the parser in case of `inline expr` and `inline function`.",
  585. "targets": ["TExpr"]
  586. },
  587. {
  588. "name": "InlineConstructorArgument",
  589. "metadata": ":inlineConstructorArgument",
  590. "doc": "Internally used to mark expressions that were passed as arguments of an inlined constructor.",
  591. "internal": true
  592. },
  593. {
  594. "name": "InlineObject",
  595. "metadata": ":inlineObject",
  596. "doc": "Internally used by inline constructors filter to mark potentially inlineable objects.",
  597. "internal": true
  598. },
  599. {
  600. "name": "Internal",
  601. "metadata": ":internal",
  602. "doc": "Generates the annotated field/class with 'internal' access.",
  603. "platforms": ["java", "cs"],
  604. "targets": ["TClass", "TEnum", "TClassField"]
  605. },
  606. {
  607. "name": "IsVar",
  608. "metadata": ":isVar",
  609. "doc": "Forces a physical field to be generated for properties that otherwise would not require one.",
  610. "targets": ["TClassField"],
  611. "links": ["https://haxe.org/manual/class-field-property-rules.html"]
  612. },
  613. {
  614. "name": "JavaCanonical",
  615. "metadata": ":javaCanonical",
  616. "doc": "Used by the Java target to annotate the canonical path of the type.",
  617. "platforms": ["java"],
  618. "params": ["Output type package", "Output type name"],
  619. "targets": ["TClass", "TEnum"]
  620. },
  621. {
  622. "name": "JavaDefault",
  623. "metadata": ":java.default",
  624. "doc": "Equivalent to the default modifier of the Java language",
  625. "platforms": ["java"],
  626. "params": [],
  627. "targets": ["TClassField"]
  628. },
  629. {
  630. "name": "JavaNative",
  631. "metadata": ":javaNative",
  632. "doc": "Automatically added by `--java-lib` on classes generated from JAR/class files.",
  633. "platforms": ["java"],
  634. "targets": ["TClass", "TEnum"],
  635. "internal": true
  636. },
  637. {
  638. "name": "JvmSynthetic",
  639. "metadata": ":jvm.synthetic",
  640. "doc": "Mark generated class, field or method as synthetic",
  641. "platforms": ["java"],
  642. "targets": ["TClass", "TEnum", "TAnyField"]
  643. },
  644. {
  645. "name": "JsRequire",
  646. "metadata": ":jsRequire",
  647. "doc": "Generate JavaScript module require expression for given extern.",
  648. "platforms": ["js"],
  649. "targets": ["TClass"],
  650. "links": ["https://haxe.org/manual/target-javascript-require.html"]
  651. },
  652. {
  653. "name": "LuaRequire",
  654. "metadata": ":luaRequire",
  655. "doc": "Generate Lua module require expression for given extern.",
  656. "platforms": ["lua"],
  657. "targets": ["TClass"]
  658. },
  659. {
  660. "name": "LuaDotMethod",
  661. "metadata": ":luaDotMethod",
  662. "doc": "Indicates that the given extern type instance should have dot-style invocation for methods instead of colon.",
  663. "platforms": ["lua"]
  664. },
  665. {
  666. "name": "Keep",
  667. "metadata": ":keep",
  668. "doc": "Causes a field or type to be kept by DCE.",
  669. "links": ["https://haxe.org/manual/cr-dce.html"]
  670. },
  671. {
  672. "name": "KeepInit",
  673. "metadata": ":keepInit",
  674. "doc": "Causes a class to be kept by DCE even if all its field are removed.",
  675. "targets": ["TClass"],
  676. "links": ["https://haxe.org/manual/cr-dce.html"]
  677. },
  678. {
  679. "name": "KeepSub",
  680. "metadata": ":keepSub",
  681. "doc": "Extends `@:keep` metadata to all implementing and extending classes.",
  682. "targets": ["TClass"],
  683. "links": ["https://haxe.org/manual/cr-dce.html"]
  684. },
  685. {
  686. "name": "LibType",
  687. "metadata": ":libType",
  688. "doc": "Used by `--net-lib` and `--java-lib` to mark a class that should not be checked (overrides, interfaces, etc) by the type loader.",
  689. "platforms": ["java", "cs"],
  690. "targets": ["TClass"],
  691. "internal": true
  692. },
  693. {
  694. "name": "LoopLabel",
  695. "metadata": ":loopLabel",
  696. "doc": "Mark loop and break expressions with a label to support breaking from within switch.",
  697. "internal": true
  698. },
  699. {
  700. "name": "Markup",
  701. "metadata": ":markup",
  702. "doc": "Used as a result of inline XML parsing.",
  703. "links": ["https://haxe.org/manual/lf-markup.html"]
  704. },
  705. {
  706. "name": "Meta",
  707. "metadata": ":meta",
  708. "doc": "Internally used to mark a class field as being the metadata field.",
  709. "internal": true
  710. },
  711. {
  712. "name": "Macro",
  713. "metadata": ":macro",
  714. "doc": "(deprecated)"
  715. },
  716. {
  717. "name": "MaybeUsed",
  718. "metadata": ":maybeUsed",
  719. "doc": "Internally used by DCE to mark fields that might be kept.",
  720. "internal": true
  721. },
  722. {
  723. "name": "MergeBlock",
  724. "metadata": ":mergeBlock",
  725. "doc": "Merge the annotated block into the current scope.",
  726. "targets": ["TExpr"]
  727. },
  728. {
  729. "name": "MultiReturn",
  730. "metadata": ":multiReturn",
  731. "doc": "Annotates an extern class as the result of multi-return function.",
  732. "platforms": ["lua"],
  733. "targets": ["TClass"],
  734. "links": ["https://haxe.org/manual/target-lua-multireturns.html"]
  735. },
  736. {
  737. "name": "MultiType",
  738. "metadata": ":multiType",
  739. "doc": "Specifies that an abstract chooses its this-type from its `@:to` functions.",
  740. "params": ["Relevant type parameters"],
  741. "targets": ["TAbstract"]
  742. },
  743. {
  744. "name": "Native",
  745. "metadata": ":native",
  746. "doc": "Rewrites the path of a type or class field during generation.",
  747. "params": ["Output path"],
  748. "targets": ["TClass", "TEnum", "TAbstract", "TClassField"],
  749. "links": ["https://haxe.org/manual/lf-externs.html"]
  750. },
  751. {
  752. "name": "NativeJni",
  753. "metadata": ":java.native",
  754. "doc": "Annotates that a function has implementation in native code through JNI.",
  755. "platforms": ["java"],
  756. "targets": ["TClassField"]
  757. },
  758. {
  759. "name": "NativeChildren",
  760. "metadata": ":nativeChildren",
  761. "doc": "Annotates that all children from a type should be treated as if it were an extern definition - platform native.",
  762. "platforms": ["java", "cs"],
  763. "targets": ["TClass"]
  764. },
  765. {
  766. "name": "NativeGen",
  767. "metadata": ":nativeGen",
  768. "doc": "Annotates that a type should be treated as if it were an extern definition - platform native.",
  769. "platforms": ["java", "cs", "python"],
  770. "targets": ["TClass", "TEnum"]
  771. },
  772. {
  773. "name": "NativeGeneric",
  774. "metadata": ":nativeGeneric",
  775. "doc": "Used internally to annotate native generic classes.",
  776. "platforms": ["cs"],
  777. "targets": ["TClass", "TEnum"],
  778. "internal": true
  779. },
  780. {
  781. "name": "NativeProperty",
  782. "metadata": ":nativeProperty",
  783. "doc": "Use native properties which will execute even with dynamic usage.",
  784. "platforms": ["cpp"]
  785. },
  786. {
  787. "name": "NativeStaticExtension",
  788. "metadata": ":nativeStaticExtension",
  789. "doc": "Converts static function syntax into member call.",
  790. "platforms": ["cpp"]
  791. },
  792. {
  793. "name": "NoCompletion",
  794. "metadata": ":noCompletion",
  795. "doc": "Prevents the compiler from suggesting completion on this field or type.",
  796. "targets": ["TClassField"],
  797. "links": ["https://haxe.org/manual/cr-completion.html"]
  798. },
  799. {
  800. "name": "NoClosure",
  801. "metadata": ":noClosure",
  802. "doc": "Prevents a method or all methods in a class from being used as a value.",
  803. "targets": ["TClass", "TClassField"]
  804. },
  805. {
  806. "name": "NoDebug",
  807. "metadata": ":noDebug",
  808. "doc": "Does not generate debug information even if `--debug` is set.",
  809. "platforms": ["flash", "cpp"],
  810. "targets": ["TClass", "TClassField"]
  811. },
  812. {
  813. "name": "NoDoc",
  814. "metadata": ":noDoc",
  815. "doc": "Prevents a type or field from being included in documentation generation."
  816. },
  817. {
  818. "name": "NoExpr",
  819. "metadata": ":noExpr",
  820. "doc": "Internally used to mark abstract fields which have no expression by design.",
  821. "internal": true
  822. },
  823. {
  824. "name": "NoImportGlobal",
  825. "metadata": ":noImportGlobal",
  826. "doc": "Prevents a static field from being imported with `import Class.*`.",
  827. "targets": ["TAnyField"]
  828. },
  829. {
  830. "name": "NonVirtual",
  831. "metadata": ":nonVirtual",
  832. "doc": "Declares function to be non-virtual in cpp.",
  833. "platforms": ["cpp"]
  834. },
  835. {
  836. "name": "NoPackageRestrict",
  837. "metadata": ":noPackageRestrict",
  838. "doc": "Allows a module to be accessed across all targets if found on its first type.",
  839. "internal": true
  840. },
  841. {
  842. "name": "NoPrivateAccess",
  843. "metadata": ":noPrivateAccess",
  844. "doc": "Disallow private access to anything for the annotated expression.",
  845. "targets": ["TExpr"]
  846. },
  847. {
  848. "name": "NoStack",
  849. "metadata": ":noStack",
  850. "doc": "",
  851. "platforms": ["cpp"]
  852. },
  853. {
  854. "name": "NotNull",
  855. "metadata": ":notNull",
  856. "doc": "Declares an abstract type as not accepting null values.",
  857. "targets": ["TAbstract"],
  858. "links": ["https://haxe.org/manual/types-nullability.html"]
  859. },
  860. {
  861. "name": "NoUsing",
  862. "metadata": ":noUsing",
  863. "doc": "Prevents a field from being used with static extension.",
  864. "targets": ["TClassField"],
  865. "links": ["https://haxe.org/manual/lf-static-extension.html"]
  866. },
  867. {
  868. "name": "Ns",
  869. "metadata": ":ns",
  870. "doc": "Internally used by the SWF generator to handle namespaces.",
  871. "platforms": ["flash"],
  872. "internal": true
  873. },
  874. {
  875. "name": "NullSafety",
  876. "metadata": ":nullSafety",
  877. "doc": "Enables null safety for classes or fields. Disables null safety for classes, fields or expressions if provided with `Off` as an argument.",
  878. "params": ["Off | Loose | Strict | StrictThreaded"],
  879. "targets": ["TClass", "TClassField", "TExpr"],
  880. "links": ["https://haxe.org/manual/cr-null-safety.html"]
  881. },
  882. {
  883. "name": "Objc",
  884. "metadata": ":objc",
  885. "doc": "Declares a class or interface that is used to interoperate with Objective-C code.",
  886. "platforms": ["cpp"],
  887. "targets": ["TClass"]
  888. },
  889. {
  890. "name": "ObjcProtocol",
  891. "metadata": ":objcProtocol",
  892. "doc": "Associates an interface with, or describes a function in, a native Objective-C protocol.",
  893. "platforms": ["cpp"]
  894. },
  895. {
  896. "name": "Op",
  897. "metadata": ":op",
  898. "doc": "Declares an abstract field as being an operator overload.",
  899. "params": ["The operation"],
  900. "targets": ["TAbstractField"],
  901. "links": ["https://haxe.org/manual/types-abstract-operator-overloading.html"]
  902. },
  903. {
  904. "name": "Optional",
  905. "metadata": ":optional",
  906. "doc": "Marks the field of a structure as optional.",
  907. "targets": ["TClassField"],
  908. "links": ["https://haxe.org/manual/types-nullability-optional-arguments.html"]
  909. },
  910. {
  911. "name": "Overload",
  912. "metadata": ":overload",
  913. "doc": "Allows the field to be called with different argument types.",
  914. "params": ["Function specification (no expression)"],
  915. "targets": ["TClassField"],
  916. "links": ["https://haxe.org/manual/target-javascript-external-libraries.html"]
  917. },
  918. {
  919. "name": "Persistent",
  920. "metadata": ":persistent",
  921. "doc": "Keeps the value of static variables in macro context across compilations.",
  922. "targets": ["TAnyField"],
  923. "platforms": ["eval"]
  924. },
  925. {
  926. "name": "PhpAttribute",
  927. "metadata": ":php.attribute",
  928. "doc": "Adds a PHP attribute to the annotated symbol. Meta argument expects a string constant. E.g. `@:php.attribute('\\\\my\\\\Attr(123)')` will be generated as `#[\\my\\Attr(123)]` in the compiled php file.",
  929. "platforms": ["php"],
  930. "links": ["https://www.php.net/manual/en/language.attributes.overview.php"]
  931. },
  932. {
  933. "name": "PhpGlobal",
  934. "metadata": ":phpGlobal",
  935. "doc": "Indicates that static fields of an extern class actually are located in the global PHP namespace.",
  936. "platforms": ["php"],
  937. "targets": ["TClass"]
  938. },
  939. {
  940. "name": "PhpClassConst",
  941. "metadata": ":phpClassConst",
  942. "doc": "Indicates that a static var of an extern class is a PHP class constant.",
  943. "platforms": ["php"],
  944. "targets": ["TClassField"]
  945. },
  946. {
  947. "name": "PhpMagic",
  948. "metadata": ":phpMagic",
  949. "doc": "Treat annotated field as special PHP magic field - this meta makes compiler avoid renaming such fields on generating PHP code.",
  950. "platforms": ["php"],
  951. "targets": ["TClassField"]
  952. },
  953. {
  954. "name": "PhpNoConstructor",
  955. "metadata": ":phpNoConstructor",
  956. "doc": "Special meta for extern classes which do not have native constructor in PHP, but need a constructor in Haxe extern.",
  957. "platforms": ["php"],
  958. "targets": ["TClass"]
  959. },
  960. {
  961. "name": "Pos",
  962. "metadata": ":pos",
  963. "doc": "Sets the position of a reified expression.",
  964. "params": ["Position"],
  965. "targets": ["TExpr"],
  966. "links": ["https://haxe.org/manual/macro-reification.html"]
  967. },
  968. {
  969. "name": "Public",
  970. "metadata": ":public",
  971. "doc": "Marks a class field as being public.",
  972. "targets": ["TClassField"],
  973. "internal": true
  974. },
  975. {
  976. "name": "PublicFields",
  977. "metadata": ":publicFields",
  978. "doc": "Forces all class fields of inheriting classes to be public.",
  979. "targets": ["TClass"]
  980. },
  981. {
  982. "name": "Private",
  983. "metadata": ":private",
  984. "doc": "Marks a class field as being private.",
  985. "platforms": ["cs"],
  986. "targets": ["TClassField"]
  987. },
  988. {
  989. "name": "PrivateAccess",
  990. "metadata": ":privateAccess",
  991. "doc": "Allow private access to anything for the annotated expression.",
  992. "targets": ["TExpr"]
  993. },
  994. {
  995. "name": "Protected",
  996. "metadata": ":protected",
  997. "doc": "Marks a class field as being protected.",
  998. "platforms": ["cs", "java", "flash"],
  999. "targets": ["TClassField"]
  1000. },
  1001. {
  1002. "name": "Property",
  1003. "metadata": ":property",
  1004. "doc": "Marks a field to be compiled as a native C# property.",
  1005. "platforms": ["cs"],
  1006. "targets": ["TClassField"]
  1007. },
  1008. {
  1009. "name": "Pure",
  1010. "metadata": ":pure",
  1011. "doc": "Marks a class field, class or expression as pure (side-effect free).",
  1012. "targets": ["TClass", "TClassField", "TExpr"]
  1013. },
  1014. {
  1015. "name": "ReadOnly",
  1016. "metadata": ":readOnly",
  1017. "doc": "Generates a field with the `readonly` native keyword.",
  1018. "platforms": ["cs"],
  1019. "targets": ["TClassField"]
  1020. },
  1021. {
  1022. "name": "RealPath",
  1023. "metadata": ":realPath",
  1024. "doc": "Internally used on `@:native` types to retain original path information.",
  1025. "internal": true
  1026. },
  1027. {
  1028. "name": "Remove",
  1029. "metadata": ":remove",
  1030. "doc": "Causes an interface to be removed from all implementing classes before generation.",
  1031. "targets": ["TClass"]
  1032. },
  1033. {
  1034. "name": "Require",
  1035. "metadata": ":require",
  1036. "doc": "Allows access to a field only if the specified compiler flag is set.",
  1037. "params": ["Compiler flag to check"],
  1038. "targets": ["TClassField"],
  1039. "links": ["https://haxe.org/manual/lf-condition-compilation.html"]
  1040. },
  1041. {
  1042. "name": "Resolve",
  1043. "metadata": ":resolve",
  1044. "doc": "Abstract fields marked with this metadata can be used to resolve unknown fields.",
  1045. "targets": ["TClassField"]
  1046. },
  1047. {
  1048. "name": "Rtti",
  1049. "metadata": ":rtti",
  1050. "doc": "Adds runtime type information.",
  1051. "targets": ["TClass"],
  1052. "links": ["https://haxe.org/manual/cr-rtti.html"]
  1053. },
  1054. {
  1055. "name": "Runtime",
  1056. "metadata": ":runtime",
  1057. "doc": "",
  1058. "internal": true
  1059. },
  1060. {
  1061. "name": "RuntimeValue",
  1062. "metadata": ":runtimeValue",
  1063. "doc": "Marks an abstract as being a runtime value.",
  1064. "targets": ["TAbstract"]
  1065. },
  1066. {
  1067. "name": "Scalar",
  1068. "metadata": ":scalar",
  1069. "doc": "Used by hxcpp to mark a custom coreType abstract.",
  1070. "platforms": ["cpp"],
  1071. "targets": ["TAbstract"]
  1072. },
  1073. {
  1074. "name": "SelfCall",
  1075. "metadata": ":selfCall",
  1076. "doc": "Translates method calls into calling object directly.",
  1077. "platforms": ["js", "lua"],
  1078. "targets": ["TClassField"],
  1079. "links": ["https://haxe.org/manual/target-javascript-external-libraries.html"]
  1080. },
  1081. {
  1082. "name": "Semantics",
  1083. "metadata": ":semantics",
  1084. "doc": "The native semantics of the type.",
  1085. "params": ["value | reference | variable"],
  1086. "targets": ["TClass", "TTypedef", "TAbstract"]
  1087. },
  1088. {
  1089. "name": "Setter",
  1090. "metadata": ":setter",
  1091. "doc": "Generates a native setter function on the given field.",
  1092. "platforms": ["flash"],
  1093. "params": ["Class field name"],
  1094. "targets": ["TClassField"]
  1095. },
  1096. {
  1097. "name": "SkipCtor",
  1098. "metadata": ":skipCtor",
  1099. "doc": "Used internally to generate a constructor as if it were a native type (no `__hx_ctor`).",
  1100. "platforms": ["java", "cs"],
  1101. "internal": true
  1102. },
  1103. {
  1104. "name": "SkipReflection",
  1105. "metadata": ":skipReflection",
  1106. "doc": "Used internally to annotate a field that shouldn't have its reflection data generated.",
  1107. "platforms": ["java", "cs"],
  1108. "targets": ["TClassField"],
  1109. "internal": true
  1110. },
  1111. {
  1112. "name": "Sound",
  1113. "metadata": ":sound",
  1114. "doc": "Includes a given .wav or .mp3 file into the target SWF and associates it with the class (must extend `flash.media.Sound`).",
  1115. "platforms": ["flash"],
  1116. "params": ["File path"],
  1117. "targets": ["TClass"],
  1118. "links": ["https://haxe.org/manual/target-flash-resources.html"]
  1119. },
  1120. {
  1121. "name": "SourceFile",
  1122. "metadata": ":sourceFile",
  1123. "doc": "Source code filename for external class.",
  1124. "platforms": ["cpp"]
  1125. },
  1126. {
  1127. "name": "StackOnly",
  1128. "metadata": ":stackOnly",
  1129. "doc": "Instances of this type can only appear on the stack.",
  1130. "platforms": ["cpp"]
  1131. },
  1132. {
  1133. "name": "StaticExtension",
  1134. "metadata": "haxe.internal.static_extension",
  1135. "doc": "Used internally to mark static extension fields.",
  1136. "internal": true
  1137. },
  1138. {
  1139. "name": "StoredTypedExpr",
  1140. "metadata": ":storedTypedExpr",
  1141. "doc": "Used internally to reference a typed expression returned from a macro.",
  1142. "internal": true
  1143. },
  1144. {
  1145. "name": "Strict",
  1146. "metadata": ":strict",
  1147. "doc": "Used to declare a native C# attribute or a native Java metadata; is type checked.",
  1148. "platforms": ["java", "cs"]
  1149. },
  1150. {
  1151. "name": "Struct",
  1152. "metadata": ":struct",
  1153. "doc": "Marks a class definition as a struct.",
  1154. "platforms": ["cs", "hl"],
  1155. "targets": ["TClass"]
  1156. },
  1157. {
  1158. "name": "StructAccess",
  1159. "metadata": ":structAccess",
  1160. "doc": "Marks an extern class as using struct access (`.`) not pointer (`->`).",
  1161. "platforms": ["cpp"],
  1162. "targets": ["TClass"]
  1163. },
  1164. {
  1165. "name": "StructInit",
  1166. "metadata": ":structInit",
  1167. "doc": "Allows one to initialize the class with a structure that matches constructor parameters.",
  1168. "targets": ["TClass"]
  1169. },
  1170. {
  1171. "name": "SuppressWarnings",
  1172. "metadata": ":suppressWarnings",
  1173. "doc": "Adds a `SuppressWarnings` annotation for the generated Java class.",
  1174. "platforms": ["java"],
  1175. "targets": ["TClass"]
  1176. },
  1177. {
  1178. "name": "TailRecursion",
  1179. "metadata": ":tailRecursion",
  1180. "doc": "Internally used for tail recursion elimination.",
  1181. "internal": true
  1182. },
  1183. {
  1184. "name": "TemplatedCall",
  1185. "metadata": ":templatedCall",
  1186. "doc": "Indicates that the first parameter of static call should be treated as a template argument.",
  1187. "platforms": ["cpp"],
  1188. "targets": ["TClassField"]
  1189. },
  1190. {
  1191. "name": "Throws",
  1192. "metadata": ":throws",
  1193. "doc": "Adds a `throws` declaration to the generated function.",
  1194. "platforms": ["java"],
  1195. "params": ["Type as String"],
  1196. "targets": ["TClassField"]
  1197. },
  1198. {
  1199. "name": "This",
  1200. "metadata": ":this",
  1201. "doc": "Internally used to pass a `this` expression to macros.",
  1202. "targets": ["TExpr"],
  1203. "internal": true
  1204. },
  1205. {
  1206. "name": "To",
  1207. "metadata": ":to",
  1208. "doc": "Specifies that the field of the abstract is a cast operation to the type identified in the function.",
  1209. "targets": ["TAbstractField"],
  1210. "links": ["https://haxe.org/manual/types-abstract-implicit-casts.html"]
  1211. },
  1212. {
  1213. "name": "ToString",
  1214. "metadata": ":toString",
  1215. "doc": "Internally used.",
  1216. "internal": true
  1217. },
  1218. {
  1219. "name": "Transient",
  1220. "metadata": ":transient",
  1221. "doc": "Adds the `transient` flag to the class field.",
  1222. "platforms": ["java"],
  1223. "targets": ["TClassField"]
  1224. },
  1225. {
  1226. "name": "Transitive",
  1227. "metadata": ":transitive",
  1228. "doc": "Allows transitive casts with an abstract.",
  1229. "targets": ["TAbstract"]
  1230. },
  1231. {
  1232. "name": "ValueUsed",
  1233. "metadata": ":valueUsed",
  1234. "doc": "Internally used by DCE to mark an abstract value as used.",
  1235. "internal": true
  1236. },
  1237. {
  1238. "name": "Volatile",
  1239. "metadata": ":volatile",
  1240. "doc": "",
  1241. "platforms": ["java", "cs"]
  1242. },
  1243. {
  1244. "name": "UnifyMinDynamic",
  1245. "metadata": ":unifyMinDynamic",
  1246. "doc": "Allows a collection of types to unify to `Dynamic`.",
  1247. "targets": ["TClassField"]
  1248. },
  1249. {
  1250. "name": "Unreflective",
  1251. "metadata": ":unreflective",
  1252. "doc": "",
  1253. "platforms": ["cpp"]
  1254. },
  1255. {
  1256. "name": "Unsafe",
  1257. "metadata": ":unsafe",
  1258. "doc": "Declares a class, or a method with the C#'s `unsafe` flag.",
  1259. "platforms": ["cs"],
  1260. "targets": ["TClass", "TClassField"]
  1261. },
  1262. {
  1263. "name": "Used",
  1264. "metadata": ":used",
  1265. "doc": "Internally used by DCE to mark a class or field as used.",
  1266. "internal": true
  1267. },
  1268. {
  1269. "name": "Using",
  1270. "metadata": ":using",
  1271. "doc": "Automatically uses the argument types as static extensions for the annotated type.",
  1272. "targets": ["TClass", "TEnum", "TAbstract"],
  1273. "links": ["https://haxe.org/manual/lf-static-extension-metadata.html"]
  1274. },
  1275. {
  1276. "name": "Value",
  1277. "metadata": ":value",
  1278. "doc": "Used to store default values for fields and function arguments.",
  1279. "targets": ["TClassField"],
  1280. "internal": true
  1281. },
  1282. {
  1283. "name": "HaxeArguments",
  1284. "metadata": ":haxe.arguments",
  1285. "doc": "Used to store function arguments.",
  1286. "targets": ["TClassField"],
  1287. "internal": true
  1288. },
  1289. {
  1290. "name": "HaxeWarning",
  1291. "metadata": ":haxe.warning",
  1292. "doc": "Modifies warning options, equivalent to the -w CLI argument",
  1293. "targets": ["TClass","TClassField"]
  1294. },
  1295. {
  1296. "name": "Void",
  1297. "metadata": ":void",
  1298. "doc": "Use Cpp native `void` return type.",
  1299. "platforms": ["cpp"]
  1300. },
  1301. {
  1302. "name": "NeedsExceptionStack",
  1303. "metadata": ":needsExceptionStack",
  1304. "doc": "Internally used for some of auto-generated `catch` vars",
  1305. "internal": true
  1306. },
  1307. {
  1308. "name": "WrappedException",
  1309. "metadata": ":wrappedException",
  1310. "doc": "Internally used for exceptions wrapping in `throw` expressions.",
  1311. "internal": true
  1312. }
  1313. ]