mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
ruby/python: make SummaryTypeTracker private
This commit is contained in:
@@ -179,7 +179,7 @@ private predicate argumentPositionMatch(
|
||||
)
|
||||
}
|
||||
|
||||
module SummaryTypeTrackerInput implements SummaryTypeTracker::Input {
|
||||
private module SummaryTypeTrackerInput implements SummaryTypeTracker::Input {
|
||||
// Dataflow nodes
|
||||
class Node = DataFlowPublic::Node;
|
||||
|
||||
@@ -258,4 +258,4 @@ module SummaryTypeTrackerInput implements SummaryTypeTracker::Input {
|
||||
Node callTo(SummarizedCallable callable) { result = callable.getACallSimple() }
|
||||
}
|
||||
|
||||
module TypeTrackerSummaryFlow = SummaryTypeTracker::SummaryFlow<SummaryTypeTrackerInput>;
|
||||
private module TypeTrackerSummaryFlow = SummaryTypeTracker::SummaryFlow<SummaryTypeTrackerInput>;
|
||||
|
||||
@@ -350,7 +350,7 @@ predicate isNonLocal(SummaryComponent component) {
|
||||
private import SummaryTypeTracker as SummaryTypeTracker
|
||||
private import codeql.ruby.dataflow.FlowSummary as FlowSummary
|
||||
|
||||
module SummaryTypeTrackerInput implements SummaryTypeTracker::Input {
|
||||
private module SummaryTypeTrackerInput implements SummaryTypeTracker::Input {
|
||||
// Dataflow nodes
|
||||
class Node = DataFlow::Node;
|
||||
|
||||
@@ -448,4 +448,4 @@ module SummaryTypeTrackerInput implements SummaryTypeTracker::Input {
|
||||
Node callTo(SummarizedCallable callable) { result.asExpr().getExpr() = callable.getACallSimple() }
|
||||
}
|
||||
|
||||
module TypeTrackerSummaryFlow = SummaryTypeTracker::SummaryFlow<SummaryTypeTrackerInput>;
|
||||
private module TypeTrackerSummaryFlow = SummaryTypeTracker::SummaryFlow<SummaryTypeTrackerInput>;
|
||||
|
||||
Reference in New Issue
Block a user