Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(966)

Unified Diff: src/ast/prettyprinter.h

Issue 1439693002: [runtime] Support Proxy setPrototypeOf trap (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@2015-11-09_new_Proxy_1417063011
Patch Set: merging with master Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/ast/modules.h ('k') | src/ast/prettyprinter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « src/ast/modules.h ('k') | src/ast/prettyprinter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698