mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 16:57:46 +00:00
LibCpp: Implement Parser::text_in_range using text of tokens
It was previously implemented by directly iterating over the program's source.
This commit is contained in:
parent
97f2cd596b
commit
8a102fe3ec
5 changed files with 35 additions and 32 deletions
|
@ -443,7 +443,7 @@ public:
|
|||
virtual const char* class_name() const override { return "StringLiteral"; }
|
||||
virtual void dump(size_t indent) const override;
|
||||
|
||||
StringView m_value;
|
||||
String m_value;
|
||||
};
|
||||
|
||||
class ReturnStatement : public Statement {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue