Index: src/ast/prettyprinter.h |
diff --git a/src/ast/prettyprinter.h b/src/ast/prettyprinter.h |
index 808f702c4d5776af9c3da4f6bb0c92eeddc82eb1..27d37d078374146593e048290750fdeb26f8bba7 100644 |
--- a/src/ast/prettyprinter.h |
+++ b/src/ast/prettyprinter.h |
@@ -50,7 +50,7 @@ class CallPrinter : public AstVisitor { |
#ifdef DEBUG |
-class PrettyPrinter: public AstVisitor { |
+class PrettyPrinter : public AstVisitor { |
public: |
explicit PrettyPrinter(Isolate* isolate); |
virtual ~PrettyPrinter(); |
@@ -66,15 +66,15 @@ class PrettyPrinter: public AstVisitor { |
// Print a node to stdout. |
static void PrintOut(Isolate* isolate, AstNode* node); |
- // Individual nodes |
+// Individual nodes |
#define DECLARE_VISIT(type) void Visit##type(type* node) override; |
AST_NODE_LIST(DECLARE_VISIT) |
#undef DECLARE_VISIT |
private: |
char* output_; // output string buffer |
- int size_; // output_ size |
- int pos_; // current printing position |
+ int size_; // output_ size |
+ int pos_; // current printing position |
protected: |
void Init(); |
@@ -96,14 +96,14 @@ class PrettyPrinter: public AstVisitor { |
// Prints the AST structure |
-class AstPrinter: public PrettyPrinter { |
+class AstPrinter : public PrettyPrinter { |
public: |
explicit AstPrinter(Isolate* isolate); |
virtual ~AstPrinter(); |
const char* PrintProgram(FunctionLiteral* program); |
- // Individual nodes |
+// Individual nodes |
#define DECLARE_VISIT(type) virtual void Visit##type(type* node); |
AST_NODE_LIST(DECLARE_VISIT) |
#undef DECLARE_VISIT |
@@ -119,8 +119,7 @@ class AstPrinter: public PrettyPrinter { |
void PrintArguments(ZoneList<Expression*>* arguments); |
void PrintCaseClause(CaseClause* clause); |
void PrintLiteralIndented(const char* info, Handle<Object> value, bool quote); |
- void PrintLiteralWithModeIndented(const char* info, |
- Variable* var, |
+ void PrintLiteralWithModeIndented(const char* info, Variable* var, |
Handle<Object> value); |
void PrintLabelsIndented(ZoneList<const AstRawString*>* labels); |
void PrintProperties(ZoneList<ObjectLiteral::Property*>* properties); |