Index: src/parser.h |
diff --git a/src/parser.h b/src/parser.h |
index db9071a98b97983b3650d69cd4a4571c39992ff5..c815a4546257ef74b0ae3bb2b94778b3c0abc648 100644 |
--- a/src/parser.h |
+++ b/src/parser.h |
@@ -547,7 +547,8 @@ class ParserTraits { |
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( |
Token::Value token, int pos, Scanner* scanner, |
AstNodeFactory<AstConstructionVisitor>* factory); |
@@ -804,6 +805,9 @@ class Parser : public ParserBase<ParserTraits> { |
Scope* NewScope(Scope* parent, ScopeType type); |
+ FunctionLiteral* DefaultConstructor(bool call_super, Scope* scope, int pos, |
+ int end_pos); |
+ |
// Skip over a lazy function, either using cached data if we have it, or |
// by parsing the function with PreParser. Consumes the ending }. |
void SkipLazyFunctionBody(const AstRawString* function_name, |