File tree Expand file tree Collapse file tree 3 files changed +4
-8
lines changed
lib/semmle/javascript/frameworks/data/internal
test/library-tests/frameworks/data
ruby/ql/lib/codeql/ruby/frameworks/data/internal Expand file tree Collapse file tree 3 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -413,10 +413,10 @@ predicate isValidNoArgumentTokenInIdentifyingAccessPath(string name) {
413
413
bindingset [ name, argument]
414
414
predicate isValidTokenArgumentInIdentifyingAccessPath ( string name , string argument ) {
415
415
name = [ "Argument" , "Parameter" ] and
416
- argument .regexpMatch ( "(N-|-)?\\d+(\\.\\.(N-|-)?\\d+)?" )
416
+ argument .regexpMatch ( "(N-|-)?\\d+(\\.\\.(( N-|-)?\\d+)? )?" )
417
417
or
418
418
name = "WithArity" and
419
- argument .regexpMatch ( "\\d+(\\.\\.\\d+)?" )
419
+ argument .regexpMatch ( "\\d+(\\.\\.( \\d+)? )?" )
420
420
or
421
421
Specific:: isExtraValidTokenArgumentInIdentifyingAccessPath ( name , argument )
422
422
}
Original file line number Diff line number Diff line change 1
1
| CSV type row should have 5 columns but has 2: test;TooFewColumns |
2
2
| CSV type row should have 5 columns but has 8: test;TooManyColumns;;;Member[Foo].Instance;too;many;columns |
3
3
| Invalid argument '0-1' in token 'Argument[0-1]' in access path: Method[foo].Argument[0-1] |
4
- | Invalid argument '0..' in token 'Argument[0..]' in access path: Argument[0..].Member[password] |
5
- | Invalid argument '0..' in token 'Argument[0..]' in access path: Argument[0..].Member[username] |
6
- | Invalid argument '0..' in token 'Argument[0..]' in access path: Member[executeSql].Argument[0..].Parameter[1] |
7
- | Invalid argument '0..' in token 'Argument[0..]' in access path: Member[run].Argument[0..].Parameter[1] |
8
4
| Invalid argument '*' in token 'Argument[*]' in access path: Method[foo].Argument[*] |
9
5
| Invalid token 'Argument' is missing its arguments, in access path: Method[foo].Argument |
10
6
| Invalid token 'Member' is missing its arguments, in access path: Method[foo].Member |
Original file line number Diff line number Diff line change @@ -413,10 +413,10 @@ predicate isValidNoArgumentTokenInIdentifyingAccessPath(string name) {
413
413
bindingset [ name, argument]
414
414
predicate isValidTokenArgumentInIdentifyingAccessPath ( string name , string argument ) {
415
415
name = [ "Argument" , "Parameter" ] and
416
- argument .regexpMatch ( "(N-|-)?\\d+(\\.\\.(N-|-)?\\d+)?" )
416
+ argument .regexpMatch ( "(N-|-)?\\d+(\\.\\.(( N-|-)?\\d+)? )?" )
417
417
or
418
418
name = "WithArity" and
419
- argument .regexpMatch ( "\\d+(\\.\\.\\d+)?" )
419
+ argument .regexpMatch ( "\\d+(\\.\\.( \\d+)? )?" )
420
420
or
421
421
Specific:: isExtraValidTokenArgumentInIdentifyingAccessPath ( name , argument )
422
422
}
You can’t perform that action at this time.
0 commit comments