Lines Matching refs:comment
34 def __init__(self, name, type, comment): argument
37 self.comment = comment.strip()
43 doxygen2rst(indent(self.comment, 2)))
52 def __init__(self, name, comment): argument
54 self.comment = comment.strip()
61 def __init__(self, name, comment): argument
63 self.comment = comment.strip()
66 return '* ``%s`` %s' % (self.name, doxygen2rst(self.comment))
69 def __init__(self, name, comment): argument
71 self.comment = comment.strip()
78 def __init__(self, name, comment): argument
80 self.comment = comment.strip()
86 doxygen2rst(indent(self.comment, 2)))
104 comment = ''
116 comment = clean_comment_line(line)
122 comment += clean_comment_line(line)
126 enum = Enum(name, comment)
130 nested_struct = NestedStruct(name, comment)
135 option = Option(str(field_name), str(field_type), comment)
142 comment = clean_comment_line(line)
148 comment += clean_comment_line(line)
151 nested_struct.values.append(NestedField(line.replace(';', ''), comment))
155 comment = clean_comment_line(line)
163 comment += clean_comment_line(line)
166 enum.values.append(EnumValue(line.replace(',', ''), comment))