Home | History | Annotate | Download | only in python_gflags

Lines Matching refs:start_line

218     (start_line, lang) = self.ParseDesc()
219 if start_line < 0:
222 self.ParsePythonFlags(start_line)
224 self.ParseCFlags(start_line)
226 self.ParseJavaFlags(start_line)
228 def ParseDesc(self, start_line=0):
234 (start_line, lang_type)
235 start_line Line to start parsing flags on (int)
242 start_line = 0 # ignore the passed-in arg for now (?)
243 for start_line in range(start_line, len(self.output)): # collect top description
244 line = self.output[start_line].rstrip()
247 and len(self.output) > start_line+1
248 and '' == self.output[start_line+1].rstrip()):
249 start_line += 2
251 return (start_line, 'python')
255 return (start_line, 'python')
259 return (start_line, 'c')
263 start_line += 2 # skip "Standard flags:"
264 return (start_line, 'java')
274 def ParsePythonFlags(self, start_line=0):
279 for line_num in range(start_line, len(self.output)): # collect flags
323 def ParseCFlags(self, start_line=0):
328 for line_num in range(start_line, len(self.output)): # collect flags
364 def ParseJavaFlags(self, start_line=0):
374 for line_num in range(start_line, len(self.output)): # collect flags