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

Method Pragma_name

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

Source from the content-addressed store, hash-verified

31654}
31655
31656func (p *SQLiteParser) Pragma_name() (localctx IPragma_nameContext) {
31657 localctx = NewPragma_nameContext(p, p.GetParserRuleContext(), p.GetState())
31658 p.EnterRule(localctx, 204, SQLiteParserRULE_pragma_name)
31659 p.EnterOuterAlt(localctx, 1)
31660 {
31661 p.SetState(2142)
31662 p.Any_name()
31663 }
31664
31665errorExit:
31666 if p.HasError() {
31667 v := p.GetError()
31668 localctx.SetException(v)
31669 p.GetErrorHandler().ReportError(p, v)
31670 p.GetErrorHandler().Recover(p, v)
31671 p.SetError(nil)
31672 }
31673 p.ExitRule()
31674 return localctx
31675 goto errorExit // Trick to prevent compiler error if the label is not used
31676}
31677
31678// ISavepoint_nameContext is an interface to support dynamic dispatch.
31679type ISavepoint_nameContext interface {

Callers 1

Pragma_stmtMethod · 0.95

Calls 4

Any_nameMethod · 0.95
NewPragma_nameContextFunction · 0.85
EnterRuleMethod · 0.45
ExitRuleMethod · 0.45

Tested by

no test coverage detected