File tree 1 file changed +6
-6
lines changed
rust/ql/src/utils/modelgenerator/internal
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -54,26 +54,26 @@ module ModelGeneratorCommonInput implements
54
54
55
55
string qualifierString ( ) { result = "Argument[self]" }
56
56
57
- string parameterAccess ( R:: ParamBase p ) {
57
+ string parameterExactAccess ( R:: ParamBase p ) {
58
58
result =
59
59
"Argument[" + any ( DataFlowImpl:: ParameterPosition pos | p = pos .getParameterIn ( _) ) .toString ( ) +
60
60
"]"
61
61
}
62
62
63
- string parameterContentAccess ( R:: ParamBase p ) { result = parameterAccess ( p ) }
63
+ string parameterApproximateAccess ( R:: ParamBase p ) { result = parameterExactAccess ( p ) }
64
64
65
65
class InstanceParameterNode extends DataFlow:: ParameterNode {
66
66
InstanceParameterNode ( ) { this .asParameter ( ) instanceof SelfParam }
67
67
}
68
68
69
69
bindingset [ c]
70
- string paramReturnNodeAsOutput ( Callable c , DataFlowImpl:: ParameterPosition pos ) {
71
- result = paramReturnNodeAsContentOutput ( c , pos )
70
+ string paramReturnNodeAsApproximateOutput ( Callable c , DataFlowImpl:: ParameterPosition pos ) {
71
+ result = paramReturnNodeAsExactOutput ( c , pos )
72
72
}
73
73
74
74
bindingset [ c]
75
- string paramReturnNodeAsContentOutput ( Callable c , DataFlowImpl:: ParameterPosition pos ) {
76
- result = parameterContentAccess ( c .getParamList ( ) .getParam ( pos .getPosition ( ) ) )
75
+ string paramReturnNodeAsExactOutput ( Callable c , DataFlowImpl:: ParameterPosition pos ) {
76
+ result = parameterExactAccess ( c .getParamList ( ) .getParam ( pos .getPosition ( ) ) )
77
77
or
78
78
pos .isSelf ( ) and result = qualifierString ( )
79
79
}
You can’t perform that action at this time.
0 commit comments