mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 12:37:45 +00:00
LibCpp: Add Parser::tokens_in_range(start, end)
This function returns the tokens that exist in the specified range.
This commit is contained in:
parent
9a31fb6673
commit
232013c05b
3 changed files with 15 additions and 5 deletions
|
@ -49,6 +49,7 @@ public:
|
|||
Preprocessor::DefinedValue preprocessor_value;
|
||||
};
|
||||
const Vector<TokenAndPreprocessorDefinition>& replaced_preprocessor_tokens() const { return m_replaced_preprocessor_tokens; }
|
||||
Vector<Token> tokens_in_range(Position start, Position end) const;
|
||||
|
||||
private:
|
||||
enum class DeclarationType {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue