Files
marqdo-lint/tests/fixtures/rc4/bom.analysis.json
T

227 lines
5.7 KiB
JSON
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"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": []
}