Lines Matching refs:lineNo
80 func extractComment(lines []string, lineNo int) (comment []string, rest []string, restLineNo int, e…
82 return nil, lines, lineNo, nil
85 restLineNo = lineNo
142 func extractDecl(lines []string, lineNo int) (decl string, rest []string, restLineNo int, err error…
144 return "", lines, lineNo, nil
148 restLineNo = lineNo
264 lineNo := 0
267 lineNo++
270 lineNo++
283 lineNo += 2
291 lineNo++
300 comment, rest, restLineNo, err := extractComment(lines, lineNo)
310 lineNo = restLineNo + 2
330 return nil, fmt.Errorf("blank line at start of section on line %d", lineNo)
339 comment, rest, restLineNo, err := extractComment(lines, lineNo)
347 lineNo = restLineNo + 1
355 lineNo++
365 comment, lines, lineNo, err = extractComment(lines, lineNo)
373 decl, lines, lineNo, err = extractDecl(lines, lineNo)
395 lineNo++