MCPcopy Create free account
hub / github.com/NativeScript/NativeScript / constructor

Method constructor

packages/core/xml/index.ts:56–64  ·  view source on GitHub ↗
(eventType: string, position: Position, prefix?: string, namespace?: string, elementName?: string, attributes?: Object, data?: string)

Source from the content-addressed store, hash-verified

54 private _data: string;
55
56 constructor(eventType: string, position: Position, prefix?: string, namespace?: string, elementName?: string, attributes?: Object, data?: string) {
57 this._eventType = eventType;
58 this._position = position;
59 this._prefix = prefix;
60 this._namespace = namespace;
61 this._elementName = elementName;
62 this._attributes = attributes;
63 this._data = data;
64 }
65
66 /**
67 * Returns a JSON string representation of this instance.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected