Using and Enums
Based on Enums and Using system from hscript-iris, mostly made by ne_eo.
This commit is contained in:
@@ -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 {}
|
||||
Reference in New Issue
Block a user