Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dop251/goja
/ position
Method
position
parser/parser.go:266–268 ·
view source on GitHub ↗
(idx file.Idx)
Source
from the content-addressed store, hash-verified
264
}
265
266
func
(self *_parser) position(idx file.Idx) file.Position {
267
return
self.file.Position(int(idx) - self.base)
268
}
Callers
2
error
Method · 0.95
TestParserErr
Function · 0.80
Calls
1
Position
Method · 0.45
Tested by
1
TestParserErr
Function · 0.64