mirror of
https://github.com/github/semantic.git
synced 2024-12-01 00:33:59 +03:00
Add module declarations
This commit is contained in:
parent
48f4310428
commit
d5e90bdfeb
2
test/fixtures/typescript/module-declarations.A.ts
vendored
Normal file
2
test/fixtures/typescript/module-declarations.A.ts
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
module Promise {
|
||||
}
|
2
test/fixtures/typescript/module-declarations.B.ts
vendored
Normal file
2
test/fixtures/typescript/module-declarations.B.ts
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
namespace Promise {
|
||||
}
|
3
test/fixtures/typescript/module-declarations.diff+A.txt
vendored
Normal file
3
test/fixtures/typescript/module-declarations.diff+A.txt
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
{+(Program
|
||||
(Other "module"
|
||||
(Identifier)))+}
|
5
test/fixtures/typescript/module-declarations.diff+B.txt
vendored
Normal file
5
test/fixtures/typescript/module-declarations.diff+B.txt
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
{+(Program
|
||||
(ParseError
|
||||
(Identifier)
|
||||
(Identifier))
|
||||
(ExpressionStatements))+}
|
3
test/fixtures/typescript/module-declarations.diff-A.txt
vendored
Normal file
3
test/fixtures/typescript/module-declarations.diff-A.txt
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
{-(Program
|
||||
(Other "module"
|
||||
(Identifier)))-}
|
5
test/fixtures/typescript/module-declarations.diff-B.txt
vendored
Normal file
5
test/fixtures/typescript/module-declarations.diff-B.txt
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
{-(Program
|
||||
(ParseError
|
||||
(Identifier)
|
||||
(Identifier))
|
||||
(ExpressionStatements))-}
|
7
test/fixtures/typescript/module-declarations.diffA-B.txt
vendored
Normal file
7
test/fixtures/typescript/module-declarations.diffA-B.txt
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
(Program
|
||||
{+(ParseError
|
||||
(Identifier)
|
||||
(Identifier))+}
|
||||
{+(ExpressionStatements)+}
|
||||
{-(Other "module"
|
||||
(Identifier))-})
|
7
test/fixtures/typescript/module-declarations.diffB-A.txt
vendored
Normal file
7
test/fixtures/typescript/module-declarations.diffB-A.txt
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
(Program
|
||||
{+(Other "module"
|
||||
(Identifier))+}
|
||||
{-(ParseError
|
||||
(Identifier)
|
||||
(Identifier))-}
|
||||
{-(ExpressionStatements)-})
|
3
test/fixtures/typescript/module-declarations.parseA.txt
vendored
Normal file
3
test/fixtures/typescript/module-declarations.parseA.txt
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
(Program
|
||||
(Other "module"
|
||||
(Identifier)))
|
5
test/fixtures/typescript/module-declarations.parseB.txt
vendored
Normal file
5
test/fixtures/typescript/module-declarations.parseB.txt
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
(Program
|
||||
(ParseError
|
||||
(Identifier)
|
||||
(Identifier))
|
||||
(ExpressionStatements))
|
Loading…
Reference in New Issue
Block a user