Using and Enums

Based on Enums and Using system from hscript-iris, mostly made by ne_eo.
This commit is contained in:
Jaime Humberto Macias Bustamante
2025-03-03 21:53:02 -07:00
parent a1ee770794
commit 9833c61f78
16 changed files with 622 additions and 9 deletions
+9
View File
@@ -0,0 +1,9 @@
package hscript.utils;
/**
* This is used to mark classes that can be used with the `using` keyword.
* You can also add @:usableEntry to your class.
* If you wanna force the class to be called with any type, you can add @:usableEntry(forceAny)
**/
@:autoBuild(hscript.macros.UsingMacro.build())
interface UsingClass {}