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