Lines Matching refs:index
288 def __init__(self, path, index, comments): argument
298 self.index = index
303 return [self.path, self.index]
343 def __init__(self, names, desc, enum_options, index, comments): argument
350 super(Enum, self).__init__(ENUM_PATH, index, comments)
387 for index, (name, value) in enumerate(self.values):
388 member_path = self.member_path(index)
395 if index == enum_length - 1:
1128 def __init__(self, names, desc, message_options, index, comments): argument
1129 super(Message, self).__init__(MESSAGE_PATH, index, comments)
1229 for index, field in enumerate(self.fields):
1230 member_path = self.member_path(index)
1631 for index, enum in enumerate(self.fdesc.enum_type):
1634 self.enums.append(Enum(name, enum, enum_options, index, self.comment_locations))
1636 for index, (names, message) in enumerate(iterate_messages(self.fdesc, flatten)):
1648 … self.messages.append(Message(name, message, message_options, index, self.comment_locations))
1649 for index, enum in enumerate(message.enum_type):
1652 self.enums.append(Enum(name, enum, enum_options, index, self.comment_locations))
1680 idx = enum.value_longnames.index(field.default)