Function tokenStart [src]
Prototype
pub fn tokenStart(tree: *const Ast, token_index: TokenIndex) ByteOffset
Parameters
tree: *const Ast
token_index: TokenIndex
Source
pub fn tokenStart(tree: *const Ast, token_index: TokenIndex) ByteOffset {
return tree.tokens.items(.start)[token_index];
}