Home
last modified time | relevance | path

Searched refs:root_scope (Results 1 – 25 of 49) sorted by relevance

12

/dports/devel/py-google-pasta/google-pasta-0.1.7/pasta/base/
H A Dscope.py42 self.root_scope = self.scope = RootScope(None)
47 if self.root_scope.node is None:
48 self.root_scope.node = node
49 self.root_scope.set_parent(node, self._parent)
73 self.root_scope.add_external_reference(name_parts[0], alias,
82 self.root_scope.add_external_reference(partial_name, alias,
91 self.root_scope.add_external_reference('.'.join(name_parts[:i]),
105 self.root_scope.add_external_reference(
120 if isinstance(self.root_scope.parent(node), ast.ClassDef):
159 node_value_name = self.root_scope.get_name_for_node(node.value)
[all …]
/dports/audio/spotifyd/spotifyd-0.3.0/cargo-crates/protobuf-codegen-2.10.0/src/
H A Dextensions.rs9 root_scope: &'a RootScope<'a>, field
16 type_name_to_rust_relative(self.field.get_extendee(), self.file, true, self.root_scope) in extendee_rust_name()
35 self.root_scope, in return_type_gen()
75 root_scope: &RootScope, in write_extensions()
95 root_scope: root_scope, in write_extensions()
H A Doneof.rs29 fn need_boxed(field: &FieldWithContext, root_scope: &RootScope, owner_name: &str) -> bool { in need_boxed()
41 let message = root_scope.find_message(&message_name); in need_boxed()
52 root_scope: &RootScope, in parse()
54 let boxed = OneofField::need_boxed(field, root_scope, &oneof.message.name_absolute()); in parse()
106 oneof.message.root_scope, in parse()
173 self.message.root_scope, in variants_except_group()
H A Dlib.rs126 root_scope: &RootScope,
168 MessageGen::new(message, &root_scope, &customize).write(&mut w);
173 EnumGen::new(enum_type, file, &customize, root_scope).write(&mut w);
176 write_extensions(file, &root_scope, &mut w, &customize);
198 let root_scope = RootScope {
213 results.extend(gen_file(file, &files_map, &root_scope, customize));
H A Dmessage.rs18 pub(crate) root_scope: &'a RootScope<'a>, field
28 root_scope: &'a RootScope<'a>, in new()
39 .map(|field| FieldGen::parse(field, root_scope, &customize)) in new()
50 root_scope: root_scope, in new()
545 MessageGen::new(nested, self.root_scope, &self.customize).write(w); in write()
552 EnumGen::new(enum_type, current_file, &self.customize, self.root_scope).write(w); in write()
H A Dfield.rs290 root_scope: &RootScope, in field_elem()
297 let message_or_enum = root_scope.find_message_or_enum(field.field.get_type_name()); in field_elem()
308 root_scope, in field_elem()
319 field_elem(&key, root_scope, false, customize).0, in field_elem()
320 field_elem(&value, root_scope, false, customize).0, in field_elem()
338 root_scope, in field_elem()
409 root_scope: &'a RootScope<'a>, field
426 root_scope: &'a RootScope<'a>, in parse()
434 let (elem, enum_default_value) = field_elem(&field, root_scope, true, &customize); in parse()
458 FieldKind::Oneof(OneofField::parse(&oneof, &field, elem, root_scope)) in parse()
[all …]
/dports/multimedia/librespot/librespot-0.1.3/cargo-crates/protobuf-codegen-2.14.0/src/
H A Dextensions.rs11 root_scope: &'a RootScope<'a>, field
22 self.root_scope, in extendee_rust_name()
42 self.root_scope, in return_type_gen()
82 root_scope: &RootScope, in write_extensions()
102 root_scope: root_scope, in write_extensions()
H A Doneof.rs33 fn need_boxed(field: &FieldWithContext, root_scope: &RootScope, owner_name: &str) -> bool { in need_boxed()
45 let message = root_scope.find_message(&message_name); in need_boxed()
56 root_scope: &RootScope, in parse()
58 let boxed = OneofField::need_boxed(field, root_scope, &oneof.message.name_absolute().path); in parse()
110 oneof.message.root_scope, in parse()
169 self.message.root_scope, in variants_except_group()
H A Dlib.rs154 root_scope: &RootScope, in gen_file()
198 MessageGen::new(message, &root_scope, &customize).write(&mut w); in gen_file()
203 EnumGen::new(enum_type, file, &customize, root_scope).write(&mut w); in gen_file()
206 write_extensions(file, &root_scope, &mut w, &customize); in gen_file()
229 let root_scope = RootScope { in gen() localVariable
244 results.extend(gen_file(file, &files_map, &root_scope, customize)); in gen()
H A Dmessage.rs21 pub root_scope: &'a RootScope<'a>, field
31 root_scope: &'a RootScope<'a>, in new()
42 .map(|field| FieldGen::parse(field, root_scope, &customize)) in new()
53 root_scope, in new()
552 MessageGen::new(nested, self.root_scope, &self.customize).write(w); in write()
559 EnumGen::new(enum_type, current_file, &self.customize, self.root_scope).write(w); in write()
/dports/lang/gleam/gleam-0.18.2/cargo-crates/protobuf-codegen-2.25.2/src/
H A Dextensions.rs12 root_scope: &'a RootScope<'a>, field
23 self.root_scope, in extendee_rust_name()
44 self.root_scope, in return_type_gen()
89 root_scope: &RootScope, in write_extensions()
108 root_scope: root_scope, in write_extensions()
H A Doneof.rs33 fn need_boxed(field: &FieldWithContext, root_scope: &RootScope, owner_name: &str) -> bool { in need_boxed()
45 let message = root_scope.find_message(&message_name); in need_boxed()
56 root_scope: &RootScope, in parse()
58 let boxed = OneofField::need_boxed(field, root_scope, &oneof.message.name_absolute().path); in parse()
110 oneof.message.root_scope, in parse()
169 self.message.root_scope, in variants_except_group()
H A Dlib.rs174 root_scope: &RootScope, in gen_file()
214 MessageGen::new(message, &root_scope, &customize).write(&mut w); in gen_file()
219 EnumGen::new(enum_type, file, &customize, root_scope).write(&mut w); in gen_file()
222 write_extensions(file, &root_scope, &mut w, &customize); in gen_file()
263 let root_scope = RootScope { in gen() localVariable
281 let gen_file_result = gen_file(file, &files_map, &root_scope, customize); in gen()
H A Dmessage.rs44 pub root_scope: &'a RootScope<'a>, field
54 root_scope: &'a RootScope<'a>, in new()
65 .map(|field| FieldGen::parse(field, root_scope, &customize)) in new()
76 root_scope, in new()
615 MessageGen::new(nested, self.root_scope, &self.customize).write(w); in write()
622 EnumGen::new(enum_type, current_file, &self.customize, self.root_scope).write(w); in write()
/dports/audio/ncspot/ncspot-0.9.3/cargo-crates/protobuf-codegen-2.25.2/src/
H A Dextensions.rs12 root_scope: &'a RootScope<'a>, field
23 self.root_scope, in extendee_rust_name()
44 self.root_scope, in return_type_gen()
89 root_scope: &RootScope, in write_extensions()
108 root_scope: root_scope, in write_extensions()
H A Doneof.rs33 fn need_boxed(field: &FieldWithContext, root_scope: &RootScope, owner_name: &str) -> bool { in need_boxed()
45 let message = root_scope.find_message(&message_name); in need_boxed()
56 root_scope: &RootScope, in parse()
58 let boxed = OneofField::need_boxed(field, root_scope, &oneof.message.name_absolute().path); in parse()
110 oneof.message.root_scope, in parse()
169 self.message.root_scope, in variants_except_group()
H A Dlib.rs174 root_scope: &RootScope, in gen_file()
214 MessageGen::new(message, &root_scope, &customize).write(&mut w); in gen_file()
219 EnumGen::new(enum_type, file, &customize, root_scope).write(&mut w); in gen_file()
222 write_extensions(file, &root_scope, &mut w, &customize); in gen_file()
263 let root_scope = RootScope { in gen() localVariable
281 let gen_file_result = gen_file(file, &files_map, &root_scope, customize); in gen()
H A Dmessage.rs44 pub root_scope: &'a RootScope<'a>, field
54 root_scope: &'a RootScope<'a>, in new()
65 .map(|field| FieldGen::parse(field, root_scope, &customize)) in new()
76 root_scope, in new()
615 MessageGen::new(nested, self.root_scope, &self.customize).write(w); in write()
622 EnumGen::new(enum_type, current_file, &self.customize, self.root_scope).write(w); in write()
/dports/devel/babeltrace/babeltrace-1.5.7/formats/ctf/ir/
H A Dresolve.c81 enum bt_ctf_ir_scope root_scope; member
602 enum bt_ctf_ir_scope root_scope; in pathstr_to_field_path() local
626 if (root_scope == BT_CTF_SCOPE_UNKNOWN) { in pathstr_to_field_path()
628 field_path->root = ctx->root_scope; in pathstr_to_field_path()
634 ctx->root_scope, field_path->root); in pathstr_to_field_path()
637 } else if (root_scope == BT_CTF_SCOPE_ENV) { in pathstr_to_field_path()
643 field_path->root = root_scope; in pathstr_to_field_path()
731 field_path->root = ctx->root_scope; in get_ctx_stack_field_path()
1096 ctx->root_scope = root_scope; in resolve_root_type()
1098 ctx->root_scope = BT_CTF_SCOPE_UNKNOWN; in resolve_root_type()
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/servo/components/layout/
H A Dlayout_debug.rs118 let mut root_scope = thread_state.scope_stack.pop().unwrap(); in end_trace() localVariable
119 root_scope.post = to_value(&thread_state.flow_root.base()).unwrap(); in end_trace()
121 let result = to_string(&root_scope).unwrap(); in end_trace()
/dports/sysutils/vector/vector-0.10.0/cargo-crates/metrics-runtime-0.13.0/src/
H A Dcommon.rs269 let root_scope = Scope::Root; in test_metric_scope() localVariable
270 assert_eq!(root_scope.into_string(""), "".to_string()); in test_metric_scope()
272 let root_scope = Scope::Root; in test_metric_scope() localVariable
273 assert_eq!(root_scope.into_string("jambalaya"), "jambalaya".to_string()); in test_metric_scope()
/dports/devel/babeltrace/babeltrace-1.5.7/formats/ctf/metadata/
H A Dctf-scanner.h37 struct ctf_scanner_scope root_scope; member
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/gn/tools/gn/
H A Dscope_unittest.cc287 Scope root_scope(setup.settings()); in TEST() local
288 root_scope.SetValue(kOnConst, value, &assignment); in TEST()
291 const Scope* const_root_scope = &root_scope; in TEST()
/dports/www/chromium-legacy/chromium-88.0.4324.182/tools/gn/src/gn/
H A Dscope_unittest.cc287 Scope root_scope(setup.settings()); in TEST() local
288 root_scope.SetValue(kOnConst, value, &assignment); in TEST()
291 const Scope* const_root_scope = &root_scope; in TEST()
/dports/devel/gn/gn-1962/src/gn/
H A Dscope_unittest.cc287 Scope root_scope(setup.settings()); in TEST() local
288 root_scope.SetValue(kOnConst, value, &assignment); in TEST()
291 const Scope* const_root_scope = &root_scope; in TEST()

12