Home
last modified time | relevance | path

Searched refs:parent_kind (Results 1 – 5 of 5) sorted by relevance

/external/libchrome/mojo/public/tools/bindings/pylib/mojom/generate/
Dtranslate.py420 def _EnumField(module, enum, parsed_field, parent_kind): argument
437 if parent_kind:
440 (module.mojom_namespace, parent_kind.mojom_name), enum)
488 def _Enum(module, parsed_enum, parent_kind): argument
501 if parent_kind:
502 mojom_name = parent_kind.mojom_name + '.' + mojom_name
504 enum.parent_kind = parent_kind
508 lambda field: _EnumField(module, enum, field, parent_kind),
523 def _Constant(module, parsed_const, parent_kind): argument
534 if parent_kind:
[all …]
Dmodule.py91 self.parent_kind = None
141 nullable_kind.parent_kind = self.parent_kind
227 def __init__(self, module, parent_kind, mojom_name): argument
229 self.parent_kind = parent_kind
234 (self.parent_kind and (self.parent_kind.mojom_name + '.') or "") +
244 def __init__(self, module, parent_kind, constant): argument
245 NamedValue.__init__(self, module, parent_kind, constant.mojom_name)
255 NamedValue.__init__(self, module, enum.parent_kind, field.mojom_name)
261 (self.parent_kind and (self.parent_kind.mojom_name + '.') or "") +
270 def __init__(self, mojom_name=None, kind=None, value=None, parent_kind=None): argument
[all …]
/external/libchrome/mojo/public/tools/bindings/generators/
Dmojom_java_generator.py244 if kind.parent_kind:
245 hierachy = _GetNameHierachy(kind.parent_kind)
321 if named_value.parent_kind:
322 return GetJavaType(context, named_value.parent_kind) + '.' + entity_name
Dmojom_js_generator.py376 if kind.parent_kind:
377 name.append(kind.parent_kind.name)
550 if token.parent_kind:
551 name.append(token.parent_kind.name)
Dmojom_cpp_generator.py102 self._token.parent_kind):
103 name = "%s_%s" % (self._token.parent_kind.name,
108 if self._token.parent_kind:
109 name_parts.append(self._MapKindName(self._token.parent_kind, internal))