haXe API Documentation
Back | Index
class haxe.macro.Compiler
Available in neko
All these methods can be called for compiler configuration macros.
static function addClassPath(path : String) : Void
static function addMetadata(meta : String, className : String, ?field : String, ?isStatic : Bool) : Void
static function addNativeLib(name : String) : Void
static function define(flag : String) : Void
static function exclude(pack : String, ?rec : Bool) : Void
static function excludeFile(fileName : String) : Void
static function getDisplayPos() : Null<{ pos : Int, file : String}>
static function getOutput() : String
static function include(pack : String, ?rec : Bool, ?ignore : Array<String>, ?classPaths : Array<String>) : Void
static function keep(?path : String, ?paths : Array<String>, ?rec : Bool) : Void
static function patchTypes(file : String) : Void
static function removeField(className : String, field : String, ?isStatic : Bool) : Void
static function setCustomJSGenerator(callb : JSGenApi -> Void) : Void
static function setFieldType(className : String, field : String, type : String, ?isStatic : Bool) : Void
static function setOutput(fileOrDir : String) : Void
Back | Index