Lines Matching refs:comment
92 def __init__(self, name, opt_type, comment, version): argument
95 self.comment = comment.strip()
103 doxygen2rst(indent(self.comment, 2)))
106 doxygen2rst(indent(self.comment, 2)))
115 def __init__(self, name, comment): argument
117 self.comment = comment.strip()
121 return self.comment + '\n' + '\n'.join(map(str, self.values))
124 def __init__(self, name, comment): argument
126 self.comment = comment.strip()
131 doxygen2rst(indent(self.comment, 2, indent_first_line=False)))
134 def __init__(self, name, comment): argument
136 self.comment = comment.strip()
143 def __init__(self, name, enumtype, comment, values): argument
145 self.comment = comment
151 doxygen2rst(indent(self.comment, 2)))
157 def __init__(self, name, comment, config): argument
159 self.comment = comment
166 doxygen2rst(indent(self.comment, 2)))
236 comment = ''
250 comment = self.__clean_comment_line(line)
260 comment += self.__clean_comment_line(line)
264 enum = Enum(name, comment)
268 nested_struct = NestedStruct(name, comment)
279 option = Option(str(field_name), str(field_type), comment, version)
287 comment = self.__clean_comment_line(line)
293 comment += self.__clean_comment_line(line)
300 comment,
303 nested_struct.values.append(NestedField(field_type + " " + field_name, comment))
308 comment = self.__clean_comment_line(line)
318 comment += self.__clean_comment_line(line)
328 enum.values.append(EnumValue(val, comment, config))