Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crossoverJie/gscript
/ GetPos
Method
GetPos
syntax/syntax.go:104–106 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
102
}
103
104
func
(t *TokenReader) GetPos() uint64 {
105
return
t.pos
106
}
107
108
func
(t *TokenReader) SetPos(pos uint64) {
109
if
pos >= 0 && int(pos) < len(t.tokens) {
Callers
1
ExpressionStatement
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected