File: nameWithRelativePaths.symbols

package info (click to toggle)
node-typescript 3.3.3333-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 324,548 kB
  • sloc: makefile: 6; sh: 3
file content (46 lines) | stat: -rw-r--r-- 1,404 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
=== tests/cases/conformance/externalModules/test/foo_3.ts ===
import foo0 = require('../foo_0');
>foo0 : Symbol(foo0, Decl(foo_3.ts, 0, 0))

import foo1 = require('./test/foo_1');
>foo1 : Symbol(foo1, Decl(foo_3.ts, 0, 34))

import foo2 = require('./.././test/foo_2');
>foo2 : Symbol(foo2, Decl(foo_3.ts, 1, 38))

if(foo2.M2.x){
>foo2.M2.x : Symbol(foo2.M2.x, Decl(foo_2.ts, 1, 11))
>foo2.M2 : Symbol(foo2.M2, Decl(foo_2.ts, 0, 0))
>foo2 : Symbol(foo2, Decl(foo_3.ts, 1, 38))
>M2 : Symbol(foo2.M2, Decl(foo_2.ts, 0, 0))
>x : Symbol(foo2.M2.x, Decl(foo_2.ts, 1, 11))

	var x = foo0.foo + foo1.f();
>x : Symbol(x, Decl(foo_3.ts, 5, 4))
>foo0.foo : Symbol(foo0.foo, Decl(foo_0.ts, 0, 10))
>foo0 : Symbol(foo0, Decl(foo_3.ts, 0, 0))
>foo : Symbol(foo0.foo, Decl(foo_0.ts, 0, 10))
>foo1.f : Symbol(foo1.f, Decl(foo_1.ts, 0, 0))
>foo1 : Symbol(foo1, Decl(foo_3.ts, 0, 34))
>f : Symbol(foo1.f, Decl(foo_1.ts, 0, 0))
}

=== tests/cases/conformance/externalModules/foo_0.ts ===
export var foo = 42;
>foo : Symbol(foo, Decl(foo_0.ts, 0, 10))

=== tests/cases/conformance/externalModules/test/test/foo_1.ts ===
export function f(){
>f : Symbol(f, Decl(foo_1.ts, 0, 0))

	return 42;
}

=== tests/cases/conformance/externalModules/test/foo_2.ts ===
export module M2 {
>M2 : Symbol(M2, Decl(foo_2.ts, 0, 0))

	export var x = true;
>x : Symbol(x, Decl(foo_2.ts, 1, 11))
}