Skip to content

Commit d3696ee

Browse files
committed
C++: sync xml/csv/sourceLocationPrefix/numlines dbscheme
1 parent 371f36e commit d3696ee

File tree

1 file changed

+57
-57
lines changed

1 file changed

+57
-57
lines changed

cpp/ql/lib/semmlecode.cpp.dbscheme

Lines changed: 57 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -131,14 +131,17 @@ compilation_finished(
131131
* for more information.
132132
*/
133133
externalData(
134-
int id : @externalDataElement,
135-
string path : string ref,
136-
int column: int ref,
137-
string value : string ref
134+
int id : @externalDataElement,
135+
string path : string ref,
136+
int column: int ref,
137+
string value : string ref
138138
);
139139

140140
/*- Source location prefix -*/
141141

142+
/**
143+
* The source location of the snapshot.
144+
*/
142145
sourceLocationPrefix(string prefix : string ref);
143146

144147
/*- DEPRECATED: Version control data -*/
@@ -207,21 +210,21 @@ containerparent(
207210
/*- Lines of code -*/
208211

209212
numlines(
210-
int element_id: @sourceline ref,
211-
int num_lines: int ref,
212-
int num_code: int ref,
213-
int num_comment: int ref
213+
int element_id: @sourceline ref,
214+
int num_lines: int ref,
215+
int num_code: int ref,
216+
int num_comment: int ref
214217
);
215218

216219
/*- Diagnostic messages -*/
217220

218221
diagnostics(
219-
unique int id: @diagnostic,
220-
int severity: int ref,
221-
string error_tag: string ref,
222-
string error_message: string ref,
223-
string full_error_message: string ref,
224-
int location: @location_default ref
222+
unique int id: @diagnostic,
223+
int severity: int ref,
224+
string error_tag: string ref,
225+
string error_message: string ref,
226+
string full_error_message: string ref,
227+
int location: @location_default ref
225228
);
226229

227230
/*- C++ dbscheme -*/
@@ -2141,74 +2144,71 @@ link_parent(
21412144

21422145
/*- XML Files -*/
21432146

2144-
xmlEncoding(unique int id: @file ref, string encoding: string ref);
2147+
xmlEncoding(
2148+
unique int id: @file ref,
2149+
string encoding: string ref
2150+
);
21452151

21462152
xmlDTDs(
2147-
unique int id: @xmldtd,
2148-
string root: string ref,
2149-
string publicId: string ref,
2150-
string systemId: string ref,
2151-
int fileid: @file ref
2153+
unique int id: @xmldtd,
2154+
string root: string ref,
2155+
string publicId: string ref,
2156+
string systemId: string ref,
2157+
int fileid: @file ref
21522158
);
21532159

21542160
xmlElements(
2155-
unique int id: @xmlelement,
2156-
string name: string ref,
2157-
int parentid: @xmlparent ref,
2158-
int idx: int ref,
2159-
int fileid: @file ref
2161+
unique int id: @xmlelement,
2162+
string name: string ref,
2163+
int parentid: @xmlparent ref,
2164+
int idx: int ref,
2165+
int fileid: @file ref
21602166
);
21612167

21622168
xmlAttrs(
2163-
unique int id: @xmlattribute,
2164-
int elementid: @xmlelement ref,
2165-
string name: string ref,
2166-
string value: string ref,
2167-
int idx: int ref,
2168-
int fileid: @file ref
2169+
unique int id: @xmlattribute,
2170+
int elementid: @xmlelement ref,
2171+
string name: string ref,
2172+
string value: string ref,
2173+
int idx: int ref,
2174+
int fileid: @file ref
21692175
);
21702176

21712177
xmlNs(
2172-
int id: @xmlnamespace,
2173-
string prefixName: string ref,
2174-
string URI: string ref,
2175-
int fileid: @file ref
2178+
int id: @xmlnamespace,
2179+
string prefixName: string ref,
2180+
string URI: string ref,
2181+
int fileid: @file ref
21762182
);
21772183

21782184
xmlHasNs(
2179-
int elementId: @xmlnamespaceable ref,
2180-
int nsId: @xmlnamespace ref,
2181-
int fileid: @file ref
2185+
int elementId: @xmlnamespaceable ref,
2186+
int nsId: @xmlnamespace ref,
2187+
int fileid: @file ref
21822188
);
21832189

21842190
xmlComments(
2185-
unique int id: @xmlcomment,
2186-
string text: string ref,
2187-
int parentid: @xmlparent ref,
2188-
int fileid: @file ref
2191+
unique int id: @xmlcomment,
2192+
string text: string ref,
2193+
int parentid: @xmlparent ref,
2194+
int fileid: @file ref
21892195
);
21902196

21912197
xmlChars(
2192-
unique int id: @xmlcharacters,
2193-
string text: string ref,
2194-
int parentid: @xmlparent ref,
2195-
int idx: int ref,
2196-
int isCDATA: int ref,
2197-
int fileid: @file ref
2198+
unique int id: @xmlcharacters,
2199+
string text: string ref,
2200+
int parentid: @xmlparent ref,
2201+
int idx: int ref,
2202+
int isCDATA: int ref,
2203+
int fileid: @file ref
21982204
);
21992205

22002206
@xmlparent = @file | @xmlelement;
22012207
@xmlnamespaceable = @xmlelement | @xmlattribute;
22022208

22032209
xmllocations(
2204-
int xmlElement: @xmllocatable ref,
2205-
int location: @location_default ref
2210+
int xmlElement: @xmllocatable ref,
2211+
int location: @location_default ref
22062212
);
22072213

2208-
@xmllocatable = @xmlcharacters
2209-
| @xmlelement
2210-
| @xmlcomment
2211-
| @xmlattribute
2212-
| @xmldtd
2213-
| @file
2214-
| @xmlnamespace;
2214+
@xmllocatable = @xmlcharacters | @xmlelement | @xmlcomment | @xmlattribute | @xmldtd | @file | @xmlnamespace;

0 commit comments

Comments
 (0)