mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-21 09:49:21 +00:00
LibJS: Keep track of file names, lines and columns inside the AST
This commit is contained in:
parent
007b6edce4
commit
0039ecb189
Notes:
sideshowbarker
2024-07-18 21:49:47 +09:00
Author: https://github.com/boricj
Commit: 0039ecb189
Pull-request: https://github.com/SerenityOS/serenity/pull/5547
Reviewed-by: https://github.com/alimpfard
Reviewed-by: https://github.com/linusg
6 changed files with 134 additions and 122 deletions
|
@ -36,6 +36,7 @@ struct Position {
|
|||
};
|
||||
|
||||
struct SourceRange {
|
||||
StringView filename;
|
||||
Position start;
|
||||
Position end;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue