MCPcopy
hub / github.com/sqlc-dev/sqlc / Table_name

Method Table_name

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

Source from the content-addressed store, hash-verified

30614}
30615
30616func (p *SQLiteParser) Table_name() (localctx ITable_nameContext) {
30617 localctx = NewTable_nameContext(p, p.GetParserRuleContext(), p.GetState())
30618 p.EnterRule(localctx, 184, SQLiteParserRULE_table_name)
30619 p.EnterOuterAlt(localctx, 1)
30620 {
30621 p.SetState(2122)
30622 p.Any_name()
30623 }
30624
30625errorExit:
30626 if p.HasError() {
30627 v := p.GetError()
30628 localctx.SetException(v)
30629 p.GetErrorHandler().ReportError(p, v)
30630 p.GetErrorHandler().Recover(p, v)
30631 p.SetError(nil)
30632 }
30633 p.ExitRule()
30634 return localctx
30635 goto errorExit // Trick to prevent compiler error if the label is not used
30636}
30637
30638// ITable_or_index_nameContext is an interface to support dynamic dispatch.
30639type ITable_or_index_nameContext interface {

Callers 13

Alter_table_stmtMethod · 0.95
Create_index_stmtMethod · 0.95
Create_table_stmtMethod · 0.95
Create_trigger_stmtMethod · 0.95
Cte_table_nameMethod · 0.95
exprMethod · 0.95
Insert_stmtMethod · 0.95
Reindex_stmtMethod · 0.95
Table_or_subqueryMethod · 0.95
Result_columnMethod · 0.95

Calls 4

Any_nameMethod · 0.95
NewTable_nameContextFunction · 0.85
EnterRuleMethod · 0.45
ExitRuleMethod · 0.45

Tested by

no test coverage detected