Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion python/extractor/semmle/dbscheme.template
Original file line number Diff line number Diff line change
Expand Up @@ -272,13 +272,17 @@ yaml_scalars (unique int scalar: @yaml_scalar_node ref,
int style: int ref,
string value: string ref);

yaml_comments (unique int id: @yaml_comment,
string text: string ref,
string tostring: string ref);

yaml_errors (unique int id: @yaml_error,
string message: string ref);

yaml_locations(unique int locatable: @yaml_locatable ref,
int location: @location_default ref);

@yaml_locatable = @yaml_node | @yaml_error;
@yaml_locatable = @yaml_node | @yaml_error | @yaml_comment;

/*- Python dbscheme -*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,17 @@ yaml_scalars (unique int scalar: @yaml_scalar_node ref,
int style: int ref,
string value: string ref);

yaml_comments (unique int id: @yaml_comment,
string text: string ref,
string tostring: string ref);

yaml_errors (unique int id: @yaml_error,
string message: string ref);

yaml_locations(unique int locatable: @yaml_locatable ref,
int location: @location_default ref);

@yaml_locatable = @yaml_node | @yaml_error;
@yaml_locatable = @yaml_node | @yaml_error | @yaml_comment;

/*- Database metadata -*/

Expand Down
Loading