MCPcopy 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
104func (t *TokenReader) GetPos() uint64 {
105 return t.pos
106}
107
108func (t *TokenReader) SetPos(pos uint64) {
109 if pos >= 0 && int(pos) < len(t.tokens) {

Callers 1

ExpressionStatementFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected