CdmLocation.toString

string toString() const pure @safe

Returns a human-readable string representation of this location.

The format depends on what information is available:

  • With source: "file.json:10:5"
  • Without source: "line 10, column 5"
  • Unknown: "<unknown location>"

Returns

A string describing the location.