File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
javascript/ql/src/semmle/javascript Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -302,7 +302,7 @@ module API {
302302 /** Gets a data-flow node that defines this entry point. */
303303 abstract DataFlow:: Node getARhs ( ) ;
304304
305- /** Gets a API-node for this entry point. */
305+ /** Gets an API-graph node for this entry point. */
306306 API:: Node getNode ( ) { result = root ( ) .getASuccessor ( this ) }
307307 }
308308
Original file line number Diff line number Diff line change @@ -33,13 +33,13 @@ private module MongoDB {
3333 not result .getAnImmediateUse ( ) .( DataFlow:: ParameterNode ) .getName ( ) = "db" // mongodb v2 provides a `Db` here
3434 }
3535
36- /** Gets an api node that refers to a `connect` callback. */
36+ /** Gets an API-graph node that refers to a `connect` callback. */
3737 private API:: Node getAMongoDbCallback ( ) {
3838 result = getAMongoClient ( ) .getMember ( "connect" ) .getLastParameter ( )
3939 }
4040
4141 /**
42- * Gets an API node that may refer to a MongoDB database connection.
42+ * Gets an API-graph node that may refer to a MongoDB database connection.
4343 */
4444 private API:: Node getAMongoDb ( ) {
4545 result = getAMongoClient ( ) .getMember ( "db" ) .getReturn ( )
@@ -183,7 +183,7 @@ private module Mongoose {
183183 */
184184 private class MongooseFunction extends API:: Node {
185185 /**
186- * Gets the API node for the result from this function (if the function returns a Query).
186+ * Gets the API-graph node for the result from this function (if the function returns a ` Query` ).
187187 */
188188 abstract API:: Node getQueryReturn ( ) ;
189189
@@ -237,7 +237,7 @@ private module Mongoose {
237237 }
238238
239239 /**
240- * Gets a API node referring to a Mongoose Model object.
240+ * Gets a API-graph node referring to a Mongoose Model object.
241241 */
242242 private API:: Node getModelObject ( ) {
243243 result = getAMongooseInstance ( ) .getMember ( "model" ) .getReturn ( )
You can’t perform that action at this time.
0 commit comments