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 039a7ba commit ced1d21Copy full SHA for ced1d21
javascript/ql/lib/semmle/javascript/Variables.qll
@@ -873,6 +873,18 @@ class DeclarationSpace extends string {
873
DeclarationSpace() { this = "variable" or this = "type" or this = "namespace" }
874
}
875
876
+/** Module containing the `DeclarationSpace` constants. */
877
+module DeclarationSpace {
878
+ /** Gets the declaration space for variables/values. */
879
+ DeclarationSpace variable() { result = "variable" }
880
+
881
+ /** Gets the declaration space for types. */
882
+ DeclarationSpace type() { result = "type" }
883
884
+ /** Gets the declaration space for namespaces. */
885
+ DeclarationSpace namespace() { result = "namespace" }
886
+}
887
888
/**
889
* A name that is declared in a particular scope.
890
*
0 commit comments