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

Method Frame_spec

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

Source from the content-addressed store, hash-verified

24041}
24042
24043func (p *SQLiteParser) Frame_spec() (localctx IFrame_specContext) {
24044 localctx = NewFrame_specContext(p, p.GetParserRuleContext(), p.GetState())
24045 p.EnterRule(localctx, 122, SQLiteParserRULE_frame_spec)
24046 p.EnterOuterAlt(localctx, 1)
24047 {
24048 p.SetState(1817)
24049 p.Frame_clause()
24050 }
24051 p.SetState(1825)
24052 p.GetErrorHandler().Sync(p)
24053 if p.HasError() {
24054 goto errorExit
24055 }
24056 switch p.GetTokenStream().LA(1) {
24057 case SQLiteParserEXCLUDE_:
24058 {
24059 p.SetState(1818)
24060 p.Match(SQLiteParserEXCLUDE_)
24061 if p.HasError() {
24062 // Recognition error - abort rule
24063 goto errorExit
24064 }
24065 }
24066
24067 {
24068 p.SetState(1819)
24069 p.Match(SQLiteParserNO_)
24070 if p.HasError() {
24071 // Recognition error - abort rule
24072 goto errorExit
24073 }
24074 }
24075 {
24076 p.SetState(1820)
24077 p.Match(SQLiteParserOTHERS_)
24078 if p.HasError() {
24079 // Recognition error - abort rule
24080 goto errorExit
24081 }
24082 }
24083
24084 case SQLiteParserCURRENT_:
24085 {
24086 p.SetState(1821)
24087 p.Match(SQLiteParserCURRENT_)
24088 if p.HasError() {
24089 // Recognition error - abort rule
24090 goto errorExit
24091 }
24092 }
24093 {
24094 p.SetState(1822)
24095 p.Match(SQLiteParserROW_)
24096 if p.HasError() {
24097 // Recognition error - abort rule
24098 goto errorExit
24099 }
24100 }

Callers 2

Window_defnMethod · 0.95
Over_clauseMethod · 0.95

Calls 4

Frame_clauseMethod · 0.95
NewFrame_specContextFunction · 0.85
EnterRuleMethod · 0.45
ExitRuleMethod · 0.45

Tested by

no test coverage detected