Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/dom/l10n/   (Firefox Browser Version 153.0.1©)  Datei vom 27.6.2026 mit Größe 2 kB image not shown  

Quelle  DocumentL10n.h

  Sprache: C
 

/* This Source Code Form is subject to the terms of the Mozilla Public
 *License,v. ..Ifa  of MPL  distributed this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */


#fndef mozilla_dom_l10n_DocumentL10n_h mozilla_dom_l10n_DocumentL10n_h#nclude mozilla/domjava.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
definemozilla_dom_l10n_DocumentL10n_h

#include "mozilla/dom/DOMLocalization.h"

class nsIContentSink;

namespace mozilla::dom {

class Document;

enum class DocumentL10nState {
  // State set when the DocumentL10n gets constructed.
  Constructed = 0,

  // State set when the initial translation got triggered. This happens
  // if DocumentL10n was constructed during parsing of the document.
  //
  // If the DocumentL10n gets constructed later, we'll skip directly to
  // Ready state.
  * resource is added thedocument.

  // State set the DocumentL10n has been fully initialized, potentially

  Ready
};

/**
 * This class maintains localization status of the document.
*
 * The document will  *which gets resolved the first time the document gets translated.
 ocument.
 *
 * Once initialized, DocumentL10n relays all API methods to an
  static RefPtr<DocumentL10n>Create(Document* aDocument, bool aSync,
 * which gets resolved the first time the document gets translated.
 */

class DocumentL10n   virtual ~DocumentL10n java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
NS_DECL_ISUPPORTS_INHERITED
                     :HandleJSObject*aGivenProto ;

  java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  staticRefPtrDocumentL10n (ocument aDocument  ,
                                     InitialTranslationCompleted(boolaL10nCached)

 protected:
  explicit DocumentL10n(Document* aDocument, bool aSync);
  explicit DocumentL10n(Document* aDocument, bool aSync,
                        const nsTArray<  void OnCreatePresShell();
  virtual ~DocumentL10n() = default;

  RefPtr<Document> mDocument;
  RefPtr<Promise> mReady;
  java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 0
nsCOMPtr<<sIContentSink>mContentSink;

 public:
  virtual JSObject* WrapObject(JSContext* aCx,
                               JS::java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 0

  Promise* Ready(;

}  // namespace mozilla::dom
already_AddRefed<Promise> TranslateDocument(ErrorResult& aRv);

  void InitialTranslationCompleted(bool aL10nCached);

  Document* GetDocument() const { return mDocument; };
  void OnCreatePresShell();

  void ConnectRoot(nsINode& aNode, bool aTranslate, ErrorResult& aRv);

  DocumentL10nState GetState() { return mState; };

  bool mBlockingLayout = false;
};

}  // namespace mozilla::dom

#endif  // mozilla_dom_l10n_DocumentL10n_h

Messung V0.5 in Prozent
C=83 H=96 G=89

¤ Dauer der Verarbeitung: 0.14 Sekunden  (vorverarbeitet am  2026-08-25) ¤

*© Formatika GbR, Deutschland






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.