MCPcopy
hub / github.com/golang/protobuf / add

Method add

protoc-gen-go/generator/internal/remap/remap.go:38–40  ·  view source on GitHub ↗
(opos, oend, npos, nend int)

Source from the content-addressed store, hash-verified

36}
37
38func (m Map) add(opos, oend, npos, nend int) {
39 m[Location{Pos: opos, End: oend}] = Location{Pos: npos, End: nend}
40}
41
42// Compute constructs a location mapping from input to output. An error is
43// reported if any of the tokens of output cannot be mapped.

Callers 1

ComputeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected