@@ -108,7 +108,7 @@ class XMLParent extends @xmlparent {
108108 }
109109
110110 /** Gets the text value contained in this XML parent. */
111- string getTextValue ( ) { result = allCharactersString ( ) }
111+ string getTextValue ( ) { result = this . allCharactersString ( ) }
112112
113113 /** Gets a printable representation of this XML parent. */
114114 string toString ( ) { result = this .getName ( ) }
@@ -119,7 +119,7 @@ class XMLFile extends XMLParent, File {
119119 XMLFile ( ) { xmlEncoding ( this , _) }
120120
121121 /** Gets a printable representation of this XML file. */
122- override string toString ( ) { result = getName ( ) }
122+ override string toString ( ) { result = this . getName ( ) }
123123
124124 /** Gets the name of this XML file. */
125125 override string getName ( ) { result = File .super .getAbsolutePath ( ) }
@@ -129,14 +129,14 @@ class XMLFile extends XMLParent, File {
129129 *
130130 * Gets the path of this XML file.
131131 */
132- deprecated string getPath ( ) { result = getAbsolutePath ( ) }
132+ deprecated string getPath ( ) { result = this . getAbsolutePath ( ) }
133133
134134 /**
135135 * DEPRECATED: Use `getParentContainer().getAbsolutePath()` instead.
136136 *
137137 * Gets the path of the folder that contains this XML file.
138138 */
139- deprecated string getFolder ( ) { result = getParentContainer ( ) .getAbsolutePath ( ) }
139+ deprecated string getFolder ( ) { result = this . getParentContainer ( ) .getAbsolutePath ( ) }
140140
141141 /** Gets the encoding of this XML file. */
142142 string getEncoding ( ) { xmlEncoding ( this , result ) }
@@ -200,7 +200,7 @@ class XMLDTD extends XMLLocatable, @xmldtd {
200200 */
201201class XMLElement extends @xmlelement, XMLParent , XMLLocatable {
202202 /** Holds if this XML element has the given `name`. */
203- predicate hasName ( string name ) { name = getName ( ) }
203+ predicate hasName ( string name ) { name = this . getName ( ) }
204204
205205 /** Gets the name of this XML element. */
206206 override string getName ( ) { xmlElements ( this , result , _, _, _) }
@@ -239,7 +239,7 @@ class XMLElement extends @xmlelement, XMLParent, XMLLocatable {
239239 string getAttributeValue ( string name ) { result = this .getAttribute ( name ) .getValue ( ) }
240240
241241 /** Gets a printable representation of this XML element. */
242- override string toString ( ) { result = getName ( ) }
242+ override string toString ( ) { result = this . getName ( ) }
243243}
244244
245245/**
0 commit comments