← All types
AI & MLOb Object

SourceDiagnostic

Location in authored source; one-based UTF-16 columns and exclusive end positions.

Fields

Authored document containing the diagnostic, such as sourceXML or serverLua.

startLine

Int!Non-null

One-based line where the diagnostic begins.

One-based UTF-16 column where the diagnostic begins.

endLine

Int!Non-null

One-based line containing the exclusive end position.

endColumn

Int!Non-null

One-based UTF-16 column of the exclusive end position.

Zero-based UTF-8 byte offset where the diagnostic begins.

endOffset

Int!Non-null

Exclusive UTF-8 byte offset where the diagnostic ends.

XML element identifier associated with the diagnostic, when available.

XML attribute associated with the diagnostic, when available.

Dot path of the input associated with the diagnostic, when available.

Referenced by (1)
Exact type SDL
"""
Location in authored source; one-based UTF-16 columns and exclusive end positions.
"""
type SourceDiagnostic {
  """
  Authored document containing the diagnostic, such as sourceXML or serverLua.
  """
  document: String!
  """One-based line where the diagnostic begins."""
  startLine: Int!
  """One-based UTF-16 column where the diagnostic begins."""
  startColumn: Int!
  """One-based line containing the exclusive end position."""
  endLine: Int!
  """One-based UTF-16 column of the exclusive end position."""
  endColumn: Int!
  """Zero-based UTF-8 byte offset where the diagnostic begins."""
  startOffset: Int!
  """Exclusive UTF-8 byte offset where the diagnostic ends."""
  endOffset: Int!
  """XML element identifier associated with the diagnostic, when available."""
  elementID: String
  """XML attribute associated with the diagnostic, when available."""
  attribute: String
  """Dot path of the input associated with the diagnostic, when available."""
  inputPath: String
}