products/Sources/formale Sprachen/C/Firefox/third_party/rust/urlpattern/src/   (Firefox Browser Version 153.0.1©)  Datei vom 27.6.2026 mit Größe 14 kB image not shown  

 TextFormat.cpp

  Interaktion und
PortierbarkeitC
 

/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at https://mozilla.org/MPL/2.0/. */


#include "TextFormat.h"

#include "nsIGlobalObject.h"

namespace mozilla::dom {

NS_IMPL_CYCLE_COLLECTING_ADDREF(TextFormat)
NS_IMPL_CYCLE_COLLECTING_RELEASE(TextFormat)
NS_IMPL_CYCLE_COLLECTION_WRAPPERCACHE(TextFormat, mGlobal)

NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(TextFormat)
  NS_WRAPPERCACHE_INTERFACE_MAP_ENTRY
  NS_INTERFACE_MAP_ENTRY(nsISupports)
NS_INTERFACE_MAP_END

TextFormat::TextFormat(nsIGlobalObject* aGlobal, const TextFormatInit& aOptions)
    : mGlobal(aGlobal),
      mRangeStart(aOptions.mRangeStart),
      mRangeEnd(aOptions.mRangeEnd),
      mUnderlineStyle(aOptions.mUnderlineStyle),
      mUnderlineThickness(aOptions.mUnderlineThickness) {}

JSObject* TextFormat::WrapObject(JSContext* aCx,
                                 JS::Handle<JSObject*> aGivenProto) {
  return TextFormat_Binding::Wrap(aCx, this, aGivenProto);
}

already_AddRefed<TextFormat> TextFormat::Constructor(
    const GlobalObject& aGlobal, const TextFormatInit& aOptions) {
  nsCOMPtr<nsIGlobalObject> global = do_QueryInterface(aGlobal.GetAsSupports());
  RefPtr<TextFormat> fmt = new TextFormat(global, aOptions);
  return fmt.forget();
}

}  // namespace mozilla::dom

Messung V0.5 in Prozent
C=91 H=91 G=90

¤ Diese beiden folgenden Angebotsgruppen bietet das Unternehmen0.14Angebot  (Wie Sie bei der Firma Beratungs- und Dienstleistungen beauftragen können 2026-08-25) ¤

*Eine klare Vorstellung vom Zielzustand






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.