Lines Matching refs:line
45 modify Solaris line-oriented configuration files from actions """
79 def iscommentline(self, line):
80 return self.comment_regexp.match(line)
82 def splitline(self, line):
83 return line.split(self.separator)
97 for line in file:
100 while self.continuation_lines and line[-2:] == "\\\n":
102 line += next(file)
104 line = line.rstrip("\n")
105 if self.iscommentline(line):
107 (line, None, lineno)
109 cols = self.splitline(line)
113 (line, dic, lineno)
115 self.index[lineno] = (line, None, lineno)
166 line = self.valuetostr(template)
168 (line, template, lineno)
440 def iscommentline(self, line):
441 return len(line) == 0 or self.comment_regexp.match(line)
443 def splitline(self, line):
444 """ return tokenized line, with attribute column a dictionary
446 cols = re.split("(?<=[^\\\\]):", line) #match non-escaped :