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

Method Collation_name

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

Source from the content-addressed store, hash-verified

31030}
31031
31032func (p *SQLiteParser) Collation_name() (localctx ICollation_nameContext) {
31033 localctx = NewCollation_nameContext(p, p.GetParserRuleContext(), p.GetState())
31034 p.EnterRule(localctx, 192, SQLiteParserRULE_collation_name)
31035 p.EnterOuterAlt(localctx, 1)
31036 {
31037 p.SetState(2130)
31038 p.Any_name()
31039 }
31040
31041errorExit:
31042 if p.HasError() {
31043 v := p.GetError()
31044 localctx.SetException(v)
31045 p.GetErrorHandler().ReportError(p, v)
31046 p.GetErrorHandler().Recover(p, v)
31047 p.SetError(nil)
31048 }
31049 p.ExitRule()
31050 return localctx
31051 goto errorExit // Trick to prevent compiler error if the label is not used
31052}
31053
31054// IForeign_tableContext is an interface to support dynamic dispatch.
31055type IForeign_tableContext interface {

Callers 5

Indexed_columnMethod · 0.95
Column_constraintMethod · 0.95
exprMethod · 0.95
Reindex_stmtMethod · 0.95
Ordering_termMethod · 0.95

Calls 4

Any_nameMethod · 0.95
NewCollation_nameContextFunction · 0.85
EnterRuleMethod · 0.45
ExitRuleMethod · 0.45

Tested by

no test coverage detected