scoop:scoop.core:0.1.0
src/source_location.scoop
Selected production source · src/source_location.scoop
1
/**2
* The caller's source file, one-based line and column, and enclosing function and type names.3
*/4
public struct SourceLocation(5
val file: String,6
val line: Long,7
val column: Long,8
val functionName: String,9
val typeName: String10
)12
/** Returns the source location of this call. */13
@DocAlias("source position")14
@Intrinsic("current_source_location")15
public fun currentSourceLocation(): SourceLocation