Changeset 188417 in webkit for trunk/Source/JavaScriptCore/parser/ASTBuilder.h
- Timestamp:
- Aug 13, 2015, 4:55:35 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/parser/ASTBuilder.h
r188355 r188417 113 113 typedef ClassExprNode* ClassExpression; 114 114 #endif 115 typedef Module SpecifierNode* ModuleSpecifier;115 typedef ModuleNameNode* ModuleName; 116 116 typedef ImportSpecifierNode* ImportSpecifier; 117 117 typedef ImportSpecifierListNode* ImportSpecifierList; … … 362 362 unsigned startColumn, unsigned endColumn, int functionKeywordStart, 363 363 int functionNameStart, int parametersStart, bool inStrictContext, 364 ConstructorKind constructorKind, unsigned parameterCount, FunctionParseMode mode)364 ConstructorKind constructorKind, unsigned parameterCount, SourceParseMode mode) 365 365 { 366 366 return new (m_parserArena) FunctionMetadataNode( … … 620 620 } 621 621 622 Module SpecifierNode* createModuleSpecifier(const JSTokenLocation& location, const Identifier& moduleName)623 { 624 return new (m_parserArena) Module SpecifierNode(location, moduleName);622 ModuleNameNode* createModuleName(const JSTokenLocation& location, const Identifier& moduleName) 623 { 624 return new (m_parserArena) ModuleNameNode(location, moduleName); 625 625 } 626 626 … … 640 640 } 641 641 642 StatementNode* createImportDeclaration(const JSTokenLocation& location, ImportSpecifierListNode* importSpecifierList, Module SpecifierNode* moduleSpecifier)643 { 644 return new (m_parserArena) ImportDeclarationNode(location, importSpecifierList, module Specifier);645 } 646 647 StatementNode* createExportAllDeclaration(const JSTokenLocation& location, Module SpecifierNode* moduleSpecifier)648 { 649 return new (m_parserArena) ExportAllDeclarationNode(location, module Specifier);642 StatementNode* createImportDeclaration(const JSTokenLocation& location, ImportSpecifierListNode* importSpecifierList, ModuleNameNode* moduleName) 643 { 644 return new (m_parserArena) ImportDeclarationNode(location, importSpecifierList, moduleName); 645 } 646 647 StatementNode* createExportAllDeclaration(const JSTokenLocation& location, ModuleNameNode* moduleName) 648 { 649 return new (m_parserArena) ExportAllDeclarationNode(location, moduleName); 650 650 } 651 651 … … 660 660 } 661 661 662 StatementNode* createExportNamedDeclaration(const JSTokenLocation& location, ExportSpecifierListNode* exportSpecifierList, Module SpecifierNode* moduleSpecifier)663 { 664 return new (m_parserArena) ExportNamedDeclarationNode(location, exportSpecifierList, module Specifier);662 StatementNode* createExportNamedDeclaration(const JSTokenLocation& location, ExportSpecifierListNode* exportSpecifierList, ModuleNameNode* moduleName) 663 { 664 return new (m_parserArena) ExportNamedDeclarationNode(location, exportSpecifierList, moduleName); 665 665 } 666 666
Note:
See TracChangeset
for help on using the changeset viewer.