summaryrefslogtreecommitdiffstats
path: root/js/src/regexp/regexp-dotprinter.h
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/regexp/regexp-dotprinter.h')
-rw-r--r--js/src/regexp/regexp-dotprinter.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/js/src/regexp/regexp-dotprinter.h b/js/src/regexp/regexp-dotprinter.h
new file mode 100644
index 000000000..b3b268f53
--- /dev/null
+++ b/js/src/regexp/regexp-dotprinter.h
@@ -0,0 +1,22 @@
+// Copyright 2019 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_DOTPRINTER_H_
+#define V8_REGEXP_REGEXP_DOTPRINTER_H_
+
+
+namespace v8 {
+namespace internal {
+
+class RegExpNode;
+
+class DotPrinter final : public AllStatic {
+ public:
+ static void DotPrint(const char* label, RegExpNode* node);
+};
+
+} // namespace internal
+} // namespace v8
+
+#endif // V8_REGEXP_REGEXP_DOTPRINTER_H_