Searched refs:WrapInNameSpace (Results 1 – 6 of 6) sorted by relevance
119 std::string BaseGenerator::WrapInNameSpace(const Namespace *ns, in WrapInNameSpace() function in flatbuffers::BaseGenerator129 std::string BaseGenerator::WrapInNameSpace(const Definition &def) const { in WrapInNameSpace() function in flatbuffers::BaseGenerator130 return WrapInNameSpace(def.defined_namespace, def.name); in WrapInNameSpace()
186 code += WrapInNameSpace(enum_def) + " = {\n"; in GenEnum()235 getter = "/** @type {" + WrapInNameSpace(*type.enum_def) + "} */ (" + in GenGetter()247 return WrapInNameSpace(*value.type.enum_def) + "." + val->name; in GenDefaultValue()249 return "/** @type {" + WrapInNameSpace(*value.type.enum_def) + "} */ (" in GenDefaultValue()279 return WrapInNameSpace(*type.struct_def); in GenTypeName()290 return WrapInNameSpace(*type.enum_def); in GenTypeName()383 std::string object_name = WrapInNameSpace(struct_def); in GenStruct()485 auto type = WrapInNameSpace(*field.value.type.struct_def); in GenStruct()548 WrapInNameSpace(*field.value.type.enum_def) + "} */ (" + in GenStruct()
242 NativeName(WrapInNameSpace(struct_def)); in generate()304 if (type.enum_def) return WrapInNameSpace(*type.enum_def); in GenTypeBasic()322 return WrapInNameSpace(*type.struct_def); in GenTypePointer()393 auto type_name = WrapInNameSpace(*type.struct_def); in GenTypeNative()632 auto name = WrapInNameSpace(*ev.struct_def); in GenEnum()682 const auto native_type = NativeName(WrapInNameSpace(*ev.struct_def)); in GenEnum()719 code_.SetValue("TYPE", WrapInNameSpace(*ev.struct_def)); in GenUnionPost()759 code_.SetValue("TYPE", WrapInNameSpace(*ev.struct_def)); in GenUnionPost()780 code_.SetValue("TYPE", NativeName(WrapInNameSpace(*ev.struct_def))); in GenUnionPost()806 code_.SetValue("TYPE", NativeName(WrapInNameSpace(*ev.struct_def))); in GenUnionPost()[all …]
249 if (IsEnum(type)) return WrapInNameSpace(*type.enum_def); in GenTypeBasic()251 return "Offset<" + WrapInNameSpace(*type.struct_def) + ">"; in GenTypeBasic()275 return WrapInNameSpace(*type.struct_def); in GenTypePointer()311 return "Offset<" + WrapInNameSpace(struct_def) + ">"; in GenOffsetType()321 return "new Offset<" + WrapInNameSpace(struct_def) + ">(" + variable_name + in GenOffsetConstruct()369 if (IsEnum(type)) return "(" + WrapInNameSpace(*type.enum_def) + ")"; in DestinationCast()429 result = WrapInNameSpace(*enum_def) + "." + enum_val.name; in GenEnumDefaultValue()477 return "default(Offset<" + WrapInNameSpace(*value.type.struct_def) + in GenDefaultValueBasic()1031 auto nested_type_name = WrapInNameSpace(*nested_type); in GenStruct()
894 return WrapInNameSpace(*value.type.enum_def) + "::" + val->name; in GenDefaultValue()
112 std::string WrapInNameSpace(const Namespace *ns,115 std::string WrapInNameSpace(const Definition &def) const;