Changeset 181818 in webkit for trunk/Source/JavaScriptCore/parser/SyntaxChecker.h
- Timestamp:
- Mar 20, 2015, 4:37:51 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/parser/SyntaxChecker.h
r181807 r181818 169 169 ClassExpression createClassExpr(const JSTokenLocation&, const Identifier&, ExpressionType, ExpressionType, PropertyList, PropertyList) { return ClassExpr; } 170 170 #endif 171 ExpressionType createFunctionExpr(const JSTokenLocation&, const ParserFunctionInfo<SyntaxChecker>&, int) { return FunctionExpr; } 172 int createFunctionBody(const JSTokenLocation&, const JSTokenLocation&, int, int, bool, ConstructorKind) { return FunctionBodyResult; } 173 void setFunctionNameStart(int, int) { } 171 ExpressionType createFunctionExpr(const JSTokenLocation&, const ParserFunctionInfo<SyntaxChecker>&) { return FunctionExpr; } 172 int createFunctionBody(const JSTokenLocation&, const JSTokenLocation&, int, int, bool, int, int, int, ConstructorKind) { return FunctionBodyResult; } 174 173 int createArguments() { return ArgumentsResult; } 175 174 int createArguments(int) { return ArgumentsResult; } … … 203 202 int createClauseList(int) { return ClauseListResult; } 204 203 int createClauseList(int, int) { return ClauseListResult; } 205 int createFuncDeclStatement(const JSTokenLocation&, const ParserFunctionInfo<SyntaxChecker>& , int) { return StatementResult; }204 int createFuncDeclStatement(const JSTokenLocation&, const ParserFunctionInfo<SyntaxChecker>&) { return StatementResult; } 206 205 #if ENABLE(ES6_CLASS_SYNTAX) 207 206 int createClassDeclStatement(const JSTokenLocation&, ClassExpression, … … 232 231 int createConstStatement(const JSTokenLocation&, int, int, int) { return StatementResult; } 233 232 int appendConstDecl(const JSTokenLocation&, int, const Identifier*, int) { return StatementResult; } 234 Property createGetterOrSetterProperty(const JSTokenLocation&, PropertyNode::Type type, bool strict, const Identifier* name, const ParserFunctionInfo<SyntaxChecker>&, unsigned,SuperBinding)233 Property createGetterOrSetterProperty(const JSTokenLocation&, PropertyNode::Type type, bool strict, const Identifier* name, const ParserFunctionInfo<SyntaxChecker>&, SuperBinding) 235 234 { 236 235 ASSERT(name); … … 239 238 return Property(name, type); 240 239 } 241 Property createGetterOrSetterProperty(VM* vm, ParserArena& parserArena, const JSTokenLocation&, PropertyNode::Type type, bool strict, double name, const ParserFunctionInfo<SyntaxChecker>&, unsigned,SuperBinding)240 Property createGetterOrSetterProperty(VM* vm, ParserArena& parserArena, const JSTokenLocation&, PropertyNode::Type type, bool strict, double name, const ParserFunctionInfo<SyntaxChecker>&, SuperBinding) 242 241 { 243 242 if (!strict)
Note:
See TracChangeset
for help on using the changeset viewer.