|
1 | 1 | /** |
2 | 2 | * Provides an implementation of _API graphs_, which allow efficient modelling of how a given |
3 | | - * value is used the code base or how values produced by the code base are consumed by a library. |
| 3 | + * value is used by the code base or how values produced by the code base are consumed by a library. |
4 | 4 | * |
5 | 5 | * See `API::Node` for more details. |
6 | 6 | */ |
@@ -53,7 +53,7 @@ module API { |
53 | 53 | * |
54 | 54 | * The members predicates on this class generally take inheritance and data flow into account. |
55 | 55 | * |
56 | | - * The following example demonstrate a case where data flow was used to find the sink `x`: |
| 56 | + * The following example demonstrates a case where data flow was used to find the sink `x`: |
57 | 57 | * ```ruby |
58 | 58 | * def doSomething f |
59 | 59 | * f.bar(x) # API::getTopLevelMember("Foo").getInstance().getMethod("bar").getArgument(0).asSink() |
@@ -280,7 +280,6 @@ module API { |
280 | 280 | /** |
281 | 281 | * Gets an access to the constant `m` with this value as the base of the access. |
282 | 282 | * |
283 | | - * For example, the constant `A::B` would be found by `API::getATopLevelMember("A").getMember("B")` |
284 | 283 | * For example: |
285 | 284 | * ```ruby |
286 | 285 | * A::B # API::getATopLevelMember("A").getMember("B") |
@@ -761,7 +760,7 @@ module API { |
761 | 760 | /** |
762 | 761 | * A node corresponding to an argument, right-hand side of a store, or return value from a callable. |
763 | 762 | * |
764 | | - * Such a node may serve as the starting-point of backtracking, and has epsilon edges going |
| 763 | + * Such a node may serve as the starting-point of backtracking, and has epsilon edges going to |
765 | 764 | * the backward nodes corresponding to `getALocalSource`. |
766 | 765 | */ |
767 | 766 | private class SinkNode extends Node, Impl::MkSinkNode { |
@@ -905,7 +904,7 @@ module API { |
905 | 904 | } |
906 | 905 |
|
907 | 906 | /** |
908 | | - * Holds if the epsilon `pred -> succ` be generated, to associate `mod` with its references in the codebase. |
| 907 | + * Holds if the epsilon `pred -> succ` should be generated, to associate `mod` with its references in the codebase. |
909 | 908 | */ |
910 | 909 | bindingset[mod] |
911 | 910 | pragma[inline_late] |
|
0 commit comments