macro.PositionTools
PositionTools
package haxe-macro
Available on all platformsStatic 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