capture->callSite_file

Returns the source file at the capture call site.

Target member

Signature

1capture->callSite_file()

Returns the source file at the capture call site.

capture->callSite_file is called with member syntax on a receiver value. capture->callSite_file affects how expressions are parsed. Small examples are worth running in isolation before placing the same shape inside a larger template block.

Examples

Basic call

1currentCapture->callSite_file
The example shows the normal call shape. Adapt variable names, validation, and surrounding error handling to the context.