W3cubDocs

/Haxe

PosInfos

package haxe

Available on all platforms

PosInfos is a magic type which can be used to generate position information into the output for debugging use.

If a function has a final optional argument of this type, i.e. (..., ?pos:haxe.PosInfos), each call to that function which does not assign a value to that argument has its position added as call argument.

This can be used to track positions of calls in e.g. a unit testing framework.

Fields

methodName:String

lineNumber:Int

fileName:String

optionalcustomParams:Null<Array<Dynamic>>

className:String

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/haxe/PosInfos.html