configurationModels.ts ×3

Frontier kind: Code frontier

unlabeled · c_0efdef6677e8

9 tests · 12228 LOC · 50 files · introduces 0 tests · 23 LOC · 1 file

Introduces — evidence that enters the hierarchy at this concept

Code
3 ranges23 lines · 1 files
Tests
0 tests

Contains — complete concept membership

All code (extent)
1794 ranges12228 lines · 50 files · Browse complete extent
All tests (intent)
9 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.

1 file ranked by introduced lines: 23 introduced LOC across 3 ranges. Expand a file to inspect source; the > gutter marks introduced lines.

src/vs/platform/configuration/common/configurationModels.ts 23 introduced LOC · 3 ranges

Open complete file

1123
1124 static parse(data: IConfigurationData, logService: ILogService): Configuration {
1125 > const defaultConfiguration = this.parseConfigurationModel(data.defaults, logService); configurationModels.ts
1126 > const policyConfiguration = this.parseConfigurationModel(data.policy, logService);
1127 > const applicationConfiguration = this.parseConfigurationModel(data.application, logService);
1128 > const userLocalConfiguration = this.parseConfigurationModel(data.userLocal, logService);
1129 > const userRemoteConfiguration = this.parseConfigurationModel(data.userRemote, logService);
1130 > const workspaceConfiguration = this.parseConfigurationModel(data.workspace, logService);
1131 > const folders: ResourceMap<ConfigurationModel> = data.folders.reduce((result, value) => {
1132 result.set(URI.revive(value[0]), this.parseConfigurationModel(value[1], logService));
1133 return result;
1134 > }, new ResourceMap<ConfigurationModel>()); configurationModels.ts
1135 > return new Configuration(
1136 > defaultConfiguration,
1137 > policyConfiguration,
1138 > applicationConfiguration,
1139 > userLocalConfiguration,
1140 > userRemoteConfiguration,
1141 > workspaceConfiguration,
1142 > folders,
1143 > ConfigurationModel.createEmptyModel(logService),
1144 > new ResourceMap<ConfigurationModel>(),
1145 > logService
1146 > );
1147 > }
1148
1149 private static parseConfigurationModel(model: IConfigurationModel, logService: ILogService): ConfigurationModel {
1150 > return new ConfigurationModel(model.contents, model.keys, model.overrides, model.raw, logService); configurationModels.ts
1151 > }
1152
1153 }