Home
last modified time | relevance | path

Searched defs:ProtoNode (Results 1 – 5 of 5) sorted by relevance

/external/pigweed/pw_protobuf/py/pw_protobuf/
Dproto_tree.py28 class ProtoNode(abc.ABC): class
68 def cpp_namespace(self, root: Optional['ProtoNode'] = None) -> str:
83 def common_ancestor(self, other: 'ProtoNode') -> Optional['ProtoNode']:
123 def add_child(self, child: 'ProtoNode') -> None:
168 def _attr_hierarchy(self, attr_accessor: Callable[['ProtoNode'], T],
169 root: Optional['ProtoNode']) -> Iterator[T]:
188 def _supports_child(self, child: 'ProtoNode') -> bool:
197 def _supports_child(self, child: ProtoNode) -> bool:
216 def _supports_child(self, child: ProtoNode) -> bool:
236 def _supports_child(self, child: ProtoNode) -> bool:
[all …]
Dcodegen_pwpb.py50 scope: ProtoNode,
51 root: ProtoNode,
510 def generate_code_for_message(message: ProtoMessage, root: ProtoNode,
553 def define_not_in_class_methods(message: ProtoMessage, root: ProtoNode,
576 def generate_code_for_enum(enum: ProtoEnum, root: ProtoNode,
588 def forward_declare(node: ProtoMessage, root: ProtoNode,
618 def generate_code_for_package(file_descriptor_proto, package: ProtoNode,
/external/pigweed/pw_rpc/py/pw_rpc/
Dcodegen_nanopb.py66 def _generate_code_for_service(service: ProtoService, root: ProtoNode,
112 def _generate_code_for_client(service: ProtoService, root: ProtoNode,
147 def includes(proto_file, unused_package: ProtoNode) -> Iterator[str]:
158 def _generate_code_for_package(proto_file, package: ProtoNode,
Dcodegen_raw.py58 unused_root: ProtoNode,
64 def _generate_code_for_service(service: ProtoService, root: ProtoNode,
71 def _generate_code_for_package(proto_file, package: ProtoNode,
Dcodegen.py45 def package(file_descriptor_proto, proto_package: ProtoNode,
89 def service_class(service: ProtoService, root: ProtoNode, output: OutputFile,
232 def package_stubs(proto_package: ProtoNode, output: OutputFile,