RFC: label doc (#10275)
* RFC: label doc * Update functions in doc-utils
This commit is contained in:
1 parent
91c0d58c4a
commit
662cdb04db
7 files changed
+57
-10
No files matched your search
@@ -173,6 +173,10 @@ function printDocToDebug(doc) {
|
||||
return "lineSuffixBoundary";
|
||||
}
|
||||
|
||||
if (doc.type === "label") {
|
||||
return `label(${JSON.stringify(doc.label)}, ${printDoc(doc.contents)})`;
|
||||
}
|
||||
|
||||
throw new Error("Unknown doc type " + doc.type);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user