MCPcopy Create free account
hub / github.com/crossoverJie/gscript / SetPos

Method SetPos

syntax/syntax.go:108–112  ·  view source on GitHub ↗
(pos uint64)

Source from the content-addressed store, hash-verified

106}
107
108func (t *TokenReader) SetPos(pos uint64) {
109 if pos >= 0 && int(pos) < len(t.tokens) {
110 t.pos = pos
111 }
112}
113
114// IntDeclare int a=10+1*2
115func IntDeclare(tokenReader *TokenReader) (*ASTNode, error) {

Callers 1

ExpressionStatementFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected