Skip to content

Commit fe71207

Browse files
authored
Merge pull request github#13537 from geoffw0/regexqldoc
Ruby: Fix some QLDoc errors in ParseRegExp.qll
2 parents 24e8316 + d06f4b9 commit fe71207

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

ruby/ql/lib/codeql/ruby/regexp/internal/ParseRegExp.qll

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -195,8 +195,8 @@ abstract class RegExp extends Ast::StringlikeLiteral {
195195

196196
/**
197197
* Holds if the character set starting at `charset_start` contains a character range
198-
* with lower bound found between `start` and `lower_end`
199-
* and upper bound found between `upper_start` and `end`.
198+
* with lower bound found between `start` and `lowerEnd`
199+
* and upper bound found between `upperStart` and `end`.
200200
*/
201201
predicate charRange(int charsetStart, int start, int lowerEnd, int upperStart, int end) {
202202
exists(int index |
@@ -844,11 +844,11 @@ abstract class RegExp extends Ast::StringlikeLiteral {
844844
}
845845

846846
/**
847-
* Holds if a qualified part is found between `start` and `part_end` and the qualifier is
848-
* found between `part_end` and `end`.
847+
* Holds if a qualified part is found between `start` and `partEnd` and the qualifier is
848+
* found between `partEnd` and `end`.
849849
*
850-
* `maybe_empty` is true if the part is optional.
851-
* `may_repeat_forever` is true if the part may be repeated unboundedly.
850+
* `maybeEmpty` is true if the part is optional.
851+
* `mayRepeatForever` is true if the part may be repeated unboundedly.
852852
*/
853853
predicate qualifiedPart(
854854
int start, int partEnd, int end, boolean maybeEmpty, boolean mayRepeatForever

0 commit comments

Comments
 (0)