@@ -69,7 +69,7 @@ predicate isBackslashEscape(StringSubstitutionCall sub) {
6969}
7070
7171/**
72- * Holds if data flowing into `nd ` has no un-escaped backslashes.
72+ * Holds if data flowing into `node ` has no un-escaped backslashes.
7373 */
7474predicate allBackslashesEscaped ( DataFlow:: Node node ) {
7575 exists ( StringSubstitutionCall sub | node = sub |
@@ -121,7 +121,7 @@ predicate removesFirstOccurence(StringSubstitutionCall sub, string str) {
121121}
122122
123123/**
124- * Gets a method call where the receiver is the result of a string subtitution
124+ * Gets a method call where the receiver is the result of a string substitution
125125 * call.
126126 */
127127DataFlow:: Node getAMethodCall ( StringSubstitutionCall call ) {
@@ -133,7 +133,7 @@ DataFlow::Node getAMethodCall(StringSubstitutionCall call) {
133133 not call .isDestructive ( ) and call .( DataFlow:: LocalSourceNode ) .flowsTo ( receiver )
134134 or
135135 // for a destructive string substitution, is there flow from its
136- // post-update receivver to the receiver of another method call?
136+ // post-update receiver to the receiver of another method call?
137137 call .isDestructive ( ) and
138138 exists ( DataFlowPrivate:: PostUpdateNode post | post .getPreUpdateNode ( ) = call .getReceiver ( ) |
139139 post .( DataFlow:: LocalSourceNode ) .flowsTo ( receiver )
@@ -165,7 +165,7 @@ predicate isDelimiterUnwrapper(StringSubstitutionCall leftUnwrap, StringSubstitu
165165}
166166
167167/**
168- * Holds if `sub` is a standalone use of a string subtitution to remove a single
168+ * Holds if `sub` is a standalone use of a string substitution to remove a single
169169 * newline, dollar or percent character.
170170 *
171171 * This is often done on inputs that are known to only contain a single instance
0 commit comments