When producing diagnostics about missing attributes or bodies it's necessary to have a range representing the place where the missing thing might be inserted. There's not always a single reasonable value for this, so some liberty can be taken about what exactly is returned as long as it's somewhere the user can relate back to the construct producing the error. |
||
---|---|---|
.. | ||
json | ||
diagnostic_text_test.go | ||
diagnostic_text.go | ||
diagnostic.go | ||
doc.go | ||
eval_context.go | ||
merged_test.go | ||
merged.go | ||
pos.go | ||
schema.go | ||
structure.go |