---
source: crates/ruff_python_formatter/src/comments/debug.rs
expression: comments.debug(source_code)
snapshot_kind: text
---
{
    Node {
        kind: StmtContinue,
        range: 18..26,
        source: `continue`,
    }: {
        "leading": [
            SourceComment {
                text: "# leading comment",
                position: OwnLine,
                formatted: false,
            },
        ],
        "dangling": [],
        "trailing": [
            SourceComment {
                text: "# trailing",
                position: EndOfLine,
                formatted: false,
            },
        ],
    },
    Node {
        kind: StmtBreak,
        range: 55..60,
        source: `break`,
    }: {
        "leading": [
            SourceComment {
                text: "# break leading",
                position: OwnLine,
                formatted: false,
            },
        ],
        "dangling": [],
        "trailing": [],
    },
}
