W3cubDocs

/Haxe

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–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/haxe/macro/PositionTools.html