HomeSort by relevance Sort by last modified time
    Searched refs:parent_kind (Results 1 - 5 of 5) sorted by null

  /external/libchrome/mojo/public/tools/bindings/pylib/mojom/generate/
translate.py 420 def _EnumField(module, enum, parsed_field, parent_kind):
426 parent_kind: {mojom.Kind} The enclosing type.
437 if parent_kind:
440 (module.mojom_namespace, parent_kind.mojom_name), enum)
488 def _Enum(module, parsed_enum, parent_kind):
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),
    [all...]
module.py 85 parent_kind: The enclosing type. For example, an enum defined
91 self.parent_kind = None
141 nullable_kind.parent_kind = self.parent_kind
227 def __init__(self, module, parent_kind, mojom_name):
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)
    [all...]
  /external/libchrome/mojo/public/tools/bindings/generators/
mojom_java_generator.py 244 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
mojom_js_generator.py 376 if kind.parent_kind:
377 name.append(kind.parent_kind.name)
550 if token.parent_kind:
551 name.append(token.parent_kind.name)
mojom_cpp_generator.py 102 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))
    [all...]

Completed in 2192 milliseconds