Enums, new import blocklist and redirects

warning: untested
This commit is contained in:
Jaime Humberto Macias Bustamante
2025-03-24 11:58:56 -07:00
parent e6b5d6af49
commit 73c17e51dc
4 changed files with 405 additions and 9 deletions
+14
View File
@@ -0,0 +1,14 @@
package hscript;
class InterpConfig {
// Automatic import redirect for certain classes
public static var IMPORT_REDIRECTS(default, never) = [
"Type" => "hscript.proxy.ProxyType"
];
// Incase an import fails
// These are the module names
@:unreflective public static var DISALLOW_IMPORT(default, never) = [
"Type"
];
}