feat: adopt marqdo 3.0.0-rc.4 public analysis boundary

This commit is contained in:
cflmy committed 2026-11-25 21:18:35 +08:00
1 parent 769550b14b
commit fe18df6c4b
74 files changed
+7618 -5368

No files matched your search

+227
View File
@@ -0,0 +1,227 @@
{
"schema": "marqdo.analysis",
"schema_version": 3,
"producer": {
"name": "marqdo",
"version": "3.0.0-rc.4",
"markdown_profile": "marqdo.md.v1"
},
"project": {
"root_id": "sha256:09c24ef9d9b03ffcb4fcf8ff3d40306d47c7c6cbcfb151837edad217d1e70921",
"identity_kind": "workspace_snapshot",
"entry_module_id": "root:default::bom.mq.md",
"lock_digest": "",
"manifest_digest": "",
"stdlib": {
"version": "0.1.0",
"digest": "sha256:5407d3665ba2fe105820d0f1af5efaafa10c277a69eb819c3225719813c8c713",
"instance_id": "std:marqdo-stdlib@0.1.0#5407d3665ba2fe105820d0f1af5efaafa10c277a69eb819c3225719813c8c713"
},
"extensions": []
},
"modules": [
{
"id": "root:default::bom.mq.md",
"package_instance_id": "root:default",
"relative_path": "bom.mq.md",
"source_digest": "b7973730c6130d1f555e78d0685b495fdc70d9a5e76755dd1700a74c761bc802",
"source": "## @exec BOM位置\n\nBOM 后的中文 span 仍相对原始字节。\n\n`params(x: Int)`\n\n*return x*\n",
"document": {
"children": [
{
"children": [
{
"children": [],
"kind": "text",
"literal": "@exec BOM位置",
"span": {
"end": 21,
"start": 6
}
}
],
"kind": "heading",
"level": 2,
"setext": false,
"span": {
"end": 21,
"start": 3
}
},
{
"children": [
{
"children": [],
"kind": "text",
"literal": "BOM 后的中文 span 仍相对原始字节。",
"span": {
"end": 69,
"start": 23
}
}
],
"kind": "paragraph",
"span": {
"end": 69,
"start": 23
}
},
{
"children": [
{
"children": [],
"kind": "code",
"literal": "params(x: Int)",
"span": {
"end": 87,
"start": 71
},
"ticks": 1
}
],
"kind": "paragraph",
"span": {
"end": 87,
"start": 71
}
},
{
"children": [
{
"children": [
{
"children": [],
"kind": "text",
"literal": "return x",
"span": {
"end": 98,
"start": 90
}
}
],
"kind": "emph",
"span": {
"end": 99,
"start": 89
}
}
],
"kind": "paragraph",
"span": {
"end": 99,
"start": 89
}
}
],
"kind": "document",
"span": {
"end": 100,
"start": 0
}
},
"units": [
{
"id": "root:default::bom.mq.md#",
"path": [],
"parent_id": null,
"kind": "root",
"name": "",
"level": 0,
"mode": "knowledge",
"mode_origin": "default",
"mode_source_unit_id": "root:default::bom.mq.md#",
"heading_span": null,
"span": {
"start": 0,
"end": 100
},
"function": null
},
{
"id": "root:default::bom.mq.md#BOM位置",
"path": [
"BOM位置"
],
"parent_id": "root:default::bom.mq.md#",
"kind": "function",
"name": "BOM位置",
"level": 2,
"mode": "exec",
"mode_origin": "explicit",
"mode_source_unit_id": "root:default::bom.mq.md#BOM位置",
"heading_span": {
"start": 3,
"end": 21
},
"span": {
"start": 3,
"end": 100
},
"function": "root:default::bom.mq.md::BOM位置"
}
],
"anchors": [
{
"anchor": "bom位置",
"unit_id": "root:default::bom.mq.md#BOM位置"
}
],
"functions": [
{
"id": "root:default::bom.mq.md::BOM位置",
"unit_id": "root:default::bom.mq.md#BOM位置",
"local_name": "BOM位置",
"namespace": null,
"span": {
"start": 3,
"end": 99
},
"heading_span": {
"start": 3,
"end": 21
},
"signature": {
"kind": "explicit",
"params": [
{
"name": "x",
"required": true,
"type": "Int",
"default": null,
"span": {
"start": 78,
"end": 84
}
}
]
},
"effects": [
"unknown"
],
"body": [
{
"kind": "return",
"span": {
"end": 99,
"start": 89
},
"value": {
"kind": "variable",
"name": "x",
"span": {
"end": 98,
"start": 97
}
}
}
]
}
],
"imports": [],
"references": [],
"calls": [],
"resources": []
}
],
"diagnostics": []
}