fix common misspellings throughout github/codeql

This commit is contained in:
Erik Krogh Kristensen
2022-07-14 23:31:47 +02:00
committed by erik-krogh
parent db614bda29
commit 887f6557ed
39 changed files with 48 additions and 48 deletions

View File

@@ -6,7 +6,7 @@ private import semmle.code.java.regex.regex
/**
* An element containing a regular expression term, that is, either
* a string literal (parsed as a regular expression; the root of the parse tree)
* or another regular expression term (a decendent of the root).
* or another regular expression term (a descendant of the root).
*
* For sequences and alternations, we require at least two children.
* Otherwise, we wish to represent the term differently.
@@ -52,7 +52,7 @@ private newtype TRegExpParent =
/**
* An element containing a regular expression term, that is, either
* a string literal (parsed as a regular expression; the root of the parse tree)
* or another regular expression term (a decendent of the root).
* or another regular expression term (a descendant of the root).
*/
class RegExpParent extends TRegExpParent {
/** Gets a textual representation of this element. */

View File

@@ -62,7 +62,7 @@ abstract class RegexString extends StringLiteral {
/**
* Helper predicate for `quote`.
* Holds if the char at `pos` is the one-based `index`th occurence of a quote delimiter (`\Q` or `\E`)
* Holds if the char at `pos` is the one-based `index`th occurrence of a quote delimiter (`\Q` or `\E`)
* Result is `true` for `\Q` and `false` for `\E`.
*/
private boolean quoteDelimiter(int index, int pos) {