mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:17:45 +00:00
Shell: Use NonnullRefPtr to simplify some things in the parser/AST
This commit is contained in:
parent
7a3ab6c517
commit
3cb8ae873c
4 changed files with 12 additions and 12 deletions
|
@ -65,7 +65,7 @@ private:
|
|||
RefPtr<AST::Node> parse_glob();
|
||||
|
||||
template<typename A, typename... Args>
|
||||
RefPtr<A> create(Args... args);
|
||||
NonnullRefPtr<A> create(Args... args);
|
||||
|
||||
bool at_end() const { return m_input.length() <= m_offset; }
|
||||
char peek();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue