OLD | NEW |
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_H_ | 5 #ifndef V8_PARSING_PARSER_H_ |
6 #define V8_PARSING_PARSER_H_ | 6 #define V8_PARSING_PARSER_H_ |
7 | 7 |
8 #include "src/ast/ast.h" | 8 #include "src/ast/ast.h" |
9 #include "src/ast/scopes.h" | 9 #include "src/ast/scopes.h" |
10 #include "src/parsing/parser-base.h" | 10 #include "src/parsing/parser-base.h" |
(...skipping 1024 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1035 | 1035 |
1036 PendingCompilationErrorHandler pending_error_handler_; | 1036 PendingCompilationErrorHandler pending_error_handler_; |
1037 | 1037 |
1038 // Other information which will be stored in Parser and moved to Isolate after | 1038 // Other information which will be stored in Parser and moved to Isolate after |
1039 // parsing. | 1039 // parsing. |
1040 int use_counts_[v8::Isolate::kUseCounterFeatureCount]; | 1040 int use_counts_[v8::Isolate::kUseCounterFeatureCount]; |
1041 int total_preparse_skipped_; | 1041 int total_preparse_skipped_; |
1042 HistogramTimer* pre_parse_timer_; | 1042 HistogramTimer* pre_parse_timer_; |
1043 | 1043 |
1044 bool parsing_on_main_thread_; | 1044 bool parsing_on_main_thread_; |
1045 | |
1046 #ifdef DEBUG | |
1047 void Print(AstNode* node); | |
1048 #endif // DEBUG | |
1049 }; | 1045 }; |
1050 | 1046 |
1051 } // namespace internal | 1047 } // namespace internal |
1052 } // namespace v8 | 1048 } // namespace v8 |
1053 | 1049 |
1054 #endif // V8_PARSING_PARSER_H_ | 1050 #endif // V8_PARSING_PARSER_H_ |
OLD | NEW |