mirror of
https://github.com/github/codeql.git
synced 2026-05-03 04:39:29 +02:00
rename all occurrences of XML to Xml
This commit is contained in:
@@ -21,14 +21,14 @@ private class KtExpectationComment extends KtComment, ExpectationComment {
|
||||
override string getContents() { result = this.getText().suffix(2).trim() }
|
||||
}
|
||||
|
||||
private class XmlExpectationComment extends ExpectationComment instanceof XMLComment {
|
||||
override string getContents() { result = this.(XMLComment).getText().trim() }
|
||||
private class XmlExpectationComment extends ExpectationComment instanceof XmlComment {
|
||||
override string getContents() { result = this.(XmlComment).getText().trim() }
|
||||
|
||||
override Location getLocation() { result = this.(XMLComment).getLocation() }
|
||||
override Location getLocation() { result = this.(XmlComment).getLocation() }
|
||||
|
||||
override predicate hasLocationInfo(string path, int sl, int sc, int el, int ec) {
|
||||
this.(XMLComment).hasLocationInfo(path, sl, sc, el, ec)
|
||||
this.(XmlComment).hasLocationInfo(path, sl, sc, el, ec)
|
||||
}
|
||||
|
||||
override string toString() { result = this.(XMLComment).toString() }
|
||||
override string toString() { result = this.(XmlComment).toString() }
|
||||
}
|
||||
|
||||
@@ -8,7 +8,7 @@ class XmlTest extends InlineExpectationsTest {
|
||||
|
||||
override predicate hasActualResult(Location location, string element, string tag, string value) {
|
||||
tag = "hasXmlResult" and
|
||||
exists(XMLAttribute a |
|
||||
exists(XmlAttribute a |
|
||||
a.getLocation() = location and
|
||||
element = a.toString() and
|
||||
value = ""
|
||||
|
||||
Reference in New Issue
Block a user