This version of the module is deprecated: Moved to moonbit-community/diago. Use moonbit-community/diago@0.4.0 or later and update import paths.
Milky2018/diago/ast does not have a README file
pub(all) enum ArrayNode {
Comment(Range, String)
BlockComment(Range, String)
Substitution(Substitution)
Import(Import)
Value(Value)
}impl Eq for ArrayValueimpl Show for ArrayValueimpl Eq for BlockStringimpl Show for BlockStringimpl Eq for DoubleQuotedStringimpl Show for DoubleQuotedStringimpl Eq for Interpolationimpl Show for Interpolationpub(all) enum MapNode {
Comment(Range, String)
BlockComment(Range, String)
Substitution(Substitution)
Import(Import)
Key(Key)
}pub(all) enum Node {
Map(Map)
MapNode(MapNode)
Key(Key)
KeyPath(KeyPath)
Edge(Edge)
EdgeIndex(EdgeIndex)
Value(Value)
ArrayValue(ArrayValue)
ArrayNode(ArrayNode)
Scalar(Scalar)
StringValue(StringValue)
UnquotedString(UnquotedString)
DoubleQuotedString(DoubleQuotedString)
BlockString(BlockString)
Substitution(Substitution)
Import(Import)
}pub(all) enum StringValue {
Unquoted(UnquotedString)
SingleQuoted(Range, String)
DoubleQuoted(DoubleQuotedString)
Block(BlockString)
}impl Eq for StringValueimpl Show for StringValueimpl Eq for Substitutionimpl Show for Substitutionimpl Eq for UnquotedStringimpl Show for UnquotedStringfn UnquotedString::new(range : Range, value : Array[Interpolation], pattern : Array[String]) -> UnquotedStringfn is_reserved_keyword(s : String) -> BoolInstall
Download zipA D2-compatible diagram toolkit for MoonBit with Dagre, ELK, and Railway layout engines, rendering SVG, ASCII, and Unicode outputs.