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

Method Index_name

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

Source from the content-addressed store, hash-verified

31238}
31239
31240func (p *SQLiteParser) Index_name() (localctx IIndex_nameContext) {
31241 localctx = NewIndex_nameContext(p, p.GetParserRuleContext(), p.GetState())
31242 p.EnterRule(localctx, 196, SQLiteParserRULE_index_name)
31243 p.EnterOuterAlt(localctx, 1)
31244 {
31245 p.SetState(2134)
31246 p.Any_name()
31247 }
31248
31249errorExit:
31250 if p.HasError() {
31251 v := p.GetError()
31252 localctx.SetException(v)
31253 p.GetErrorHandler().ReportError(p, v)
31254 p.GetErrorHandler().Recover(p, v)
31255 p.SetError(nil)
31256 }
31257 p.ExitRule()
31258 return localctx
31259 goto errorExit // Trick to prevent compiler error if the label is not used
31260}
31261
31262// ITrigger_nameContext is an interface to support dynamic dispatch.
31263type ITrigger_nameContext interface {

Callers 4

Create_index_stmtMethod · 0.95
Reindex_stmtMethod · 0.95
Table_or_subqueryMethod · 0.95
Qualified_table_nameMethod · 0.95

Calls 4

Any_nameMethod · 0.95
NewIndex_nameContextFunction · 0.85
EnterRuleMethod · 0.45
ExitRuleMethod · 0.45

Tested by

no test coverage detected