MCPcopy Create free account
hub / github.com/despiteallobjections/amigo / syntaxError

Method syntaxError

syntax/parser.go:216–216  ·  view source on GitHub ↗
(msg string)

Source from the content-addressed store, hash-verified

214func (p *parser) pos() Pos { return p.posAt(p.line, p.col) }
215func (p *parser) error(msg string) { p.errorAt(p.pos(), msg) }
216func (p *parser) syntaxError(msg string) { p.syntaxErrorAt(p.pos(), msg) }
217
218// The stopset contains keywords that start a statement.
219// They are good synchronization points in case of syntax

Callers 15

wantMethod · 0.95
gotAssignMethod · 0.95
fileOrNilMethod · 0.95
listMethod · 0.95
importSpecMethod · 0.95
typeSpecMethod · 0.95
funcDeclOrNilMethod · 0.95
unaryExprMethod · 0.95
operandMethod · 0.95
pexprMethod · 0.95
type_Method · 0.95
typeInstanceMethod · 0.95

Calls 2

syntaxErrorAtMethod · 0.95
posMethod · 0.95

Tested by

no test coverage detected