MCPcopy Create free account
hub / github.com/LissaGreense/GO4SQL / skipIfCurrentTokenIsSemicolon

Method skipIfCurrentTokenIsSemicolon

parser/parser.go:149–153  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

147}
148
149func (parser *Parser) skipIfCurrentTokenIsSemicolon() {
150 if parser.currentToken.Type == token.SEMICOLON {
151 parser.nextToken()
152 }
153}
154
155// parseInsertCommand - Return ast.InsertCommand created from tokens and validate the syntax
156//

Callers 6

parseWhereCommandMethod · 0.95
parseOrderByCommandMethod · 0.95
parseLimitCommandMethod · 0.95
parseOffsetCommandMethod · 0.95
parseJoinCommandMethod · 0.95
parseUpdateCommandMethod · 0.95

Calls 1

nextTokenMethod · 0.95

Tested by

no test coverage detected