Changeset 192147 in webkit for trunk/Source/JavaScriptCore/parser/SyntaxChecker.h
- Timestamp:
- Nov 8, 2015, 5:34:09 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/parser/SyntaxChecker.h
r192141 r192147 123 123 typedef int FormalParameterList; 124 124 typedef int FunctionBody; 125 #if ENABLE(ES6_CLASS_SYNTAX)126 125 typedef int ClassExpression; 127 #endif128 126 typedef int ModuleName; 129 127 typedef int ImportSpecifier; … … 183 181 ExpressionType createYield(const JSTokenLocation&) { return YieldExpr; } 184 182 ExpressionType createYield(const JSTokenLocation&, ExpressionType, bool) { return YieldExpr; } 185 #if ENABLE(ES6_CLASS_SYNTAX)186 183 ClassExpression createClassExpr(const JSTokenLocation&, const Identifier&, VariableEnvironment&, ExpressionType, ExpressionType, PropertyList, PropertyList) { return ClassExpr; } 187 #endif188 184 ExpressionType createFunctionExpr(const JSTokenLocation&, const ParserFunctionInfo<SyntaxChecker>&) { return FunctionExpr; } 189 185 int createFunctionMetadata(const JSTokenLocation&, const JSTokenLocation&, int, int, bool, int, int, int, ConstructorKind, unsigned, SourceParseMode, bool, bool) { return FunctionBodyResult; } … … 231 227 int createClauseList(int, int) { return ClauseListResult; } 232 228 int createFuncDeclStatement(const JSTokenLocation&, const ParserFunctionInfo<SyntaxChecker>&) { return StatementResult; } 233 #if ENABLE(ES6_CLASS_SYNTAX)234 229 int createClassDeclStatement(const JSTokenLocation&, ClassExpression, 235 230 const JSTextPosition&, const JSTextPosition&, int, int) { return StatementResult; } 236 #endif237 231 int createBlockStatement(const JSTokenLocation&, int, int, int, VariableEnvironment&) { return StatementResult; } 238 232 int createExprStatement(const JSTokenLocation&, int, int, int) { return StatementResult; }
Note:
See TracChangeset
for help on using the changeset viewer.