MCPcopy Create free account
hub / github.com/DAddYE/igo / expectClosing

Method expectClosing

parser/parser.go:395–401  ·  view source on GitHub ↗

expectClosing is like expect but provides a better error message for the common case of a missing comma before a newline.

(tok token.Token, context string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

parseCallOrConversionMethod · 0.95
parseLiteralValueMethod · 0.95

Calls 4

isIndentMethod · 0.95
errorMethod · 0.95
nextMethod · 0.95
expectMethod · 0.95

Tested by

no test coverage detected