MCPcopy
hub / github.com/kashav/fsql / setToken

Method setToken

tokenizer/tokenizer.go:133–136  ·  view source on GitHub ↗

setToken adds token to the list of this Tokenizer's tokens.

(token *Token)

Source from the content-addressed store, hash-verified

131
132// setToken adds token to the list of this Tokenizer's tokens.
133func (t *Tokenizer) setToken(token *Token) *Token {
134 t.tokens = append(t.tokens, token)
135 return token
136}
137
138// getPreviousToken returns the token that was most-recently read.
139func (t *Tokenizer) getPreviousToken() *Token {

Callers 1

NextMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected