mirror of
https://github.com/github/codeql.git
synced 2026-02-12 05:01:06 +01:00
python/javascript/ruby: mark internal predicates
This commit is contained in:
@@ -60,6 +60,11 @@ module ExternalBarrierGuard {
|
||||
|
||||
/**
|
||||
* Gets a barrier guard node of the given `kind` defined via models-as-data.
|
||||
*
|
||||
* This only provides external barrier nodes defined as guards. To get all externally defined barrer nodes,
|
||||
* use `ModelOutput::barrierNode(node, kind)`.
|
||||
*
|
||||
* INTERNAL: Do not use.
|
||||
*/
|
||||
DataFlow::Node getAnExternalBarrierNode(string kind) {
|
||||
result = MakeStateBarrierGuard<string, BarrierGuard>::getABarrierNode(kind)
|
||||
|
||||
@@ -850,11 +850,15 @@ module ModelOutput {
|
||||
|
||||
/**
|
||||
* Holds if an external model contributed `barrier` with the given `kind`.
|
||||
*
|
||||
* INTERNAL: Do not use.
|
||||
*/
|
||||
API::Node getABarrierNode(string kind) { result = getABarrierNode(kind, _) }
|
||||
|
||||
/**
|
||||
* Holds if an external model contributed `barrier-guard` with the given `kind` and `branch`.
|
||||
*
|
||||
* INTERNAL: Do not use.
|
||||
*/
|
||||
API::Node getABarrierGuardNode(string kind, boolean branch) {
|
||||
result = getABarrierGuardNode(kind, branch, _)
|
||||
|
||||
Reference in New Issue
Block a user