mirror of
https://github.com/github/codeql.git
synced 2026-04-24 00:05:14 +02:00
fix common misspellings throughout github/codeql
This commit is contained in:
committed by
erik-krogh
parent
db614bda29
commit
887f6557ed
@@ -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. */
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user