Home | History | Annotate | Download | only in src

Lines Matching defs:object_name

616     std::string object_name;
621 object_name = struct_def.name;
643 object_name = WrapInNameSpace(struct_def);
655 code += "function " + object_name;
657 code += object_name + " = function";
677 code += " * " + GenTypeAnnotation(kReturns, object_name, "");
682 "__init(i:number, bb:flatbuffers.ByteBuffer):" + object_name + " {\n";
684 code += object_name + ".prototype.__init = function(i, bb) {\n";
697 GenTypeAnnotation(kParam, object_name + "=", "obj") +
698 GenTypeAnnotation(kReturns, object_name, "", false));
701 code += "(bb:flatbuffers.ByteBuffer, obj?:" + object_name +
702 "):" + object_name + " {\n";
704 code += object_name + ".getRoot" + Verbose(struct_def, "As");
707 code += " return (obj || new " + object_name;
723 code += object_name + ".bufferHasIdentifier = function(bb) {\n";
776 code += object_name + ".prototype." + MakeCamel(field.name, false);
818 object_name + ".prototype." + MakeCamel(field.name, false);
898 object_name + ".prototype." + MakeCamel(field.name, false);
957 object_name + ".prototype." + MakeCamel(field.name, false);
972 exports += "goog.exportProperty(" + object_name + ".prototype, '" +
973 MakeCamel(field.name, false) + "', " + object_name +
996 code += object_name + ".prototype.mutate_" + field.name +
1020 exports += "goog.exportProperty(" + object_name +
1021 ".prototype, 'mutate_" + field.name + "', " + object_name +
1035 code += object_name + ".prototype." + MakeCamel(field.name, false);
1043 exports += "goog.exportProperty(" + object_name + ".prototype, '" +
1044 MakeCamel(field.name, false) + "Length', " + object_name +
1061 code += object_name + ".prototype." + MakeCamel(field.name, false);
1072 exports += "goog.exportProperty(" + object_name + ".prototype, '" +
1073 MakeCamel(field.name, false) + "Array', " + object_name +
1096 code += object_name + ".create" + Verbose(struct_def);
1112 code += object_name + ".start" + Verbose(struct_def);
1139 code += object_name + ".add" + MakeCamel(field.name);
1179 code += object_name + ".create" + MakeCamel(field.name);
1205 code += object_name + ".start" + MakeCamel(field.name);
1225 code += object_name + ".end" + Verbose(struct_def);
1255 code += object_name + ".finish" + Verbose(struct_def) + "Buffer";
1289 code += object_name + ".create" + Verbose(struct_def);
1311 code += " " + object_name + ".start" + Verbose(struct_def) +
1316 lang_.language == IDLOptions::kTs ? struct_def.name : object_name;