| Index: src/parser.h
|
| diff --git a/src/parser.h b/src/parser.h
|
| index 1650cba52123278ef9a61affa38e4890ce57ea89..c52e598055c7f872bc7f5035dab11f9f19e203fd 100644
|
| --- a/src/parser.h
|
| +++ b/src/parser.h
|
| @@ -542,11 +542,6 @@ class ParserTraits {
|
| Expression* SuperReference(Scope* scope,
|
| AstNodeFactory<AstConstructionVisitor>* factory,
|
| int pos = RelocInfo::kNoPosition);
|
| - Expression* ClassExpression(const AstRawString* name, Expression* extends,
|
| - Expression* constructor,
|
| - ZoneList<ObjectLiteral::Property*>* properties,
|
| - int start_position, int end_position,
|
| - AstNodeFactory<AstConstructionVisitor>* factory);
|
| Expression* DefaultConstructor(bool call_super, Scope* scope, int pos,
|
| int end_pos);
|
| Literal* ExpressionFromLiteral(
|
| @@ -590,6 +585,12 @@ class ParserTraits {
|
| V8_INLINE ZoneList<Statement*>* ParseEagerFunctionBody(
|
| const AstRawString* name, int pos, Variable* fvar,
|
| Token::Value fvar_init_op, bool is_generator, bool* ok);
|
| +
|
| + ClassLiteral* ParseClassLiteral(const AstRawString* name,
|
| + Scanner::Location class_name_location,
|
| + bool name_is_strict_reserved, int pos,
|
| + bool* ok);
|
| +
|
| V8_INLINE void CheckConflictingVarDeclarations(v8::internal::Scope* scope,
|
| bool* ok);
|
|
|
| @@ -770,6 +771,12 @@ class Parser : public ParserBase<ParserTraits> {
|
| int function_token_position, FunctionLiteral::FunctionType type,
|
| FunctionLiteral::ArityRestriction arity_restriction, bool* ok);
|
|
|
| +
|
| + ClassLiteral* ParseClassLiteral(const AstRawString* name,
|
| + Scanner::Location class_name_location,
|
| + bool name_is_strict_reserved, int pos,
|
| + bool* ok);
|
| +
|
| // Magical syntax support.
|
| Expression* ParseV8Intrinsic(bool* ok);
|
|
|
|
|