Python: Adjust XMLParent.getName to match other languages.

This commit is contained in:
Max Schaefer
2019-12-17 07:33:39 +00:00
parent 3068a89ab2
commit ef453db225

View File

@@ -44,7 +44,7 @@ class XMLParent extends @xmlparent {
* Gets a printable representation of this XML parent.
* (Intended to be overridden in subclasses.)
*/
/*abstract*/ string getName() { result = "parent" }
abstract string getName();
/** Gets the file to which this XML parent belongs. */
XMLFile getFile() { result = this or xmlElements(this, _, _, _, result) }