Add comment to clarify reverse parsing

This commit is contained in:
Asger F
2025-01-17 11:47:35 +01:00
parent 8b8d174781
commit bba31c030a

View File

@@ -67,6 +67,7 @@ function parseName(text: string): QualifiedName {
}
function parseQName(): QualifiedName {
// Note that the tokens stream is parsed in reverse order. This is simpler, but may look confusing initially.
let args: QualifiedName[] | undefined;
if (skipToken(">")) {
args = [];