Lines Matching refs:indent
113 indent_more(const string& indent)
115 return indent + " ";
122 write_enum(stringstream& text, const EnumDescriptorProto& enu, const string& indent)
125 text << indent << "// enum " << enu.name() << endl;
128 text << indent << "public static final int "
263 write_field(stringstream& text, const FieldDescriptorProto& field, const string& indent)
272 text << indent << "// " << optional_comment << repeated_comment << proto_type << ' '
275 text << indent << "public static final long " << make_constant_name(field.name()) << " = 0x";
290 write_message(stringstream& text, const DescriptorProto& message, const string& indent)
293 const string indented = indent_more(indent);
295 text << indent << "// message " << message.name() << endl;
296 text << indent << "public final class " << message.name() << " {" << endl;
317 text << indent << "}" << endl;