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

Method current

tokenizer/tokenizer.go:154–156  ·  view source on GitHub ↗

current returns the run at the 0th index of the input.

()

Source from the content-addressed store, hash-verified

152
153// current returns the run at the 0th index of the input.
154func (t *Tokenizer) current() rune {
155 return t.getRuneAt(0)
156}
157
158// getRuneAt returns the rune at the ith index of the input.
159func (t *Tokenizer) getRuneAt(i int) rune {

Callers 5

NextMethod · 0.95
currentIsMethod · 0.95
readWordMethod · 0.95
readQueryMethod · 0.95
readUntilMethod · 0.95

Calls 1

getRuneAtMethod · 0.95

Tested by

no test coverage detected