MCPcopy Index your code
hub / github.com/sqlc-dev/sqlc / Error_message

Method Error_message

internal/engine/sqlite/parser/sqlite_parser.go:28923–28947  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28921}
28922
28923func (p *SQLiteParser) Error_message() (localctx IError_messageContext) {
28924 localctx = NewError_messageContext(p, p.GetParserRuleContext(), p.GetState())
28925 p.EnterRule(localctx, 168, SQLiteParserRULE_error_message)
28926 p.EnterOuterAlt(localctx, 1)
28927 {
28928 p.SetState(2099)
28929 p.Match(SQLiteParserSTRING_LITERAL)
28930 if p.HasError() {
28931 // Recognition error - abort rule
28932 goto errorExit
28933 }
28934 }
28935
28936errorExit:
28937 if p.HasError() {
28938 v := p.GetError()
28939 localctx.SetException(v)
28940 p.GetErrorHandler().ReportError(p, v)
28941 p.GetErrorHandler().Recover(p, v)
28942 p.SetError(nil)
28943 }
28944 p.ExitRule()
28945 return localctx
28946 goto errorExit // Trick to prevent compiler error if the label is not used
28947}
28948
28949// IModule_argumentContext is an interface to support dynamic dispatch.
28950type IModule_argumentContext interface {

Callers 1

Raise_functionMethod · 0.95

Calls 3

NewError_messageContextFunction · 0.85
EnterRuleMethod · 0.45
ExitRuleMethod · 0.45

Tested by

no test coverage detected