MCPcopy Create free account
hub / github.com/dop251/goja / Position

Method Position

runtime.go:232–237  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

230}
231
232func (f *StackFrame) Position() file.Position {
233 if f.prg == nil || f.prg.src == nil {
234 return file.Position{}
235 }
236 return f.prg.src.Position(f.prg.sourceOffset(f.pc))
237}
238
239func (f *StackFrame) WriteToValueBuilder(b *StringBuilder) {
240 if f.prg != nil {

Callers 2

WriteToValueBuilderMethod · 0.95
WriteMethod · 0.95

Calls 1

sourceOffsetMethod · 0.80

Tested by

no test coverage detected