///|
test {
debug_inspect(
@diagnostic.description("SM-PARSE-003"),
content="Some(\"Missing line break between statements\")",
)
}fn Diagnostic::new(code~ : String, severity~ : Severity, title~ : String, message~ : String, span~ : Span, labels? : Array[Label], notes? : Array[String], hint? : String, example? : String) -> Diagnosticfn description(code : String) -> String?Install
Download zipSmithy IDL syntax for MoonBit: lossless scanner, typed AST, CST, parser and diagnostics
Dependencies