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

Method Schema_name

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

Source from the content-addressed store, hash-verified

30510}
30511
30512func (p *SQLiteParser) Schema_name() (localctx ISchema_nameContext) {
30513 localctx = NewSchema_nameContext(p, p.GetParserRuleContext(), p.GetState())
30514 p.EnterRule(localctx, 182, SQLiteParserRULE_schema_name)
30515 p.EnterOuterAlt(localctx, 1)
30516 {
30517 p.SetState(2120)
30518 p.Any_name()
30519 }
30520
30521errorExit:
30522 if p.HasError() {
30523 v := p.GetError()
30524 localctx.SetException(v)
30525 p.GetErrorHandler().ReportError(p, v)
30526 p.GetErrorHandler().Recover(p, v)
30527 p.SetError(nil)
30528 }
30529 p.ExitRule()
30530 return localctx
30531 goto errorExit // Trick to prevent compiler error if the label is not used
30532}
30533
30534// ITable_nameContext is an interface to support dynamic dispatch.
30535type ITable_nameContext interface {

Callers 15

Alter_table_stmtMethod · 0.95
Analyze_stmtMethod · 0.95
Attach_stmtMethod · 0.95
Create_index_stmtMethod · 0.95
Create_table_stmtMethod · 0.95
Create_trigger_stmtMethod · 0.95
Create_view_stmtMethod · 0.95
Detach_stmtMethod · 0.95
Drop_stmtMethod · 0.95
exprMethod · 0.95
Insert_stmtMethod · 0.95

Calls 4

Any_nameMethod · 0.95
NewSchema_nameContextFunction · 0.85
EnterRuleMethod · 0.45
ExitRuleMethod · 0.45

Tested by

no test coverage detected