Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cel-expr/cel-go
/ RestorePosition
Method
RestorePosition
parser/lexer.go:239–242 ·
view source on GitHub ↗
(pos int32)
Source
from the content-addressed store, hash-verified
237
}
238
239
func
(l *lexer) RestorePosition(pos int32) {
240
l.pos = pos
241
l.err = lexerError{}
242
}
243
244
func
(l *lexer) GetError() lexerError {
245
return
l.err
Callers
2
TestLexerPositionSaveRestore
Function · 0.80
isStructCreationAhead
Method · 0.80
Calls
no outgoing calls
Tested by
1
TestLexerPositionSaveRestore
Function · 0.64