mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:27:45 +00:00
Everywhere: Stop using NonnullRefPtrVector
This class had slightly confusing semantics and the added weirdness doesn't seem worth it just so we can say "." instead of "->" when iterating over a vector of NNRPs. This patch replaces NonnullRefPtrVector<T> with Vector<NNRP<T>>.
This commit is contained in:
parent
104be6c8ac
commit
8a48246ed1
168 changed files with 1280 additions and 1280 deletions
|
@ -27,7 +27,7 @@ public:
|
|||
/// Parse the given string *as* an expression
|
||||
/// that is to forcefully enclose it in double-quotes.
|
||||
RefPtr<AST::Node> parse_as_single_expression();
|
||||
NonnullRefPtrVector<AST::Node> parse_as_multiple_expressions();
|
||||
Vector<NonnullRefPtr<AST::Node>> parse_as_multiple_expressions();
|
||||
|
||||
struct SavedOffset {
|
||||
size_t offset;
|
||||
|
@ -47,7 +47,7 @@ private:
|
|||
};
|
||||
|
||||
struct SequenceParseResult {
|
||||
NonnullRefPtrVector<AST::Node> entries;
|
||||
Vector<NonnullRefPtr<AST::Node>> entries;
|
||||
Vector<AST::Position, 1> separator_positions;
|
||||
ShouldReadMoreSequences decision;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue