• Home
  • Raw
  • Download

Lines Matching full:source

21   Source,
33 * // source ts code:
78 let source: Source; variable
82 source = new Source('example.js', 'console.log("Hello, World!");');
96 const sourceMapLink = new SourceMapLink(mappings, [source]);
132 it('segment.length === 1 && source == true', function () {
133 let source: Source = new Source('filename1', 'content1'); variable
139 const sourceMapLink = new SourceMapLink(mappings, [source]);
144 it('segment.length !== 1 && source == true', function () {
145 let source: Source = new Source('filename2', 'content2'); variable
153 const sourceMapLink = new SourceMapLink(mappings, [source]);
158 it('segment.length === 1 && source == false', function () {
159 const source = new Source('example.js', 'console.log("Hello, World!");'); constant
170 const sourceMapLink = new SourceMapLink(mappings, [source]);
175 it('segment.length !== 1 && source == false', function () {
176 const source = new Source('example.js', 'console.log("Hello, World!");'); constant
187 const sourceMapLink = new SourceMapLink(mappings, [source]);
194 let source: Source = new Source('', null); variable
200 const sourceMapLink = new SourceMapLink(mappings, [source]);
207 source: new Source('filename', 'content1')
221 source: new Source('filename', 'content2')
236 source: new Source('filename', 'content3')
244 }, Error, `Multiple conflicting contents for sourcemap source: filename`);
249 let source: Source = new Source('filename', '// traceSegment'); variable
258 const sourceMapLink = new SourceMapLink(mappings, [source]);
270 it('segments is true && source is false', function () {
275 it('segments is true && source is true', function () {
280 assert.strictEqual(sourceMapSegmentObj?.source.isOriginal, true);
281 assert.strictEqual(sourceMapSegmentObj?.source.filename, 'filename');
282 assert.strictEqual(sourceMapSegmentObj?.source.content, '// traceSegment');