#include "src/regexp/regexp-dotprinter.h"
#include "src/base/strings.h"
#include "src/regexp/regexp-compiler.h"
#include "src/utils/ostreams.h"
namespace v8 {
namespace internal {
class DotPrinterImpl : public NodeVisitor { … };
void DotPrinterImpl::PrintNode(const char* label, RegExpNode* node) { … }
void DotPrinterImpl::Visit(RegExpNode* node) { … }
void DotPrinterImpl::PrintOnFailure(RegExpNode* from, RegExpNode* on_failure) { … }
class AttributePrinter { … };
void DotPrinterImpl::PrintAttributes(RegExpNode* that) { … }
void DotPrinterImpl::VisitChoice(ChoiceNode* that) { … }
void DotPrinterImpl::VisitLoopChoice(LoopChoiceNode* that) { … }
void DotPrinterImpl::VisitNegativeLookaroundChoice(
NegativeLookaroundChoiceNode* that) { … }
void DotPrinterImpl::VisitText(TextNode* that) { … }
void DotPrinterImpl::VisitBackReference(BackReferenceNode* that) { … }
void DotPrinterImpl::VisitEnd(EndNode* that) { … }
void DotPrinterImpl::VisitAssertion(AssertionNode* that) { … }
void DotPrinterImpl::VisitAction(ActionNode* that) { … }
void DotPrinter::DotPrint(const char* label, RegExpNode* node) { … }
}
}