We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4963835 commit ea4ba27Copy full SHA for ea4ba27
ruby/ql/lib/codeql/ruby/experimental/Rbi.qll
@@ -132,6 +132,9 @@ module Rbi {
132
}
133
134
135
+ /**
136
+ * A use of `T::Hash`.
137
+ */
138
class RbiHashType extends RbiType, ConstantReadAccessFromT {
139
RbiHashType() { this.getName() = "Hash" }
140
@@ -144,6 +147,11 @@ module Rbi {
144
147
Expr getValueType() { result = this.getRefNode().getArgument(1) }
145
148
146
149
150
+ /** A type instantiated with type arguments, such as `T::Array[String]`. */
151
+ class RbiInstantiatedType extends RbiType, ElementReference {
152
+ RbiInstantiatedType() { getReceiver() instanceof RbiType }
153
+ }
154
+
155
/**
156
* A call to `T.proc`. This defines a type signature for a proc or block
157
*/
0 commit comments