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

Method Foreign_table

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

Source from the content-addressed store, hash-verified

31134}
31135
31136func (p *SQLiteParser) Foreign_table() (localctx IForeign_tableContext) {
31137 localctx = NewForeign_tableContext(p, p.GetParserRuleContext(), p.GetState())
31138 p.EnterRule(localctx, 194, SQLiteParserRULE_foreign_table)
31139 p.EnterOuterAlt(localctx, 1)
31140 {
31141 p.SetState(2132)
31142 p.Any_name()
31143 }
31144
31145errorExit:
31146 if p.HasError() {
31147 v := p.GetError()
31148 localctx.SetException(v)
31149 p.GetErrorHandler().ReportError(p, v)
31150 p.GetErrorHandler().Recover(p, v)
31151 p.SetError(nil)
31152 }
31153 p.ExitRule()
31154 return localctx
31155 goto errorExit // Trick to prevent compiler error if the label is not used
31156}
31157
31158// IIndex_nameContext is an interface to support dynamic dispatch.
31159type IIndex_nameContext interface {

Callers 1

Foreign_key_clauseMethod · 0.95

Calls 4

Any_nameMethod · 0.95
NewForeign_tableContextFunction · 0.85
EnterRuleMethod · 0.45
ExitRuleMethod · 0.45

Tested by

no test coverage detected