mirror of
https://github.com/RGBCube/serenity
synced 2025-05-19 00:45:08 +00:00
Shell: Move everything to the Shell namespace
Also provide a basic default-constructor.
This commit is contained in:
parent
34039d6639
commit
f164b808b5
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