MCPcopy Create free account
hub / github.com/checkmake/checkmake / Scan

Method Scan

parser/scanner.go:23–30  ·  view source on GitHub ↗

Scan is a thin wrapper around the bufio.Scanner Scan() function

()

Source from the content-addressed store, hash-verified

21
22// Scan is a thin wrapper around the bufio.Scanner Scan() function
23func (s *MakefileScanner) Scan() bool {
24 s.LineNumber++
25 scanResult := s.Scanner.Scan()
26 if !scanResult && s.Scanner.Err() == nil {
27 s.Finished = true
28 }
29 return scanResult
30}
31
32// Close closes all open handles the scanner has
33func (s *MakefileScanner) Close() {

Callers 2

ParseFunction · 0.95
parseRuleOrVariableFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected