Compiler

class haxe.macro.CompilerAvailable in nekoAll 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 allowPackage( v : String ) : Void static function define( flag : String, ?value : String ) : Void static function exclude( pack : String, ?rec : Bool ) : VoidExclude a given class or a complete package from being generated. static function excludeFile( fileName : String ) : VoidExclude classes listed in an extern file (one per line) from being generated. static function getDefine( key : Dynamic ) : Dynamic 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> ) : VoidInclude for compilation all classes defined in the given package excluding the ones referenced in the ignore list. rec default to true. static function keep( ?path : String, ?paths : Array<String>, ?rec : Bool ) : VoidMark a class (or array of classes) with the metadata @:keep static function patchTypes( file : String ) : VoidLoad a type patch file that can modify declared classes fields types static function removeField( className : String, field : String, ?isStatic : Bool ) : Void static function setCustomJSGenerator( callb : JSGenApi -> Void ) : VoidChange the default JS output by using a custom generator callback static function setFieldType( className : String, field : String, type : String, ?isStatic : Bool ) : Void static function setOutput( fileOrDir : String ) : Void
version #18524, modified 2013-05-08 10:51:17 by api
0 comment