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

Quelle  nsIScriptableContentIterator.idl

  Sprache: C
 

/* 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 http://mozilla.org/MPL/2.0/. */


#include "nsISupports.idl"

webidl Node;
webidl Range;

/**
 * nsIScriptableContentIterator is designed to testing concrete classes of
 * ContentIteratorBase.
 */

[scriptable, builtinclass, uuid(9f25fb2a-265f-44f9-a122-62bbf443239e)]
interface nsIScriptableContentIterator : nsISupports
{
  cenum IteratorType : 8 {
    NOT_INITIALIZED,
    POST_ORDER_ITERATOR,
    PRE_ORDER_ITERATOR,
    SUBTREE_ITERATOR
  };

  /**
   * You need to call initWith*() first.  Then, the instance of this interface
   * decides the type of iterator with its aType argument.  You can call
   * initWith*() multiple times, but you need to keep setting same type as
   * previous call.  If you set different type, these method with throw an
   * exception.
   */


  // See ContentIteratorBase::Init(nsINode*)
  void initWithRootNode(in nsIScriptableContentIterator_IteratorType aType,
                        in Node aRoot);

  // See ContentIteratorBase::Init(nsRange*)
  void initWithRange(in nsIScriptableContentIterator_IteratorType aType,
                     in Range aRange);

  // See ContentSubtreeIterator::InitWithAllowCrossShadowBoundary(nsRange*)
  void initWithRangeAllowCrossShadowBoundary(
                     in nsIScriptableContentIterator_IteratorType aType,
                     in Range aRange);

  // See ContentIteratorBase::Init(nsINode*, uint32_t, nsINode*, uint32_t)
  void initWithPositions(in nsIScriptableContentIterator_IteratorType aType,
                         in Node aStartContainer, in unsigned long aStartOffset,
                         in Node aEndContainer, in unsigned long aEndOffset);

  // See ContentIteratorBase::First()
  void first();

  // See ContentIteratorBase::Last()
  void last();

  // See ContentIteratorBase::Next()
  void next();

  // See ContentIteratorBase::Prev()
  void prev();

  // See ContentIteratorBase::GetCurrentNode()
  readonly attribute Node currentNode;

  // See ContentIteratorBase::IsDone()
  readonly attribute boolean isDone;

  // See ContentIteratorBase::PositionAt(nsINode*)
  void positionAt(in Node aNode);
};

Messung V0.5 in Prozent
C=91 H=96 G=93

¤ 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.