<commit_before>// Type definitions for xmldoc 1.1
// Project: https://www.npmjs.com/package/xmldoc
// Definitions by:  <NAME> <https://github.com/Xstoudi>, <NAME> <https://github.com/ajsheehan>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped): // TypeScript Version: 2.1

export class XmlDocument extends XmlElement {
    constructor(xmlString: string);

    doctype: string;
}

export class XmlElement {
    constructor(tag: XmlElement);

    name: string;
    attr: XmlAttributes;
    val: string;
    children: XmlElement[];
    firstChild: XmlElement;
    lastChild: XmlElement;<commit_msg>Add sax parser info (#22792)<commit_after>// Type definitions for xmldoc 1.1
// Project: https://www.npmjs.com/package/xmldoc
// Definitions by:  <NAME> <https://github.com/Xstoudi>
//                  <NAME> <https://github.com/ajsheehan>
//                  <NAME> <https://github.com/notlaforge>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped): // TypeScript Version: 2.1

export class XmlDocument extends XmlElement {
    constructor(xmlString: string);

    doctype: string;
}

export class XmlElement {
    constructor(tag: XmlElement);

    name: string;
    attr: XmlAttributes;
    val: string;
    children: XmlElement[];
    firstChild: XmlElement;
    lastChild: XmlElement;
    line: number;
    column: number;
    position: number;
    startTagPosition: number;
{'fraction_non_alphanumeric': 0.12987934705464868, 'fraction_numerical': 0.009226401703335699, 'mean_word_length': 3.392523364485981, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 9, 'lorem ipsum': 0, 'www.': 2, 'xml': 6}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3676311', 'n_tokens_mistral': 466, 'n_tokens_neox': 431, 'n_words': 103}