Minor cleanup and sync files.

This commit is contained in:
Michael Nebel
2023-05-24 11:23:42 +02:00
parent 783d560e7d
commit 915042a881
6 changed files with 48 additions and 60 deletions

View File

@@ -170,16 +170,14 @@ module Public {
private string getComponent(SummaryComponent sc) { private string getComponent(SummaryComponent sc) {
result = getComponentSpecific(sc) result = getComponentSpecific(sc)
or or
( exists(ArgumentPosition pos |
exists(ArgumentPosition pos | sc = TParameterSummaryComponent(pos) and
sc = TParameterSummaryComponent(pos) and result = "Parameter[" + getArgumentPosition(pos) + "]"
result = "Parameter[" + getArgumentPosition(pos) + "]" )
) or
or exists(ParameterPosition pos |
exists(ParameterPosition pos | sc = TArgumentSummaryComponent(pos) and
sc = TArgumentSummaryComponent(pos) and result = "Argument[" + getParameterPosition(pos) + "]"
result = "Argument[" + getParameterPosition(pos) + "]"
)
) )
or or
sc = TReturnSummaryComponent(getReturnValueKind()) and result = "ReturnValue" sc = TReturnSummaryComponent(getReturnValueKind()) and result = "ReturnValue"

View File

@@ -170,16 +170,14 @@ module Public {
private string getComponent(SummaryComponent sc) { private string getComponent(SummaryComponent sc) {
result = getComponentSpecific(sc) result = getComponentSpecific(sc)
or or
( exists(ArgumentPosition pos |
exists(ArgumentPosition pos | sc = TParameterSummaryComponent(pos) and
sc = TParameterSummaryComponent(pos) and result = "Parameter[" + getArgumentPosition(pos) + "]"
result = "Parameter[" + getArgumentPosition(pos) + "]" )
) or
or exists(ParameterPosition pos |
exists(ParameterPosition pos | sc = TArgumentSummaryComponent(pos) and
sc = TArgumentSummaryComponent(pos) and result = "Argument[" + getParameterPosition(pos) + "]"
result = "Argument[" + getParameterPosition(pos) + "]"
)
) )
or or
sc = TReturnSummaryComponent(getReturnValueKind()) and result = "ReturnValue" sc = TReturnSummaryComponent(getReturnValueKind()) and result = "ReturnValue"

View File

@@ -170,16 +170,14 @@ module Public {
private string getComponent(SummaryComponent sc) { private string getComponent(SummaryComponent sc) {
result = getComponentSpecific(sc) result = getComponentSpecific(sc)
or or
( exists(ArgumentPosition pos |
exists(ArgumentPosition pos | sc = TParameterSummaryComponent(pos) and
sc = TParameterSummaryComponent(pos) and result = "Parameter[" + getArgumentPosition(pos) + "]"
result = "Parameter[" + getArgumentPosition(pos) + "]" )
) or
or exists(ParameterPosition pos |
exists(ParameterPosition pos | sc = TArgumentSummaryComponent(pos) and
sc = TArgumentSummaryComponent(pos) and result = "Argument[" + getParameterPosition(pos) + "]"
result = "Argument[" + getParameterPosition(pos) + "]"
)
) )
or or
sc = TReturnSummaryComponent(getReturnValueKind()) and result = "ReturnValue" sc = TReturnSummaryComponent(getReturnValueKind()) and result = "ReturnValue"

View File

@@ -170,16 +170,14 @@ module Public {
private string getComponent(SummaryComponent sc) { private string getComponent(SummaryComponent sc) {
result = getComponentSpecific(sc) result = getComponentSpecific(sc)
or or
( exists(ArgumentPosition pos |
exists(ArgumentPosition pos | sc = TParameterSummaryComponent(pos) and
sc = TParameterSummaryComponent(pos) and result = "Parameter[" + getArgumentPosition(pos) + "]"
result = "Parameter[" + getArgumentPosition(pos) + "]" )
) or
or exists(ParameterPosition pos |
exists(ParameterPosition pos | sc = TArgumentSummaryComponent(pos) and
sc = TArgumentSummaryComponent(pos) and result = "Argument[" + getParameterPosition(pos) + "]"
result = "Argument[" + getParameterPosition(pos) + "]"
)
) )
or or
sc = TReturnSummaryComponent(getReturnValueKind()) and result = "ReturnValue" sc = TReturnSummaryComponent(getReturnValueKind()) and result = "ReturnValue"

View File

@@ -170,16 +170,14 @@ module Public {
private string getComponent(SummaryComponent sc) { private string getComponent(SummaryComponent sc) {
result = getComponentSpecific(sc) result = getComponentSpecific(sc)
or or
( exists(ArgumentPosition pos |
exists(ArgumentPosition pos | sc = TParameterSummaryComponent(pos) and
sc = TParameterSummaryComponent(pos) and result = "Parameter[" + getArgumentPosition(pos) + "]"
result = "Parameter[" + getArgumentPosition(pos) + "]" )
) or
or exists(ParameterPosition pos |
exists(ParameterPosition pos | sc = TArgumentSummaryComponent(pos) and
sc = TArgumentSummaryComponent(pos) and result = "Argument[" + getParameterPosition(pos) + "]"
result = "Argument[" + getParameterPosition(pos) + "]"
)
) )
or or
sc = TReturnSummaryComponent(getReturnValueKind()) and result = "ReturnValue" sc = TReturnSummaryComponent(getReturnValueKind()) and result = "ReturnValue"

View File

@@ -170,16 +170,14 @@ module Public {
private string getComponent(SummaryComponent sc) { private string getComponent(SummaryComponent sc) {
result = getComponentSpecific(sc) result = getComponentSpecific(sc)
or or
( exists(ArgumentPosition pos |
exists(ArgumentPosition pos | sc = TParameterSummaryComponent(pos) and
sc = TParameterSummaryComponent(pos) and result = "Parameter[" + getArgumentPosition(pos) + "]"
result = "Parameter[" + getArgumentPosition(pos) + "]" )
) or
or exists(ParameterPosition pos |
exists(ParameterPosition pos | sc = TArgumentSummaryComponent(pos) and
sc = TArgumentSummaryComponent(pos) and result = "Argument[" + getParameterPosition(pos) + "]"
result = "Argument[" + getParameterPosition(pos) + "]"
)
) )
or or
sc = TReturnSummaryComponent(getReturnValueKind()) and result = "ReturnValue" sc = TReturnSummaryComponent(getReturnValueKind()) and result = "ReturnValue"