1
1
mirror of https://github.com/github/semantic.git synced 2024-11-24 08:54:07 +03:00

TypeScript import syntax changed - update fixtures

This commit is contained in:
Timothy Clem 2018-04-02 15:11:45 -07:00
parent 74c195385e
commit 568adc1477
8 changed files with 79 additions and 202 deletions

View File

@ -62,10 +62,8 @@
{+(QualifiedExport)+}
{+(DefaultExport
{+(TextElement)+})+}
{+(QualifiedExportFrom
{+(Identifier)+})+}
{+(QualifiedExportFrom
{+(Identifier)+})+}
{+(QualifiedExportFrom)+}
{+(QualifiedExportFrom)+}
{-(DefaultExport
{-(Function
{-(Empty)-}
@ -75,7 +73,5 @@
{-(QualifiedExport)-}
{-(DefaultExport
{-(TextElement)-})-}
{-(QualifiedExportFrom
{-(Identifier)-})-}
{-(QualifiedExportFrom
{-(Identifier)-})-})
{-(QualifiedExportFrom)-}
{-(QualifiedExportFrom)-})

View File

@ -73,11 +73,7 @@
(DefaultExport
{ (TextElement)
->(TextElement) })
{ (QualifiedExportFrom
{-(Identifier)-})
->(QualifiedExportFrom
{+(Identifier)+}) }
{ (QualifiedExportFrom
{-(Identifier)-})
->(QualifiedExportFrom
{+(Identifier)+}) })
{ (QualifiedExportFrom)
->(QualifiedExportFrom) }
{ (QualifiedExportFrom)
->(QualifiedExportFrom) })

View File

@ -50,7 +50,5 @@
(QualifiedExport)
(DefaultExport
(TextElement))
(QualifiedExportFrom
(Identifier))
(QualifiedExportFrom
(Identifier)))
(QualifiedExportFrom)
(QualifiedExportFrom))

View File

@ -50,7 +50,5 @@
(QualifiedExport)
(DefaultExport
(TextElement))
(QualifiedExportFrom
(Identifier))
(QualifiedExportFrom
(Identifier)))
(QualifiedExportFrom)
(QualifiedExportFrom))

View File

@ -1,68 +1,31 @@
(Program
{+(Import
{+(Identifier)+}
{+(Empty)+})+}
{+(QualifiedImport
{+(Identifier)+}
{+(Identifier)+})+}
{+(Import
{+(Identifier)+}
{+(Empty)+})+}
{+(Import
{+(Identifier)+}
{+(Empty)+})+}
{+(Import
{+(Identifier)+}
{+(Empty)+})+}
{ (Import)
->(Import) }
{ (QualifiedAliasedImport
{-(Identifier)-})
->(QualifiedAliasedImport
{+(Identifier)+}) }
{+(Import)+}
{ (Import)
->(Import) }
{+(Import)+}
{+(
{+(Import
{+(Identifier)+}
{+(Empty)+})+}
{+(Import
{+(Identifier)+}
{+(Empty)+})+})+}
{+(Import)+}
{+(Import)+})+}
{+(
{+(Import
{+(Identifier)+}
{+(Empty)+})+}
{+(QualifiedImport
{+(Identifier)+}
{+(Import)+}
{+(QualifiedAliasedImport
{+(Identifier)+})+})+}
{+(SideEffectImport
{+(Identifier)+}
{+(Empty)+})+}
{-(Import
{-(Identifier)-}
{-(Empty)-})-}
{-(QualifiedImport
{-(Identifier)-}
{-(Identifier)-})-}
{-(Import
{-(Identifier)-}
{-(Empty)-})-}
{-(Import
{-(Identifier)-}
{-(Empty)-})-}
{-(Import
{-(Identifier)-}
{-(Empty)-})-}
{+(SideEffectImport)+}
{-(Import)-}
{-(Import)-}
{-(
{-(Import
{-(Identifier)-}
{-(Empty)-})-}
{-(Import
{-(Identifier)-}
{-(Empty)-})-})-}
{-(Import)-}
{-(Import)-})-}
{-(
{-(Import
{-(Identifier)-}
{-(Empty)-})-}
{-(QualifiedImport
{-(Identifier)-}
{-(Import)-}
{-(QualifiedAliasedImport
{-(Identifier)-})-})-}
{-(SideEffectImport
{-(Identifier)-}
{-(Empty)-})-}
{-(QualifiedImport
{-(Identifier)-}
{-(SideEffectImport)-}
{-(QualifiedAliasedImport
{-(Identifier)-})-})

View File

@ -1,68 +1,31 @@
(Program
{+(Import
{+(Identifier)+}
{+(Empty)+})+}
{+(QualifiedImport
{+(Identifier)+}
{+(Identifier)+})+}
{ (Import
{-(Identifier)-}
{-(Empty)-})
->(Import
{+(Identifier)+}
{+(Empty)+}) }
{+(Import
{+(Identifier)+}
{+(Empty)+})+}
{+(Import
{+(Identifier)+}
{+(Empty)+})+}
{ (Import)
->(Import) }
{ (QualifiedAliasedImport
{-(Identifier)-})
->(QualifiedAliasedImport
{+(Identifier)+}) }
{+(Import)+}
{+(Import)+}
{ (Import)
->(Import) }
{+(
{+(Import
{+(Identifier)+}
{+(Empty)+})+}
{+(Import
{+(Identifier)+}
{+(Empty)+})+})+}
{+(Import)+}
{+(Import)+})+}
{+(
{+(Import
{+(Identifier)+}
{+(Empty)+})+}
{+(QualifiedImport
{+(Identifier)+}
{+(Import)+}
{+(QualifiedAliasedImport
{+(Identifier)+})+})+}
{+(SideEffectImport
{+(Identifier)+}
{+(Empty)+})+}
{+(QualifiedImport
{+(Identifier)+}
{+(SideEffectImport)+}
{+(QualifiedAliasedImport
{+(Identifier)+})+}
{-(QualifiedImport
{-(Identifier)-}
{-(Identifier)-})-}
{-(Import
{-(Identifier)-}
{-(Empty)-})-}
{-(Import
{-(Identifier)-}
{-(Empty)-})-}
{-(Import
{-(Identifier)-}
{-(Empty)-})-}
{-(Import)-}
{-(Import)-}
{-(
{-(Import
{-(Identifier)-}
{-(Empty)-})-}
{-(Import
{-(Identifier)-}
{-(Empty)-})-})-}
{-(Import)-}
{-(Import)-})-}
{-(
{-(Import
{-(Identifier)-}
{-(Empty)-})-}
{-(QualifiedImport
{-(Identifier)-}
{-(Import)-}
{-(QualifiedAliasedImport
{-(Identifier)-})-})-}
{-(SideEffectImport
{-(Identifier)-}
{-(Empty)-})-})
{-(SideEffectImport)-})

View File

@ -1,36 +1,17 @@
(Program
(Import
(Identifier)
(Empty))
(QualifiedImport
(Identifier)
(Import)
(QualifiedAliasedImport
(Identifier))
(Import
(Identifier)
(Empty))
(Import
(Identifier)
(Empty))
(Import
(Identifier)
(Empty))
(Import)
(Import)
(Import)
(
(Import
(Identifier)
(Empty))
(Import
(Identifier)
(Empty)))
(Import)
(Import))
(
(Import
(Identifier)
(Empty))
(QualifiedImport
(Identifier)
(Import)
(QualifiedAliasedImport
(Identifier)))
(SideEffectImport
(Identifier)
(Empty))
(QualifiedImport
(Identifier)
(SideEffectImport)
(QualifiedAliasedImport
(Identifier)))

View File

@ -1,33 +1,15 @@
(Program
(Import
(Identifier)
(Empty))
(QualifiedImport
(Identifier)
(Import)
(QualifiedAliasedImport
(Identifier))
(Import
(Identifier)
(Empty))
(Import
(Identifier)
(Empty))
(Import
(Identifier)
(Empty))
(Import)
(Import)
(Import)
(
(Import
(Identifier)
(Empty))
(Import
(Identifier)
(Empty)))
(Import)
(Import))
(
(Import
(Identifier)
(Empty))
(QualifiedImport
(Identifier)
(Import)
(QualifiedAliasedImport
(Identifier)))
(SideEffectImport
(Identifier)
(Empty)))
(SideEffectImport))