| 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_PREPARSER_H | 5 #ifndef V8_PARSING_PREPARSER_H |
| 6 #define V8_PARSING_PREPARSER_H | 6 #define V8_PARSING_PREPARSER_H |
| 7 | 7 |
| 8 #include "src/ast/scopes.h" | 8 #include "src/ast/scopes.h" |
| 9 #include "src/parsing/parser-base.h" | 9 #include "src/parsing/parser-base.h" |
| 10 | 10 |
| (...skipping 1205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1216 for (int i = 0; i < count; ++i) { | 1216 for (int i = 0; i < count; ++i) { |
| 1217 function_state_->NextMaterializedLiteralIndex(); | 1217 function_state_->NextMaterializedLiteralIndex(); |
| 1218 } | 1218 } |
| 1219 } | 1219 } |
| 1220 | 1220 |
| 1221 V8_INLINE PreParserExpression | 1221 V8_INLINE PreParserExpression |
| 1222 ExpressionListToExpression(PreParserExpressionList args) { | 1222 ExpressionListToExpression(PreParserExpressionList args) { |
| 1223 return PreParserExpression::Default(); | 1223 return PreParserExpression::Default(); |
| 1224 } | 1224 } |
| 1225 | 1225 |
| 1226 V8_INLINE void AddAccessorPrefixToFunctionName(bool is_get, |
| 1227 PreParserExpression function, |
| 1228 PreParserIdentifier name) {} |
| 1226 V8_INLINE void SetFunctionNameFromPropertyName(PreParserExpression property, | 1229 V8_INLINE void SetFunctionNameFromPropertyName(PreParserExpression property, |
| 1227 PreParserIdentifier name) {} | 1230 PreParserIdentifier name) {} |
| 1228 V8_INLINE void SetFunctionNameFromIdentifierRef( | 1231 V8_INLINE void SetFunctionNameFromIdentifierRef( |
| 1229 PreParserExpression value, PreParserExpression identifier) {} | 1232 PreParserExpression value, PreParserExpression identifier) {} |
| 1230 | 1233 |
| 1231 V8_INLINE ZoneList<typename ExpressionClassifier::Error>* | 1234 V8_INLINE ZoneList<typename ExpressionClassifier::Error>* |
| 1232 GetReportedErrorList() const { | 1235 GetReportedErrorList() const { |
| 1233 return function_state_->GetReportedErrorList(); | 1236 return function_state_->GetReportedErrorList(); |
| 1234 } | 1237 } |
| 1235 | 1238 |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1283 function_state_->NextMaterializedLiteralIndex(); | 1286 function_state_->NextMaterializedLiteralIndex(); |
| 1284 function_state_->NextMaterializedLiteralIndex(); | 1287 function_state_->NextMaterializedLiteralIndex(); |
| 1285 } | 1288 } |
| 1286 return EmptyExpression(); | 1289 return EmptyExpression(); |
| 1287 } | 1290 } |
| 1288 | 1291 |
| 1289 } // namespace internal | 1292 } // namespace internal |
| 1290 } // namespace v8 | 1293 } // namespace v8 |
| 1291 | 1294 |
| 1292 #endif // V8_PARSING_PREPARSER_H | 1295 #endif // V8_PARSING_PREPARSER_H |
| OLD | NEW |