@@ -974,18 +974,19 @@ private Element interpretElement0(
974
974
)
975
975
}
976
976
977
- /** Gets the source/sink/summary element corresponding to the supplied parameters. */
978
- Element interpretElement (
979
- string namespace , string type , boolean subtypes , string name , string signature , string ext
980
- ) {
981
- elementSpec ( namespace , type , subtypes , name , signature , ext ) and
982
- exists ( Element e | e = interpretElement0 ( namespace , type , subtypes , name , signature ) |
983
- ext = "" and result = e
984
- )
985
- }
986
-
987
977
cached
988
978
private module Cached {
979
+ /** Gets the source/sink/summary element corresponding to the supplied parameters. */
980
+ cached
981
+ Element interpretElement (
982
+ string namespace , string type , boolean subtypes , string name , string signature , string ext
983
+ ) {
984
+ elementSpec ( namespace , type , subtypes , name , signature , ext ) and
985
+ exists ( Element e | e = interpretElement0 ( namespace , type , subtypes , name , signature ) |
986
+ ext = "" and result = e
987
+ )
988
+ }
989
+
989
990
/**
990
991
* Holds if `node` is specified as a source with the given kind in a CSV flow
991
992
* model.
0 commit comments