OLD | NEW |
1 # Protocol Buffers - Google's data interchange format | 1 # Protocol Buffers - Google's data interchange format |
2 # Copyright 2008 Google Inc. All rights reserved. | 2 # Copyright 2008 Google Inc. All rights reserved. |
3 # http://code.google.com/p/protobuf/ | 3 # http://code.google.com/p/protobuf/ |
4 # | 4 # |
5 # Redistribution and use in source and binary forms, with or without | 5 # Redistribution and use in source and binary forms, with or without |
6 # modification, are permitted provided that the following conditions are | 6 # modification, are permitted provided that the following conditions are |
7 # met: | 7 # met: |
8 # | 8 # |
9 # * Redistributions of source code must retain the above copyright | 9 # * Redistributions of source code must retain the above copyright |
10 # notice, this list of conditions and the following disclaimer. | 10 # notice, this list of conditions and the following disclaimer. |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 The fully qualified name found in the descriptor. | 128 The fully qualified name found in the descriptor. |
129 """ | 129 """ |
130 | 130 |
131 message_name = '.'.join((package, desc_proto.name)) | 131 message_name = '.'.join((package, desc_proto.name)) |
132 yield message_name | 132 yield message_name |
133 for nested_type in desc_proto.nested_type: | 133 for nested_type in desc_proto.nested_type: |
134 for symbol in _ExtractSymbols(nested_type, message_name): | 134 for symbol in _ExtractSymbols(nested_type, message_name): |
135 yield symbol | 135 yield symbol |
136 for enum_type in desc_proto.enum_type: | 136 for enum_type in desc_proto.enum_type: |
137 yield '.'.join((message_name, enum_type.name)) | 137 yield '.'.join((message_name, enum_type.name)) |
OLD | NEW |