File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,9 @@ class InclusionTest extends DataFlow::Node instanceof InclusionTest::Range {
33
33
boolean getPolarity ( ) { result = super .getPolarity ( ) }
34
34
}
35
35
36
+ /**
37
+ * Contains classes for recognizing array and string inclusion tests.
38
+ */
36
39
module InclusionTest {
37
40
/**
38
41
* A expression that is equivalent to `A.include?(B)` or `!A.include?(B)`.
Original file line number Diff line number Diff line change @@ -7,6 +7,9 @@ private import codeql.ruby.DataFlow
7
7
private import codeql.ruby.controlflow.CfgNodes
8
8
private import InclusionTests
9
9
10
+ /**
11
+ * Provides classes for reasoning about string-manipulating expressions.
12
+ */
10
13
module StringOps {
11
14
/**
12
15
* A expression that is equivalent to `A.start_with?(B)` or `!A.start_with?(B)`.
@@ -31,6 +34,9 @@ module StringOps {
31
34
boolean getPolarity ( ) { result = super .getPolarity ( ) }
32
35
}
33
36
37
+ /**
38
+ * Provides classes implementing prefix test expressions.
39
+ */
34
40
module StartsWith {
35
41
/**
36
42
* A expression that is equivalent to `A.start_with?(B)` or `!A.start_with?(B)`.
@@ -133,6 +139,9 @@ module StringOps {
133
139
boolean getPolarity ( ) { result = super .getPolarity ( ) }
134
140
}
135
141
142
+ /**
143
+ * Provides classes implementing suffix test expressions.
144
+ */
136
145
module EndsWith {
137
146
/**
138
147
* An expression that is equivalent to `A.end_with?(B)` or `!A.end_with?(B)`.
You can’t perform that action at this time.
0 commit comments