Ruby: add ConstanReadAcess#getAQualifiedName() predicate

This commit is contained in:
Alex Ford
2022-07-31 17:57:45 +01:00
parent 714e95ea57
commit 8d264e7e65

View File

@@ -294,6 +294,11 @@ class ConstantReadAccess extends ConstantAccess {
Expr getValue() { result = getConstantReadAccessValue(this) }
final override string getAPrimaryQlClass() { result = "ConstantReadAccess" }
/**
* Gets a fully qualified name for this constant.
*/
string getAQualifiedName() { TResolved(result) = resolveConstantReadAccess(this) }
}
/**