Skip to content

Commit

Permalink
Add comment to clarify reverse parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
asgerf committed Jan 17, 2025
1 parent 8b8d174 commit bba31c0
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [];
Expand Down

0 comments on commit bba31c0

Please sign in to comment.