@@ -23,6 +23,7 @@ private predicate discardLocation(@location_default loc) {
23
23
)
24
24
}
25
25
26
+ overlay [ local]
26
27
module QL {
27
28
/** The base class for all AST nodes */
28
29
class AstNode extends @ql_ast_node {
@@ -67,15 +68,13 @@ module QL {
67
68
}
68
69
69
70
/** Gets the file containing the given `node`. */
70
- overlay [ local]
71
71
private @file getNodeFile ( @ql_ast_node node ) {
72
72
exists ( @location_default loc | ql_ast_node_location ( node , loc ) |
73
73
locations_default ( loc , result , _, _, _, _)
74
74
)
75
75
}
76
76
77
77
/** Holds if `node` is in the `file` and is part of the overlay base database. */
78
- overlay [ local]
79
78
private predicate discardableAstNode ( @file file , @ql_ast_node node ) {
80
79
not isOverlay ( ) and file = getNodeFile ( node )
81
80
}
@@ -1315,6 +1314,7 @@ module QL {
1315
1314
}
1316
1315
}
1317
1316
1317
+ overlay [ local]
1318
1318
module Dbscheme {
1319
1319
/** The base class for all AST nodes */
1320
1320
class AstNode extends @dbscheme_ast_node {
@@ -1359,15 +1359,13 @@ module Dbscheme {
1359
1359
}
1360
1360
1361
1361
/** Gets the file containing the given `node`. */
1362
- overlay [ local]
1363
1362
private @file getNodeFile ( @dbscheme_ast_node node ) {
1364
1363
exists ( @location_default loc | dbscheme_ast_node_location ( node , loc ) |
1365
1364
locations_default ( loc , result , _, _, _, _)
1366
1365
)
1367
1366
}
1368
1367
1369
1368
/** Holds if `node` is in the `file` and is part of the overlay base database. */
1370
- overlay [ local]
1371
1369
private predicate discardableAstNode ( @file file , @dbscheme_ast_node node ) {
1372
1370
not isOverlay ( ) and file = getNodeFile ( node )
1373
1371
}
@@ -1673,6 +1671,7 @@ module Dbscheme {
1673
1671
}
1674
1672
}
1675
1673
1674
+ overlay [ local]
1676
1675
module Blame {
1677
1676
/** The base class for all AST nodes */
1678
1677
class AstNode extends @blame_ast_node {
@@ -1717,15 +1716,13 @@ module Blame {
1717
1716
}
1718
1717
1719
1718
/** Gets the file containing the given `node`. */
1720
- overlay [ local]
1721
1719
private @file getNodeFile ( @blame_ast_node node ) {
1722
1720
exists ( @location_default loc | blame_ast_node_location ( node , loc ) |
1723
1721
locations_default ( loc , result , _, _, _, _)
1724
1722
)
1725
1723
}
1726
1724
1727
1725
/** Holds if `node` is in the `file` and is part of the overlay base database. */
1728
- overlay [ local]
1729
1726
private predicate discardableAstNode ( @file file , @blame_ast_node node ) {
1730
1727
not isOverlay ( ) and file = getNodeFile ( node )
1731
1728
}
@@ -1808,6 +1805,7 @@ module Blame {
1808
1805
}
1809
1806
}
1810
1807
1808
+ overlay [ local]
1811
1809
module JSON {
1812
1810
/** The base class for all AST nodes */
1813
1811
class AstNode extends @json_ast_node {
@@ -1852,15 +1850,13 @@ module JSON {
1852
1850
}
1853
1851
1854
1852
/** Gets the file containing the given `node`. */
1855
- overlay [ local]
1856
1853
private @file getNodeFile ( @json_ast_node node ) {
1857
1854
exists ( @location_default loc | json_ast_node_location ( node , loc ) |
1858
1855
locations_default ( loc , result , _, _, _, _)
1859
1856
)
1860
1857
}
1861
1858
1862
1859
/** Holds if `node` is in the `file` and is part of the overlay base database. */
1863
- overlay [ local]
1864
1860
private predicate discardableAstNode ( @file file , @json_ast_node node ) {
1865
1861
not isOverlay ( ) and file = getNodeFile ( node )
1866
1862
}
0 commit comments