IncludePosition(String)
package haxe.macro
import haxe.macro.Compiler
Available on all platforms
Variables
inlineread onlyClosure: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.
inlineread onlyInline:IncludePosition = "inline"
Directly inject the file content at the call site.
inlineread onlyTop:IncludePosition = "top"
Prepend the file content to the output file.
© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/haxe/macro/IncludePosition.html