Lines Matching refs:comment
36 def __init__(self, name, type, comment): argument
39 self.comment = comment.strip()
45 doxygen2rst(indent(self.comment, 2)))
54 def __init__(self, name, comment): argument
56 self.comment = comment.strip()
63 def __init__(self, name, comment): argument
65 self.comment = comment.strip()
68 return '* ``%s`` %s' % (self.name, doxygen2rst(self.comment))
71 def __init__(self, name, comment): argument
73 self.comment = comment.strip()
80 def __init__(self, name, comment): argument
82 self.comment = comment
88 doxygen2rst(indent(self.comment, 2)))
110 comment = ''
122 comment = clean_comment_line(line)
128 comment += clean_comment_line(line)
132 enum = Enum(name, comment)
136 nested_struct = NestedStruct(name, comment)
141 option = Option(str(field_name), str(field_type), comment)
148 comment = clean_comment_line(line)
154 comment += clean_comment_line(line)
157 nested_struct.values.append(NestedField(line.replace(';', ''), comment))
161 comment = clean_comment_line(line)
169 comment += clean_comment_line(line)
172 enum.values.append(EnumValue(line.replace(',', ''), comment))