parameters: (field, value, out, indent = 0)
docstring: Print a single field value (not including name).  For repeated fields,
    the value should be a single element.
docstring_summary: Print a single field value (not including name).  For repeated fields,
    the value should be a single element.
docstring_tokens: Print a single field value ( not including name ) . For repeated fields the value should be a single element .
function: def PrintFieldValue(field, value, out, indent = 0):
    """Print a single field value (not including name).  For repeated fields,
    the value should be a single element."""
  
    if field.cpp_type == descriptor.FieldDescriptor.CPPTYPE_MESSAGE:
      out.write(' {\n')
      PrintMessage(value, out, indent + 2)
      out.write(' ' * indent + '}')
    elif field.cpp_type == descriptor.FieldDescriptor.CPPTYPE_ENUM:
      out.write(field.enum_type.values_by_number[value].name)
    elif field.cpp_type == descriptor.FieldDescriptor.CPPTYPE_STRING:
      out.write('\"')
      out.write(_CEscape(value))
      out.write('\"')
    elif field.cpp_type == descriptor.FieldDescriptor.CPPTYPE_BOOL:
      if value:
        out.write("true")
      else:
        out.write("false")
    else:
      out.write(str(value))
function_tokens: def PrintFieldValue ( field , value , out , indent = 0 ) : if field . cpp_type == descriptor . FieldDescriptor . CPPTYPE_MESSAGE : out . write ( ' {\n' ) PrintMessage ( value , out , indent + 2 ) out . write ( ' ' * indent + '}' ) elif field . cpp_type == descriptor . FieldDescriptor . CPPTYPE_ENUM : out . write ( field . enum_type . values_by_number [ value ] . name ) elif field . cpp_type == descriptor . FieldDescriptor . CPPTYPE_STRING : out . write ( '\"' ) out . write ( _CEscape ( value ) ) out . write ( '\"' ) elif field . cpp_type == descriptor . FieldDescriptor . CPPTYPE_BOOL : if value : out . write ( "true" ) else : out . write ( "false" ) else : out . write ( str ( value ) )