1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:27:44 +00:00

LibCpp: Add public Parser::tokens() method

This commit is contained in:
Itamar 2022-02-05 18:10:35 +02:00 committed by Andreas Kling
parent 4f1c77a059
commit 4a8afd6b4e

View file

@ -32,6 +32,7 @@ public:
String text_of_node(const ASTNode&) const;
StringView text_of_token(const Cpp::Token& token) const;
void print_tokens() const;
Vector<Token> const& tokens() const { return m_tokens; }
const Vector<String>& errors() const { return m_errors; }
struct TodoEntry {