Lines Matching defs:startLine
178 void SourceManager::ListSourceCodeWithParameters(int startLine, int endLine)
184 if (startLine != BLANK_LINE && endLine == BLANK_LINE) {
190 if (startLine >= static_cast<int>(it->second.second.size()) + STATR_LINE_OFFSET ||
191 startLine < 0) {
196 int showLine = startLine - STATR_LINE_OFFSET;
201 endLine = startLine + END_LINE_OFFSET;
209 } else if (startLine != BLANK_LINE && endLine != BLANK_LINE) {
215 if (startLine > static_cast<int>(it->second.second.size()) ||
216 endLine > static_cast<int>(it->second.second.size()) || startLine < 1) {
224 for (int showLine = startLine - 1; showLine < endLine; showLine++) {
230 void SourceManager::ListSource(int startLine, int endLine)
236 if (startLine == BLANK_LINE && endLine == BLANK_LINE) {
256 ListSourceCodeWithParameters(startLine, endLine);
260 void SourceManager::GetListSource(std::string startLine, std::string endLine)
263 int startline = startLine.empty() ? BLANK_LINE : std::stoi(startLine);