CodeQL library for JavaScript/TypeScript
codeql/javascript-all 2.1.1-dev (changelog, source)
Search

Class Make::XmlComment

A comment in an XML file.

Example:

<!-- This is a comment. -->

Import path

import codeql.xml.Xml

Direct supertypes

Indirect supertypes

Predicates

getParent

Gets the parent of this XML comment.

getText

Gets the text content of this XML comment.

toString

Gets a printable representation of this XML comment.

Inherited predicates

getLocation

Gets the location of this element.

from XmlLocatableImpl
hasLocationInfo

Holds if this element is at the specified location. The location spans column startcolumn of line startline to column endcolumn of line endline in file filepath. For more information, see Locations.

from XmlLocatableImpl