Lines Matching refs:lineNo
79 func extractComment(lines []string, lineNo int) (comment []string, rest []string, restLineNo int, e…
81 return nil, lines, lineNo, nil
84 restLineNo = lineNo
141 func extractDecl(lines []string, lineNo int) (decl string, rest []string, restLineNo int, err error…
143 return "", lines, lineNo, nil
147 restLineNo = lineNo
277 lineNo := 1
282 lineNo += i + 1
295 lineNo += 2
306 lineNo += i
313 comment, rest, restLineNo, err := extractComment(lines, lineNo)
323 lineNo = restLineNo + 2
343 return nil, fmt.Errorf("blank line at start of section on line %d", lineNo)
349 comment, rest, restLineNo, err := extractComment(lines, lineNo)
366 lineNo = restLineNo + 1
374 lineNo++
384 comment, lines, lineNo, err = extractComment(lines, lineNo)
392 declLineNo := lineNo
393 decl, lines, lineNo, err = extractDecl(lines, lineNo)
437 lineNo++