Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/js/src/irregexp/imported/   (Firefox Browser Version 153.0.1©)  Datei vom 27.6.2026 mit Größe 1 kB image not shown  

Quelle  regexp-node-printer.h   Sprache: C

 

// Copyright 2026 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef V8_REGEXP_REGEXP_NODE_PRINTER_H_
#define V8_REGEXP_REGEXP_NODE_PRINTER_H_

#ifdef V8_ENABLE_REGEXP_DIAGNOSTICS
#include "irregexp/imported/regexp-nodes.h"
#include "irregexp/imported/regexp-printer.h"

namespace v8 {
namespace internal {
namespace regexp {

template <typename T>
class NodePrinter;

template <>
class NodePrinter<Node> : public NodePrinterBase<Node>, public NodeVisitor {
 public:
  NodePrinter(std::ostream& os, GraphLabeller<Node>* labeller, Zone* zone)
      : NodePrinterBase(os, labeller, zone, 'n') {}
  NodePrinter(const PrinterBase& other, GraphLabeller<Node>* labeller)
      : NodePrinterBase(other, labeller, 'n') {}

  using NodePrinterBase<Node>::PrintNodeLabel;

#define DECLARE_VISIT(Type) void Visit##Type(Type##Node* that) override;
  FOR_EACH_NODE_TYPE(DECLARE_VISIT)
#undef DECLARE_VISIT
  void PrintGuard(const Guard* guard);
  void PrintNodeLabel(const Node* node, const char* name);
  void PrintSuccess(const SeqNode* node);
};

using RegExpGraphNodePrinter = NodePrinter<Node>;

}  // namespace regexp
}  // namespace internal
}  // namespace v8
#endif  // V8_ENABLE_REGEXP_DIAGNOSTICS

#endif  // V8_REGEXP_REGEXP_NODE_PRINTER_H_

Messung V0.5 in Prozent
C=82 H=100 G=91

¤ Dauer der Verarbeitung: 0.14 Sekunden  (vorverarbeitet am  2026-09-30) ¤

*© 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.