MCPcopy Create free account
hub / github.com/rabbitstack/fibratus / scan

Method scan

pkg/filter/ql/parser.go:656–656  ·  view source on GitHub ↗

scan returns the next token from the underlying scanner.

()

Source from the content-addressed store, hash-verified

654
655// scan returns the next token from the underlying scanner.
656func (p *Parser) scan() (tok token, pos int, lit string) { return p.s.scan() }
657
658// scanIgnoreWhitespace scans the next non-whitespace.
659func (p *Parser) scanIgnoreWhitespace() (tok token, pos int, lit string) {

Callers 5

parseUnaryExprMethod · 0.95
parseFieldMethod · 0.95
parseFunctionMethod · 0.95
scanIgnoreWhitespaceMethod · 0.95
TestScannerFunction · 0.45

Calls

no outgoing calls

Tested by 1

TestScannerFunction · 0.36