mirror of
https://github.com/github/codeql.git
synced 2025-12-21 11:16:30 +01:00
JavaScript: Add configuration-file snippet to dbscheme.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user