JavaScript: Add configuration-file snippet to dbscheme.

This commit is contained in:
Max Schaefer
2019-07-25 14:55:55 +01:00
parent 2e760bf5b5
commit fcf35dc3c2
5 changed files with 2663 additions and 2 deletions

View File

@@ -934,7 +934,8 @@ case @json_value.kind of
| @cfg_node
| @jsdoc | @jsdoc_type_expr | @jsdoc_tag
| @yaml_locatable
| @xmllocatable;
| @xmllocatable
| @configLocatable;
hasLocation (unique int locatable: @locatable ref,
int location: @location ref);
@@ -1109,4 +1110,29 @@ xmllocations(
isOptionalChaining(int id: @optionalchainable ref);
/* Last updated 2018/10/23. */
/*
* configuration files with key value pairs
*/
configs(
unique int id: @config
);
configNames(
unique int id: @configName,
int config: @config ref,
string name: string ref
);
configValues(
unique int id: @configValue,
int config: @config ref,
string value: string ref
);
configLocations(
int locatable: @configLocatable ref,
int location: @location_default ref
);
@configLocatable = @config | @configName | @configValue;