Sign in

    xz-xuezhe/moonblox/ast does not have a README file

    Block

    pub(all) enum Block {
    Paragraph(BlockParagraph)
    Heading(BlockHeading)
    CodeBlock(BlockCode)
    ContainerComponent(BlockContainer)
    BlockQuote(Array[Block])
    List(BlockList)
    Table(BlockTable)
    ThematicBreak
    }

    BlockCode

    pub(all) struct BlockCode {
    info : String?
    content : String
    }

    BlockContainer

    pub(all) struct BlockContainer {
    name : String
    args : Map[String, Value]
    children : Array[Block]
    }

    BlockHeading

    pub(all) struct BlockHeading {
    level : Int
    children : Array[Inline]
    }

    BlockList

    pub(all) struct BlockList {
    ordered : Bool
    tight : Bool
    items : Array[ListItem]
    }

    BlockParagraph

    pub(all) struct BlockParagraph {
    children : Array[Inline]
    }

    BlockTable

    pub(all) struct BlockTable {
    header : Array[BlockTableCell]
    alignments : Array[
    TableAlign
    ]
    rows : Array[Array[BlockTableCell]]
    }

    BlockTableCell

    pub(all) struct BlockTableCell {
    children : Array[Inline]
    }

    Document

    pub(all) struct Document {
    children : Array[Block]
    meta : Map[String, String]
    }

    Inline

    pub(all) enum Inline {
    Markdown(
    Inline
    )
    Component(String, Map[String, Value])
    }

    ListItem

    pub(all) struct ListItem {
    children : Array[Block]
    }

    Value

    pub(all) enum Value {
    Str(String)
    Number(Double)
    Bool(Bool)
    Array(Array[Value])
    Record(Map[String, Value])
    Funcall(String, Map[String, Value])
    Var(String)
    }

    Source Files

    Powered by MoonBit

    Site sourceReport issuePackagesBuild queueSkillsStatistics

    © 2026 mooncakes.io