Changeset 181293 in webkit for trunk/Source/JavaScriptCore/parser/SyntaxChecker.h
- Timestamp:
- Mar 9, 2015, 4:47:06 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/parser/SyntaxChecker.h
r181179 r181293 74 74 ResolveEvalExpr, ResolveExpr, IntegerExpr, DoubleExpr, StringExpr, 75 75 ThisExpr, NullExpr, BoolExpr, RegExpExpr, ObjectLiteralExpr, 76 FunctionExpr, ClassExpr, BracketExpr, DotExpr, CallExpr,76 FunctionExpr, ClassExpr, SuperExpr, BracketExpr, DotExpr, CallExpr, 77 77 NewExpr, PreExpr, PostExpr, UnaryExpr, BinaryExpr, 78 78 ConditionalExpr, AssignmentExpr, TypeofExpr, … … 147 147 ExpressionType createVoid(const JSTokenLocation&, ExpressionType) { return UnaryExpr; } 148 148 ExpressionType thisExpr(const JSTokenLocation&) { return ThisExpr; } 149 ExpressionType superExpr(const JSTokenLocation&) { return SuperExpr; } 149 150 ExpressionType createResolve(const JSTokenLocation&, const Identifier*, int) { return ResolveExpr; } 150 151 ExpressionType createObjectLiteral(const JSTokenLocation&) { return ObjectLiteralExpr; } … … 169 170 #endif 170 171 ExpressionType createFunctionExpr(const JSTokenLocation&, const ParserFunctionInfo<SyntaxChecker>&, int) { return FunctionExpr; } 171 int createFunctionBody(const JSTokenLocation&, const JSTokenLocation&, int, int, bool ) { return FunctionBodyResult; }172 int createFunctionBody(const JSTokenLocation&, const JSTokenLocation&, int, int, bool, ConstructorKind) { return FunctionBodyResult; } 172 173 void setFunctionNameStart(int, int) { } 173 174 int createArguments() { return ArgumentsResult; } … … 176 177 int createArgumentsList(const JSTokenLocation&, int) { return ArgumentsListResult; } 177 178 int createArgumentsList(const JSTokenLocation&, int, int) { return ArgumentsListResult; } 178 Property createProperty(const Identifier* name, int, PropertyNode::Type type, PropertyNode::PutType, bool complete )179 Property createProperty(const Identifier* name, int, PropertyNode::Type type, PropertyNode::PutType, bool complete, SuperBinding = SuperBinding::NotNeeded) 179 180 { 180 181 if (!complete) … … 231 232 int createConstStatement(const JSTokenLocation&, int, int, int) { return StatementResult; } 232 233 int appendConstDecl(const JSTokenLocation&, int, const Identifier*, int) { return StatementResult; } 233 Property createGetterOrSetterProperty(const JSTokenLocation&, PropertyNode::Type type, bool strict, const Identifier* name, const ParserFunctionInfo<SyntaxChecker>&, unsigned )234 Property createGetterOrSetterProperty(const JSTokenLocation&, PropertyNode::Type type, bool strict, const Identifier* name, const ParserFunctionInfo<SyntaxChecker>&, unsigned, SuperBinding) 234 235 { 235 236 ASSERT(name); … … 238 239 return Property(name, type); 239 240 } 240 Property createGetterOrSetterProperty(VM* vm, ParserArena& parserArena, const JSTokenLocation&, PropertyNode::Type type, bool strict, double name, const ParserFunctionInfo<SyntaxChecker>&, unsigned )241 Property createGetterOrSetterProperty(VM* vm, ParserArena& parserArena, const JSTokenLocation&, PropertyNode::Type type, bool strict, double name, const ParserFunctionInfo<SyntaxChecker>&, unsigned, SuperBinding) 241 242 { 242 243 if (!strict)
Note:
See TracChangeset
for help on using the changeset viewer.