Skip to content

Commit bba31c0

Browse files
committed
Add comment to clarify reverse parsing
1 parent 8b8d174 commit bba31c0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

extensions/ql-vscode/src/view/compare-performance/RAPrettyPrinter.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ function parseName(text: string): QualifiedName {
6767
}
6868

6969
function parseQName(): QualifiedName {
70+
// Note that the tokens stream is parsed in reverse order. This is simpler, but may look confusing initially.
7071
let args: QualifiedName[] | undefined;
7172
if (skipToken(">")) {
7273
args = [];

0 commit comments

Comments
 (0)