We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5df76e9 commit 8bac02cCopy full SHA for 8bac02c
syntax/abstract.mjs
@@ -159,7 +159,9 @@ function attach_comments(acc, cur) {
159
}
160
161
162
-// Remove the largest common indentation from a list of PatternElements.
+// Remove the largest common indentation from a list of elements of a Pattern.
163
+// The indents are parsed in grammar.mjs and passed to abstract.mjs as string
164
+// primitives along with other PatternElements.
165
function dedent(elements) {
166
// Calculate the maximum common indent.
167
let indents = elements.filter(element => typeof element === "string");
0 commit comments