Get Caller Source Line Number¶
The “Caller Source Line Number” is the line number of the definition of the caller within the file module [Object-Namebinding]:
1 | <module-file-path-rel> + <code-component(s)>
|
The call signature is [Object Binding Functions]:
1 | get<obj>_linenumber()
|
Where <obj> is resolved to Caller for the relative stack position [API]:
fileinfo.getcaller_linenumber