mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 21:29:06 +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
|
@ -222,6 +222,7 @@ private:
|
|||
|
||||
Vector<Position> m_rule_starts;
|
||||
ParserState m_parser_state;
|
||||
FlyString m_filename;
|
||||
Vector<ParserState> m_saved_state;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue