Warning

public struct Warning

Warning about tag-math resolution

  • the general category of this warning

    Declaration

    Swift

    public let source: Source
  • general categories that the kinds of warnings fall into

    See more

    Declaration

    Swift

    public enum Source : String
  • the kind of this warning

    Declaration

    Swift

    public let kind: Kind
  • various kinds of tag-math resolution warnings

    See more

    Declaration

    Swift

    public enum Kind : String
  • cue

    a hint to show to a user (usually an offending snippet of the input)

    Declaration

    Swift

    public let cue: String
  • offset into the original input of the warning

    Declaration

    Swift

    public let position: UInt
  • length of the text in the original input causing the warning

    Declaration

    Swift

    public let length: UInt