Chromium Code Reviews| Index: src/parser.h |
| diff --git a/src/parser.h b/src/parser.h |
| index cfe21deaef8815ee1d68ec12ac2c331924360349..280b903824093d1eb35a1041199a504edb8b05ee 100644 |
| --- a/src/parser.h |
| +++ b/src/parser.h |
| @@ -475,6 +475,7 @@ class ParserTraits { |
| static void PushLiteralName(FuncNameInferrer* fni, Handle<String> id) { |
| fni->PushLiteralName(id); |
| } |
| + void MaybePushPropertyName(FuncNameInferrer* fni, Expression* expression); |
|
Michael Starzinger
2014/03/21 10:09:59
nit: Can we call this PushPropertyOrLiteralName, b
marja
2014/03/21 10:28:24
-> PushPropertyName as discussed offline
|
| static void CheckFunctionLiteralInsideTopLevelObjectLiteral( |
| Scope* scope, Expression* value, bool* has_function) { |
| @@ -547,6 +548,7 @@ class ParserTraits { |
| static Literal* EmptyLiteral() { |
| return NULL; |
| } |
| + // Used in error return values. |
| static ZoneList<Expression*>* NullExpressionList() { |
| return NULL; |
| } |
| @@ -587,7 +589,6 @@ class ParserTraits { |
| int function_token_position, |
| FunctionLiteral::FunctionType type, |
| bool* ok); |
| - Expression* ParseMemberWithNewPrefixesExpression(bool* ok); |
| private: |
| Parser* parser_; |
| @@ -723,10 +724,6 @@ class Parser : public ParserBase<ParserTraits> { |
| // Support for hamony block scoped bindings. |
| Block* ParseScopedBlock(ZoneStringList* labels, bool* ok); |
| - Expression* ParseMemberWithNewPrefixesExpression(bool* ok); |
| - Expression* ParseMemberExpression(bool* ok); |
| - Expression* ParseMemberExpressionContinuation(Expression* expression, |
| - bool* ok); |
| // Initialize the components of a for-in / for-of statement. |
| void InitializeForEachStatement(ForEachStatement* stmt, |
| Expression* each, |