mirror of
https://github.com/github/codeql.git
synced 2026-04-26 01:05:15 +02:00
JS: fix most ql/missing-parameter-qldoc issues
This commit is contained in:
@@ -15,11 +15,11 @@ import javascript
|
||||
abstract class NgSourceProvider extends Locatable {
|
||||
/**
|
||||
* Holds if this element provides the source as `src` for an AngularJS expression at the specified location.
|
||||
* The location spans column `startcolumn` of line `startline` to
|
||||
* column `endcolumn` of line `endline` in file `filepath`.
|
||||
* The location spans column `startColumn` of line `startLine` to
|
||||
* column `endColumn` of line `endLine` in file `filepath`.
|
||||
*/
|
||||
abstract predicate providesSourceAt(
|
||||
string src, string path, int startLine, int startColumn, int endLine, int endColumn
|
||||
string src, string filepath, int startLine, int startColumn, int endLine, int endColumn
|
||||
);
|
||||
|
||||
/**
|
||||
|
||||
@@ -278,11 +278,11 @@ abstract private class CustomSpecialServiceDefinition extends CustomServiceDefin
|
||||
bindingset[moduleMethodName]
|
||||
private predicate isCustomServiceDefinitionOnModule(
|
||||
DataFlow::CallNode mce, string moduleMethodName, string serviceName,
|
||||
DataFlow::Node factoryArgument
|
||||
DataFlow::Node factoryFunction
|
||||
) {
|
||||
mce = moduleRef(_).getAMethodCall(moduleMethodName) and
|
||||
mce.getArgument(0).asExpr().mayHaveStringValue(serviceName) and
|
||||
factoryArgument = mce.getArgument(1)
|
||||
factoryFunction = mce.getArgument(1)
|
||||
}
|
||||
|
||||
pragma[inline]
|
||||
|
||||
Reference in New Issue
Block a user