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

Side by Side Diff: src/parsing/parser-base.h

Issue 2142333002: Refactor class declaration logic to the parser and runtime Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: minor cleanup per Adam Created 4 years, 5 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
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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_PARSING_PARSER_BASE_H 5 #ifndef V8_PARSING_PARSER_BASE_H
6 #define V8_PARSING_PARSER_BASE_H 6 #define V8_PARSING_PARSER_BASE_H
7 7
8 #include "src/ast/scopes.h" 8 #include "src/ast/scopes.h"
9 #include "src/bailout-reason.h" 9 #include "src/bailout-reason.h"
10 #include "src/base/hashmap.h" 10 #include "src/base/hashmap.h"
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 // struct Traits { 141 // struct Traits {
142 // // In particular... 142 // // In particular...
143 // struct Type { 143 // struct Type {
144 // // Used by FunctionState and BlockState. 144 // // Used by FunctionState and BlockState.
145 // typedef Scope; 145 // typedef Scope;
146 // typedef GeneratorVariable; 146 // typedef GeneratorVariable;
147 // // Return types for traversing functions. 147 // // Return types for traversing functions.
148 // typedef Identifier; 148 // typedef Identifier;
149 // typedef Expression; 149 // typedef Expression;
150 // typedef FunctionLiteral; 150 // typedef FunctionLiteral;
151 // typedef ClassLiteral;
152 // typedef ObjectLiteralProperty; 151 // typedef ObjectLiteralProperty;
153 // typedef Literal; 152 // typedef Literal;
154 // typedef ExpressionList; 153 // typedef ExpressionList;
155 // typedef PropertyList; 154 // typedef PropertyList;
156 // typedef FormalParameter; 155 // typedef FormalParameter;
157 // typedef FormalParameters; 156 // typedef FormalParameters;
158 // // For constructing objects returned by the traversing functions. 157 // // For constructing objects returned by the traversing functions.
159 // typedef Factory; 158 // typedef Factory;
160 // }; 159 // };
161 // // ... 160 // // ...
(...skipping 3503 matching lines...) Expand 10 before | Expand all | Expand 10 after
3665 has_seen_constructor_ = true; 3664 has_seen_constructor_ = true;
3666 return; 3665 return;
3667 } 3666 }
3668 } 3667 }
3669 3668
3670 3669
3671 } // namespace internal 3670 } // namespace internal
3672 } // namespace v8 3671 } // namespace v8
3673 3672
3674 #endif // V8_PARSING_PARSER_BASE_H 3673 #endif // V8_PARSING_PARSER_BASE_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698