problemMatcher.ts ×9

Frontier kind: Code frontier

unlabeled · c_865807c4fcf4

22 tests · 12383 LOC · 50 files · introduces 0 tests · 15 LOC · 2 files

Introduces — evidence that enters the hierarchy at this concept

Code
10 ranges15 lines · 2 files
Tests
0 tests

Contains — complete concept membership

All code (extent)
1201 ranges12383 lines · 50 files · Browse complete extent
All tests (intent)
22 testsBrowse complete intent

Neighbourhood graph

The orange circle is the focus. Violet and green circles are every ancestor and descendant, broader and narrower, at any distance; blue squares and pink diamonds are the introduced files and exact introduced tests of every visible concept, not only the focus's. Arrows point from broader to narrower concepts and bridge only concepts omitted from this view. Undirected links show source or test introduction. Concept and file size follows LOC; exact test nodes use test-count units.

Introduced files, introduced tests, and structurally relevant concept specialization

In the embedded map, ordinary wheel input scrolls the page; use the visible controls to zoom and drag to pan. Open the full-screen map for canvas navigation: wheel pans, Ctrl/Command plus wheel zooms, and arrow keys pan when this region is focused. On touch screens, open the full-screen map to pan or pinch. If JavaScript or WebGL is unavailable, use the native relationship evidence on this page.

Graph controls are ready.

Interactive rendering requires JavaScript and WebGL. Use the native relationship evidence on this page while the interactive map is unavailable.

Native relationship evidence

Every exact file and test below is linked only from the concept that introduces it.

Introduced tests

Every collected test enters the hierarchy at exactly one concept.

No tests are introduced at this concept. Its intent tests are introduced by other concepts.

Introduced code

Every collected source range enters the hierarchy at exactly one concept.

2 files ranked by introduced lines: 15 introduced LOC across 10 ranges. Expand a file to inspect source; the > gutter marks introduced lines.

src/vs/workbench/contrib/tasks/common/problemMatcher.ts 13 introduced LOC · 9 ranges

Open complete file

728 export namespace MultiLineProblemPattern {
729 export function is(value: unknown): value is MultiLineProblemPattern {
730 > return Array.isArray(value); problemMatcher.ts
731 > }
732 }
733
736 export namespace MultiLineCheckedProblemPattern {
737 export function is(value: unknown): value is MultiLineCheckedProblemPattern {
738 > if (!MultiLineProblemPattern.is(value)) { problemMatcher.ts
739 return false;
740 }
767 export namespace NamedMultiLineCheckedProblemPattern {
768 export function is(value: unknown): value is INamedMultiLineCheckedProblemPattern {
769 > const candidate = value as INamedMultiLineCheckedProblemPattern; problemMatcher.ts
770 > return candidate && Types.isString(candidate.name) && Array.isArray(candidate.patterns) && MultiLineCheckedProblemPattern.is(candidate.patterns);
771 > }
772 }
773
942
943 constructor(logger: IProblemReporter) {
944 > super(logger); problemMatcher.ts
945 > }
946
947 public parse(value: Config.IProblemPattern): IProblemPattern;
950 public parse(value: Config.INamedMultiLineCheckedProblemPattern): INamedMultiLineProblemPattern;
951 public parse(value: Config.IProblemPattern | Config.MultiLineProblemPattern | Config.INamedProblemPattern | Config.INamedMultiLineCheckedProblemPattern): IProblemPattern | MultiLineProblemPattern | INamedProblemPattern | INamedMultiLineProblemPattern | null {
952 > if (Config.NamedMultiLineCheckedProblemPattern.is(value)) { problemMatcher.ts
953 return this.createNamedMultiLineProblemPattern(value);
954 > } else if (Config.MultiLineCheckedProblemPattern.is(value)) { problemMatcher.ts
955 return this.createMultiLineProblemPattern(value);
956 > } else if (Config.NamedCheckedProblemPattern.is(value)) { problemMatcher.ts
957 const result = this.createSingleProblemPattern(value) as INamedProblemPattern;
958 result.name = value.name;
964 return null;
965 }
967
968 private createSingleProblemPattern(value: Config.ICheckedProblemPattern): IProblemPattern | null {
src/vs/base/common/parsers.ts 2 introduced LOC · 1 range

Open complete file

51
52 constructor(problemReporter: IProblemReporter) {
53 > this._problemReporter = problemReporter; parsers.ts
54 > }
55
56 public reset(): void {