macro.IncludePosition

IncludePosition(String)

package haxe-macro

from String to String

import haxe.macro.Compiler

Available on all platforms

Variables

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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部