aboutsummaryrefslogtreecommitdiff
path: root/src/ast/prettyprinter.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ast/prettyprinter.h')
-rw-r--r--src/ast/prettyprinter.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ast/prettyprinter.h b/src/ast/prettyprinter.h
index 7e4dcdc8..0186203d 100644
--- a/src/ast/prettyprinter.h
+++ b/src/ast/prettyprinter.h
@@ -104,6 +104,9 @@ class AstPrinter: public PrettyPrinter {
const char* PrintProgram(FunctionLiteral* program);
+ // Print a node to stdout.
+ static void PrintOut(Isolate* isolate, AstNode* node);
+
// Individual nodes
#define DECLARE_VISIT(type) virtual void Visit##type(type* node);
AST_NODE_LIST(DECLARE_VISIT)