@@ -23,6 +23,7 @@ private predicate discardLocation(@location_default loc) {
2323 )
2424}
2525
26+ overlay [ local]
2627module QL {
2728 /** The base class for all AST nodes */
2829 class AstNode extends @ql_ast_node {
@@ -67,15 +68,13 @@ module QL {
6768 }
6869
6970 /** Gets the file containing the given `node`. */
70- overlay [ local]
7171 private @file getNodeFile ( @ql_ast_node node ) {
7272 exists ( @location_default loc | ql_ast_node_location ( node , loc ) |
7373 locations_default ( loc , result , _, _, _, _)
7474 )
7575 }
7676
7777 /** Holds if `node` is in the `file` and is part of the overlay base database. */
78- overlay [ local]
7978 private predicate discardableAstNode ( @file file , @ql_ast_node node ) {
8079 not isOverlay ( ) and file = getNodeFile ( node )
8180 }
@@ -1315,6 +1314,7 @@ module QL {
13151314 }
13161315}
13171316
1317+ overlay [ local]
13181318module Dbscheme {
13191319 /** The base class for all AST nodes */
13201320 class AstNode extends @dbscheme_ast_node {
@@ -1359,15 +1359,13 @@ module Dbscheme {
13591359 }
13601360
13611361 /** Gets the file containing the given `node`. */
1362- overlay [ local]
13631362 private @file getNodeFile ( @dbscheme_ast_node node ) {
13641363 exists ( @location_default loc | dbscheme_ast_node_location ( node , loc ) |
13651364 locations_default ( loc , result , _, _, _, _)
13661365 )
13671366 }
13681367
13691368 /** Holds if `node` is in the `file` and is part of the overlay base database. */
1370- overlay [ local]
13711369 private predicate discardableAstNode ( @file file , @dbscheme_ast_node node ) {
13721370 not isOverlay ( ) and file = getNodeFile ( node )
13731371 }
@@ -1673,6 +1671,7 @@ module Dbscheme {
16731671 }
16741672}
16751673
1674+ overlay [ local]
16761675module Blame {
16771676 /** The base class for all AST nodes */
16781677 class AstNode extends @blame_ast_node {
@@ -1717,15 +1716,13 @@ module Blame {
17171716 }
17181717
17191718 /** Gets the file containing the given `node`. */
1720- overlay [ local]
17211719 private @file getNodeFile ( @blame_ast_node node ) {
17221720 exists ( @location_default loc | blame_ast_node_location ( node , loc ) |
17231721 locations_default ( loc , result , _, _, _, _)
17241722 )
17251723 }
17261724
17271725 /** Holds if `node` is in the `file` and is part of the overlay base database. */
1728- overlay [ local]
17291726 private predicate discardableAstNode ( @file file , @blame_ast_node node ) {
17301727 not isOverlay ( ) and file = getNodeFile ( node )
17311728 }
@@ -1808,6 +1805,7 @@ module Blame {
18081805 }
18091806}
18101807
1808+ overlay [ local]
18111809module JSON {
18121810 /** The base class for all AST nodes */
18131811 class AstNode extends @json_ast_node {
@@ -1852,15 +1850,13 @@ module JSON {
18521850 }
18531851
18541852 /** Gets the file containing the given `node`. */
1855- overlay [ local]
18561853 private @file getNodeFile ( @json_ast_node node ) {
18571854 exists ( @location_default loc | json_ast_node_location ( node , loc ) |
18581855 locations_default ( loc , result , _, _, _, _)
18591856 )
18601857 }
18611858
18621859 /** Holds if `node` is in the `file` and is part of the overlay base database. */
1863- overlay [ local]
18641860 private predicate discardableAstNode ( @file file , @json_ast_node node ) {
18651861 not isOverlay ( ) and file = getNodeFile ( node )
18661862 }
0 commit comments