PosInfos

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.

Properties

className:String

customParams:Null<Array<Dynamic>>

fileName:String

lineNumber:Int

methodName:String

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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部