File: commentsLinePreservation.ts

package info (click to toggle)
node-typescript 4.1.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 396,552 kB
  • sloc: javascript: 1,444,377; makefile: 7; sh: 3
file content (151 lines) | stat: -rw-r--r-- 5,108 bytes parent folder | download | duplicates (2)
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
/// <reference path='fourslash.ts' />

/////** This is firstLine
////  * This is second Line
////  * 
////  * This is fourth Line
////  */
////var /*a*/a: string;
/////** 
////  * This is firstLine
////  * This is second Line
////  * 
////  * This is fourth Line
////  */
////var /*b*/b: string;
/////** 
////  * This is firstLine
////  * This is second Line
////  * 
////  * This is fourth Line
////  *
////  */
////var /*c*/c: string;
/////** 
////  * This is firstLine
////  * This is second Line
////  * @param param
////  * @random tag This should be third line
////  */
////function /*d*/d(param: string) { /*1*/param = "hello"; }
/////** 
////  * This is firstLine
////  * This is second Line
////  * @param param
////  */
////function /*e*/e(param: string) { /*2*/param = "hello"; }
/////** 
////  * This is firstLine
////  * This is second Line
////  * @param param1 first line of param
////  *
////  *  param information third line
////  * @random tag This should be third line
////  */
////function /*f*/f(param1: string) { /*3*/param1 = "hello"; }
/////** 
////  * This is firstLine
////  * This is second Line
////  * @param param1
////  *
////  *  param information first line
////  * @random tag This should be third line
////  */
////function /*g*/g(param1: string) { /*4*/param1 = "hello"; }
/////** 
////  * This is firstLine
////  * This is second Line
////  * @param param1
////  *
////  *  param information first line
////  *
////  *  param information third line
////  * @random tag This should be third line
////  */
////function /*h*/h(param1: string) { /*5*/param1 = "hello"; }
/////** 
////  * This is firstLine
////  * This is second Line
////  * @param param1
////  *
////  *  param information first line
////  *
////  *  param information third line
////  *
////  */
////function /*i*/i(param1: string) { /*6*/param1 = "hello"; }
/////** 
////  * This is firstLine
////  * This is second Line
////  * @param param1
////  *
////  *  param information first line
////  *
////  *  param information third line
////  */
////function /*j*/j(param1: string) { /*7*/param1 = "hello"; }
/////** 
////  * This is firstLine
////  * This is second Line
////  * @param param1 hello   @randomtag 
////  *
////  *  random information first line
////  *
////  *  random information third line
////  */
////function /*k*/k(param1: string) { /*8*/param1 = "hello"; }
/////** 
////  * This is firstLine
////  * This is second Line
////  * @param param1 first Line text
////  *
////  * @param param1 
////  *
////  * blank line that shouldnt be shown when starting this 
////  * second time information about the param again
////  */
////function /*l*/l(param1: string) { /*9*/param1 = "hello"; }
////     /** 
////       * This is firstLine
//// This is second Line
//// [1]: third * line
//// @param param1 first Line text
//// second line text
//// */
////function /*m*/m(param1: string) { /*10*/param1 = "hello"; }

verify.quickInfos({
    a: ["var a: string", "This is firstLine\nThis is second Line\n\nThis is fourth Line"],
    b: ["var b: string", "This is firstLine\nThis is second Line\n\nThis is fourth Line"],
    c: ["var c: string", "This is firstLine\nThis is second Line\n\nThis is fourth Line"],
 
    d: ["function d(param: string): void", "This is firstLine\nThis is second Line"],
    1: "(parameter) param: string",

    e: ["function e(param: string): void", "This is firstLine\nThis is second Line"],
    2: "(parameter) param: string",

    f: ["function f(param1: string): void", "This is firstLine\nThis is second Line"],
    3: ["(parameter) param1: string", "first line of param\n\nparam information third line"],

    g: ["function g(param1: string): void", "This is firstLine\nThis is second Line"],
    4: ["(parameter) param1: string", "param information first line"],

    h: ["function h(param1: string): void", "This is firstLine\nThis is second Line"],
    5: ["(parameter) param1: string", "param information first line\n\nparam information third line"],

    i: ["function i(param1: string): void", "This is firstLine\nThis is second Line"],
    6: ["(parameter) param1: string", "param information first line\n\nparam information third line"],

    j: ["function j(param1: string): void", "This is firstLine\nThis is second Line"],
    7: ["(parameter) param1: string", "param information first line\n\nparam information third line"],

    k: ["function k(param1: string): void", "This is firstLine\nThis is second Line"],
    8: ["(parameter) param1: string", "hello"],

    l: ["function l(param1: string): void", "This is firstLine\nThis is second Line"],
    9: ["(parameter) param1: string", "first Line text\nblank line that shouldnt be shown when starting this \nsecond time information about the param again"],

    m: ["function m(param1: string): void", "This is firstLine\nThis is second Line\n[1]: third * line"],
    10: ["(parameter) param1: string", "first Line text\nsecond line text"]
});