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

Method Name

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

Source from the content-addressed store, hash-verified

30156}
30157
30158func (p *SQLiteParser) Name() (localctx INameContext) {
30159 localctx = NewNameContext(p, p.GetParserRuleContext(), p.GetState())
30160 p.EnterRule(localctx, 176, SQLiteParserRULE_name)
30161 p.EnterOuterAlt(localctx, 1)
30162 {
30163 p.SetState(2109)
30164 p.Any_name()
30165 }
30166
30167errorExit:
30168 if p.HasError() {
30169 v := p.GetError()
30170 localctx.SetException(v)
30171 p.GetErrorHandler().ReportError(p, v)
30172 p.GetErrorHandler().Recover(p, v)
30173 p.SetError(nil)
30174 }
30175 p.ExitRule()
30176 return localctx
30177 goto errorExit // Trick to prevent compiler error if the label is not used
30178}
30179
30180// IFunction_nameContext is an interface to support dynamic dispatch.
30181type IFunction_nameContext interface {

Callers 5

Type_nameMethod · 0.95
Column_constraintMethod · 0.95
Table_constraintMethod · 0.95
Foreign_key_clauseMethod · 0.95
Pragma_valueMethod · 0.95

Calls 4

Any_nameMethod · 0.95
NewNameContextFunction · 0.85
EnterRuleMethod · 0.45
ExitRuleMethod · 0.45

Tested by

no test coverage detected