Skip to content

Commit 8c22642

Browse files
Merge branch 'dev/jobolton/parseMode' of https://github.com/microsoft/powerquery-parser into dev/jobolton/parseMode
2 parents dfe3029 + 1cf1b82 commit 8c22642

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/powerquery-parser/parser/parser/parserUtils.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -332,9 +332,9 @@ async function tryParseSectionDocument(
332332
}
333333
}
334334

335-
// Adds `tokensConsumed` to the TriedParse type.
336-
// This is used to determine which parse attempt should be returned
337-
// when both an expression and section document are attempted.
335+
// Internal type: Used specifically for comparing parse attempts when both an expression and section document are attempted.
336+
// Not a general extension of TriedParse; do not use outside this context.
337+
// Adds `tokensConsumed` to the TriedParse type to help determine which parse attempt should be returned.
338338
type InternalTriedParse = Result<ParseOk, InternalTriedParseError>;
339339

340340
interface InternalTriedParseError {

0 commit comments

Comments
 (0)