MCPcopy
hub / github.com/google/mtail / ErrorP

Method ErrorP

internal/runtime/compiler/parser/driver.go:60–62  ·  view source on GitHub ↗
(s string, pos *position.Position)

Source from the content-addressed store, hash-verified

58}
59
60func (p *parser) ErrorP(s string, pos *position.Position) {
61 p.errors.Add(pos, s)
62}
63
64func (p *parser) Error(s string) {
65 p.errors.Add(&p.t.Pos, s)

Callers

nothing calls this directly

Calls 1

AddMethod · 0.45

Tested by

no test coverage detected