Instance Propertyswift-syntax 600.0.1SwiftSyntax
hasError
Whether the tree contained by this layout has any
This declaration is gated by at least one @_spi attribute.
var hasError: Bool { get }
missing nodes or
unexpected nodes or
tokens with a
TokenDiagnostic
of severityerror