mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-04 16:51:05 +01:00
Rename Lex::{Token,Line} -> Lex::{Token,Line}Index. (#3433)
As discussed [on discord](https://discord.com/channels/655572317891461132/655578254970716160/1178878128714678282) and today's toolchain discussion.
This commit is contained in:
@@ -93,7 +93,7 @@ auto Tree::node_kind(NodeId n) const -> NodeKind {
|
||||
return node_impls_[n.index].kind;
|
||||
}
|
||||
|
||||
auto Tree::node_token(NodeId n) const -> Lex::Token {
|
||||
auto Tree::node_token(NodeId n) const -> Lex::TokenIndex {
|
||||
CARBON_CHECK(n.is_valid());
|
||||
return node_impls_[n.index].token;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user