Changeset 288473 in webkit for trunk/Source/JavaScriptCore/parser/SyntaxChecker.h
- Timestamp:
- Jan 24, 2022, 2:51:13 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/parser/SyntaxChecker.h
r279447 r288473 87 87 TaggedTemplateExpr, YieldExpr, AwaitExpr, 88 88 ModuleNameResult, PrivateIdentifier, 89 ImportSpecifierResult, ImportSpecifierListResult, 89 ImportSpecifierResult, ImportSpecifierListResult, ImportAssertionListResult, 90 90 ExportSpecifierResult, ExportSpecifierListResult, 91 91 … … 129 129 typedef int ImportSpecifier; 130 130 typedef int ImportSpecifierList; 131 typedef int ImportAssertionList; 131 132 typedef int ExportSpecifier; 132 133 typedef int ExportSpecifierList; … … 160 161 ExpressionType createUnaryPlus(const JSTokenLocation&, ExpressionType) { return UnaryExpr; } 161 162 ExpressionType createVoid(const JSTokenLocation&, ExpressionType) { return UnaryExpr; } 162 ExpressionType createImportExpr(const JSTokenLocation&, ExpressionType, int, int, int) { return ImportExpr; }163 ExpressionType createImportExpr(const JSTokenLocation&, ExpressionType, ExpressionType, int, int, int) { return ImportExpr; } 163 164 ExpressionType createThisExpr(const JSTokenLocation&) { return ThisExpr; } 164 165 ExpressionType createSuperExpr(const JSTokenLocation&) { return SuperExpr; } … … 279 280 ImportSpecifierList createImportSpecifierList() { return ImportSpecifierListResult; } 280 281 void appendImportSpecifier(ImportSpecifierList, ImportSpecifier) { } 281 int createImportDeclaration(const JSTokenLocation&, ImportSpecifierList, ModuleName) { return StatementResult; } 282 int createExportAllDeclaration(const JSTokenLocation&, ModuleName) { return StatementResult; } 282 ImportAssertionList createImportAssertionList() { return ImportAssertionListResult; } 283 void appendImportAssertion(ImportAssertionList, const Identifier&, const Identifier&) { } 284 int createImportDeclaration(const JSTokenLocation&, ImportSpecifierList, ModuleName, ImportAssertionList) { return StatementResult; } 285 int createExportAllDeclaration(const JSTokenLocation&, ModuleName, ImportAssertionList) { return StatementResult; } 283 286 int createExportDefaultDeclaration(const JSTokenLocation&, int, const Identifier&) { return StatementResult; } 284 287 int createExportLocalDeclaration(const JSTokenLocation&, int) { return StatementResult; } 285 int createExportNamedDeclaration(const JSTokenLocation&, ExportSpecifierList, ModuleName ) { return StatementResult; }288 int createExportNamedDeclaration(const JSTokenLocation&, ExportSpecifierList, ModuleName, ImportAssertionList) { return StatementResult; } 286 289 ExportSpecifier createExportSpecifier(const JSTokenLocation&, const Identifier&, const Identifier&) { return ExportSpecifierResult; } 287 290 ExportSpecifierList createExportSpecifierList() { return ExportSpecifierListResult; }
Note:
See TracChangeset
for help on using the changeset viewer.