mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-14 10:56:35 +02:00
The TokenInfo struct contains the token's position and a "semantic type". The semantic type is a more fine-grained token type than what's in Cpp::Token::Type. For example, the semantic token type differentiates between a reference to a variable and to a function parameter. In the normal Token::Type, both would be Token::Type::Identifier.
3.4 KiB
3.4 KiB