mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-10 10:01:13 +09:00
Shell: Move everything to the Shell namespace
Also provide a basic default-constructor.
This commit is contained in:
parent
34039d6639
commit
f164b808b5
Notes:
sideshowbarker
2024-07-19 02:03:08 +09:00
Author: https://github.com/alimpfard
Commit: f164b808b5
Pull-request: https://github.com/SerenityOS/serenity/pull/3675
Reviewed-by: https://github.com/awesomekling
17 changed files with 115 additions and 17 deletions
|
@ -29,6 +29,8 @@
|
|||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
|
||||
namespace Shell {
|
||||
|
||||
Parser::SavedOffset Parser::save_offset() const
|
||||
{
|
||||
return { m_offset, m_line };
|
||||
|
@ -1350,3 +1352,5 @@ StringView Parser::consume_while(Function<bool(char)> condition)
|
|||
|
||||
return m_input.substring_view(start_offset, m_offset - start_offset);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue