Changeset 179371 in webkit for trunk/Source/JavaScriptCore/parser/SyntaxChecker.h
- Timestamp:
- Jan 29, 2015, 2:59:19 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/parser/SyntaxChecker.h
r178888 r179371 74 74 ResolveEvalExpr, ResolveExpr, NumberExpr, StringExpr, 75 75 ThisExpr, NullExpr, BoolExpr, RegExpExpr, ObjectLiteralExpr, 76 FunctionExpr, BracketExpr, DotExpr, CallExpr,76 FunctionExpr, ClassExpr, BracketExpr, DotExpr, CallExpr, 77 77 NewExpr, PreExpr, PostExpr, UnaryExpr, BinaryExpr, 78 78 ConditionalExpr, AssignmentExpr, TypeofExpr, … … 114 114 typedef int FormalParameterList; 115 115 typedef int FunctionBody; 116 #if ENABLE(ES6_CLASS_SYNTAX) 117 typedef int ClassExpression; 118 #endif 116 119 typedef int Statement; 117 120 typedef int ClauseList; … … 161 164 ExpressionType createAssignResolve(const JSTokenLocation&, const Identifier&, ExpressionType, int, int, int) { return AssignmentExpr; } 162 165 ExpressionType createEmptyVarExpression(const JSTokenLocation&, const Identifier&) { return AssignmentExpr; } 166 #if ENABLE(ES6_CLASS_SYNTAX) 167 ClassExpression createClassExpr(const JSTokenLocation&, const Identifier&, ExpressionType, ExpressionType, PropertyList, PropertyList) { return ClassExpr; } 168 #endif 163 169 ExpressionType createFunctionExpr(const JSTokenLocation&, const ParserFunctionInfo<SyntaxChecker>&, int) { return FunctionExpr; } 164 170 int createFunctionBody(const JSTokenLocation&, const JSTokenLocation&, int, int, bool) { return FunctionBodyResult; } … … 196 202 int createClauseList(int, int) { return ClauseListResult; } 197 203 int createFuncDeclStatement(const JSTokenLocation&, const ParserFunctionInfo<SyntaxChecker>&, int) { return StatementResult; } 198 int createClassDeclStatement(const JSTokenLocation&, const Identifier&, ExpressionType, ExpressionType, PropertyList, PropertyList, int, int) { return StatementResult; } 204 #if ENABLE(ES6_CLASS_SYNTAX) 205 int createClassDeclStatement(const JSTokenLocation&, ClassExpression, 206 const JSTextPosition&, const JSTextPosition&, int, int) { return StatementResult; } 207 #endif 199 208 int createBlockStatement(const JSTokenLocation&, int, int, int) { return StatementResult; } 200 209 int createExprStatement(const JSTokenLocation&, int, int, int) { return StatementResult; }
Note:
See TracChangeset
for help on using the changeset viewer.