Searched refs:GenWriteMethod (Results 1 – 1 of 1) sorted by relevance
497 static std::string GenWriteMethod(const Type &type) { in GenWriteMethod() function in flatbuffers::jsts::JsTsGenerator501 case BASE_TYPE_UCHAR: return GenWriteMethod(Type(BASE_TYPE_CHAR)); in GenWriteMethod()502 case BASE_TYPE_USHORT: return GenWriteMethod(Type(BASE_TYPE_SHORT)); in GenWriteMethod()503 case BASE_TYPE_UINT: return GenWriteMethod(Type(BASE_TYPE_INT)); in GenWriteMethod()504 case BASE_TYPE_ULONG: return GenWriteMethod(Type(BASE_TYPE_LONG)); in GenWriteMethod()601 *body += " builder.write" + GenWriteMethod(field.value.type) + "("; in GenStructBody()1143 code += " builder.addField" + GenWriteMethod(field.value.type) + "("; in GenStruct()1186 code += " builder.add" + GenWriteMethod(vector_type) + "("; in GenStruct()