macro.PositionTools

PositionTools

package haxe-macro

Available on all platforms

Static methods

static getInfos (p:Position):{min:Int, max:Int, file:String}

Like Context.getPosInfos, except this method is available on all platforms.

static here ():Position

Returns the Position where the caller of here is.

static make (inf:{min:Int, max:Int, file:String}):Position

Like Context.makePosition, except this method is available on all platforms.

© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/haxe/macro/PositionTools.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部