mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:57:44 +00:00
LibCpp: Add Preprocessor:unprocessed_token()
This commit is contained in:
parent
4a8afd6b4e
commit
bed60b2d49
2 changed files with 6 additions and 0 deletions
|
@ -49,6 +49,8 @@ public:
|
|||
|
||||
Function<Definitions(StringView)> definitions_in_header_callback { nullptr };
|
||||
|
||||
Vector<Token> const& unprocessed_tokens() const { return m_unprocessed_tokens; }
|
||||
|
||||
private:
|
||||
void handle_preprocessor_statement(StringView);
|
||||
void handle_include_statement(StringView);
|
||||
|
@ -72,6 +74,7 @@ private:
|
|||
String m_filename;
|
||||
String m_program;
|
||||
|
||||
Vector<Token> m_unprocessed_tokens;
|
||||
Vector<Token> m_processed_tokens;
|
||||
Definitions m_definitions;
|
||||
Vector<Substitution> m_substitutions;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue