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

Side by Side Diff: src/prettyprinter.h

Issue 2840018: [Isolates] Moved more compilation-related globals (builtins, runtime, &c.)... (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/isolates/
Patch Set: rebase Created 10 years, 6 months 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 Variable* var, 103 Variable* var,
104 Handle<Object> value, 104 Handle<Object> value,
105 StaticType* type, 105 StaticType* type,
106 int num, 106 int num,
107 bool is_primitive); 107 bool is_primitive);
108 void PrintLabelsIndented(const char* info, ZoneStringList* labels); 108 void PrintLabelsIndented(const char* info, ZoneStringList* labels);
109 109
110 void inc_indent() { indent_++; } 110 void inc_indent() { indent_++; }
111 void dec_indent() { indent_--; } 111 void dec_indent() { indent_--; }
112 112
113 static int indent_; 113 int indent_;
114 }; 114 };
115 115
116 116
117 // Forward declaration of helper classes. 117 // Forward declaration of helper classes.
118 class TagScope; 118 class TagScope;
119 class AttributesScope; 119 class AttributesScope;
120 120
121 // Build a C string containing a JSON representation of a function's 121 // Build a C string containing a JSON representation of a function's
122 // AST. The representation is based on JsonML (www.jsonml.org). 122 // AST. The representation is based on JsonML (www.jsonml.org).
123 class JsonAstBuilder: public PrettyPrinter { 123 class JsonAstBuilder: public PrettyPrinter {
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 private: 212 private:
213 JsonAstBuilder* builder_; 213 JsonAstBuilder* builder_;
214 int attribute_count_; 214 int attribute_count_;
215 }; 215 };
216 216
217 #endif // DEBUG 217 #endif // DEBUG
218 218
219 } } // namespace v8::internal 219 } } // namespace v8::internal
220 220
221 #endif // V8_PRETTYPRINTER_H_ 221 #endif // V8_PRETTYPRINTER_H_
OLDNEW
« no previous file with comments | « src/parser.cc ('k') | src/prettyprinter.cc » ('j') | src/runtime.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698