Changeset 188417 in webkit for trunk/Source/JavaScriptCore/parser/SyntaxChecker.h
- Timestamp:
- Aug 13, 2015, 4:55:35 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/parser/SyntaxChecker.h
r188355 r188417 85 85 TemplateExpressionListResult, TemplateExpr, 86 86 TaggedTemplateExpr, 87 Module SpecifierResult,87 ModuleNameResult, 88 88 ImportSpecifierResult, ImportSpecifierListResult, 89 89 ExportSpecifierResult, ExportSpecifierListResult … … 128 128 typedef int ClassExpression; 129 129 #endif 130 typedef int Module Specifier;130 typedef int ModuleName; 131 131 typedef int ImportSpecifier; 132 132 typedef int ImportSpecifierList; … … 187 187 #endif 188 188 ExpressionType createFunctionExpr(const JSTokenLocation&, const ParserFunctionInfo<SyntaxChecker>&) { return FunctionExpr; } 189 int createFunctionMetadata(const JSTokenLocation&, const JSTokenLocation&, int, int, bool, int, int, int, ConstructorKind, unsigned, int) { return FunctionBodyResult; }189 int createFunctionMetadata(const JSTokenLocation&, const JSTokenLocation&, int, int, bool, int, int, int, ConstructorKind, unsigned, SourceParseMode) { return FunctionBodyResult; } 190 190 ExpressionType createArrowFunctionExpr(const JSTokenLocation&, const ParserFunctionInfo<SyntaxChecker>&) { return FunctionExpr; } 191 191 void setFunctionNameStart(int, int) { } … … 260 260 int createDebugger(const JSTokenLocation&, int, int) { return StatementResult; } 261 261 int createConstStatement(const JSTokenLocation&, int, int, int) { return StatementResult; } 262 int createModule Specifier(const JSTokenLocation&, const Identifier&) { return ModuleSpecifierResult; }262 int createModuleName(const JSTokenLocation&, const Identifier&) { return ModuleNameResult; } 263 263 ImportSpecifier createImportSpecifier(const JSTokenLocation&, const Identifier&, const Identifier&) { return ImportSpecifierResult; } 264 264 ImportSpecifierList createImportSpecifierList() { return ImportSpecifierListResult; } 265 265 void appendImportSpecifier(ImportSpecifierList, ImportSpecifier) { } 266 int createImportDeclaration(const JSTokenLocation&, ImportSpecifierList, Module Specifier) { return StatementResult; }267 int createExportAllDeclaration(const JSTokenLocation&, Module Specifier) { return StatementResult; }266 int createImportDeclaration(const JSTokenLocation&, ImportSpecifierList, ModuleName) { return StatementResult; } 267 int createExportAllDeclaration(const JSTokenLocation&, ModuleName) { return StatementResult; } 268 268 int createExportDefaultDeclaration(const JSTokenLocation&, int, const Identifier&) { return StatementResult; } 269 269 int createExportLocalDeclaration(const JSTokenLocation&, int) { return StatementResult; } 270 int createExportNamedDeclaration(const JSTokenLocation&, ExportSpecifierList, Module Specifier) { return StatementResult; }270 int createExportNamedDeclaration(const JSTokenLocation&, ExportSpecifierList, ModuleName) { return StatementResult; } 271 271 ExportSpecifier createExportSpecifier(const JSTokenLocation&, const Identifier&, const Identifier&) { return ExportSpecifierResult; } 272 272 ExportSpecifierList createExportSpecifierList() { return ExportSpecifierListResult; }
Note:
See TracChangeset
for help on using the changeset viewer.