File tree Expand file tree Collapse file tree
javascript/ql/lib/semmle/javascript Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,11 +28,11 @@ module API {
2828 * The most basic use of API graphs is typically as follows:
2929 * 1. Start with `API::moduleImport` for the relevant library.
3030 * 2. Follow up with a chain of accessors such as `getMember` describing how to get to the relevant API function.
31- * 3. Map the resulting API graph nodes to data-flow nodes, using `getAnImmediateUse ` or `getARhs `.
31+ * 3. Map the resulting API graph nodes to data-flow nodes, using `getASource ` or `getASink `.
3232 *
3333 * For example, a simplified way to get arguments to `underscore.extend` would be
3434 * ```codeql
35- * API::moduleImport("underscore").getMember("extend").getParameter(0).getARhs ()
35+ * API::moduleImport("underscore").getMember("extend").getParameter(0).getASink ()
3636 * ```
3737 *
3838 * The most commonly used accessors are `getMember`, `getParameter`, and `getReturn`.
You can’t perform that action at this time.
0 commit comments