mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 06:47:03 +00:00
Add sax parser info (#22792)
This commit is contained in:
committed by
Ryan Cavanaugh
parent
48203ad4df
commit
88eda35486
Vendored
+7
-1
@@ -1,6 +1,8 @@
|
||||
// Type definitions for xmldoc 1.1
|
||||
// Project: https://www.npmjs.com/package/xmldoc
|
||||
// Definitions by: Xavier Stouder <https://github.com/Xstoudi>, Andrew Sheehan <https://github.com/ajsheehan>
|
||||
// Definitions by: Xavier Stouder <https://github.com/Xstoudi>
|
||||
// Andrew Sheehan <https://github.com/ajsheehan>
|
||||
// Jordi Bunster <https://github.com/notlaforge>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped): // TypeScript Version: 2.1
|
||||
|
||||
export class XmlDocument extends XmlElement {
|
||||
@@ -18,6 +20,10 @@ export class XmlElement {
|
||||
children: XmlElement[];
|
||||
firstChild: XmlElement;
|
||||
lastChild: XmlElement;
|
||||
line: number;
|
||||
column: number;
|
||||
position: number;
|
||||
startTagPosition: number;
|
||||
|
||||
eachChild(func: (child: XmlElement, index?: number, array?: XmlElement[]) => void): void;
|
||||
childNamed(name: string): XmlElement;
|
||||
|
||||
Reference in New Issue
Block a user