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

Side by Side Diff: test/cctest/expression-type-collector.h

Issue 1481613002: Create ast/ and parsing/ subdirectories and move appropriate files (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase Created 5 years 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
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_EXPRESSION_TYPE_COLLECTOR_H_ 5 #ifndef V8_EXPRESSION_TYPE_COLLECTOR_H_
6 #define V8_EXPRESSION_TYPE_COLLECTOR_H_ 6 #define V8_EXPRESSION_TYPE_COLLECTOR_H_
7 7
8 #include "src/ast-expression-visitor.h" 8 #include "src/ast/ast-expression-visitor.h"
9 9
10 namespace v8 { 10 namespace v8 {
11 namespace internal { 11 namespace internal {
12 12
13 // A Visitor over an AST that collects a human readable string summarizing 13 // A Visitor over an AST that collects a human readable string summarizing
14 // structure and types. Used for testing of the typing information attached 14 // structure and types. Used for testing of the typing information attached
15 // to the expression nodes of an AST. 15 // to the expression nodes of an AST.
16 16
17 struct ExpressionTypeEntry { 17 struct ExpressionTypeEntry {
18 int depth; 18 int depth;
(...skipping 11 matching lines...) Expand all
30 protected: 30 protected:
31 void VisitExpression(Expression* expression); 31 void VisitExpression(Expression* expression);
32 32
33 private: 33 private:
34 ZoneVector<ExpressionTypeEntry>* result_; 34 ZoneVector<ExpressionTypeEntry>* result_;
35 }; 35 };
36 } // namespace internal 36 } // namespace internal
37 } // namespace v8 37 } // namespace v8
38 38
39 #endif // V8_EXPRESSION_TYPE_COLLECTOR_H_ 39 #endif // V8_EXPRESSION_TYPE_COLLECTOR_H_
OLDNEW
« no previous file with comments | « test/cctest/compiler/test-simplified-lowering.cc ('k') | test/cctest/expression-type-collector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698