macro.IncludePosition
IncludePosition(String)
package haxe-macro
import haxe.macro.Compiler
Available on all platformsVariables
inline read only Closure:IncludePosition = "closure"
Prepend the file content to the body of the top-level closure.
Since the closure is in strict-mode, there may be run-time error if the input is not strict-mode-compatible.
inline read only Inline:IncludePosition = "inline"
Directly inject the file content at the call site.
inline read only Top:IncludePosition = "top"
Prepend the file content to the output file.
© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/haxe/macro/IncludePosition.html