Function tokenTag [src]
Prototype
pub fn tokenTag(tree: *const Ast, token_index: TokenIndex) Token.Tag Parameters
tree: *const Asttoken_index: TokenIndex Source
pub fn tokenTag(tree: *const Ast, token_index: TokenIndex) Token.Tag {
return tree.tokens.items(.tag)[token_index];
}