MCPcopy Index your code
hub / github.com/uber/aresdb / scanIgnoreWhitespace

Method scanIgnoreWhitespace

query/expr/parser.go:559–565  ·  view source on GitHub ↗

scanIgnoreWhitespace scans the next non-whitespace token.

()

Source from the content-addressed store, hash-verified

557
558// scanIgnoreWhitespace scans the next non-whitespace token.
559func (p *Parser) scanIgnoreWhitespace() (tok Token, pos Pos, lit string) {
560 tok, pos, lit = p.scan()
561 if tok == WS {
562 tok, pos, lit = p.scan()
563 }
564 return
565}
566
567// consumeWhitespace scans the next token if it's whitespace.
568func (p *Parser) consumeWhitespace() {

Callers 10

parseIntMethod · 0.95
parseUInt32Method · 0.95
parseUInt64Method · 0.95
parseIdentMethod · 0.95
parseIdentListMethod · 0.95
parseStringMethod · 0.95
ParseExprMethod · 0.95
parseUnaryExprMethod · 0.95
parseCaseMethod · 0.95

Calls 1

scanMethod · 0.95

Tested by

no test coverage detected