Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ExtraMarker = extraMarker{}
Marker to identify circular access diagnostic. Identifies the diagnostic that will be extended with the backtrace.
Functions ¶
func Add ¶
func Add[T any](ptr *T, refRange *hcl.Range)
Adds pointer to circular reference detection. refRange is optional.
func Remove ¶
func Remove[T any](ptr *T, diags *diagnostics.Diag)
Removes pointer from circular reference detection and appends the backtrace to the diagnostic marked by ExtraMarker (if it exists).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.