(parent: XmlStateConsumer, templateProperty: TemplateProperty, setTemplateProperty = true)
| 506 | private _setTemplateProperty: boolean; |
| 507 | |
| 508 | constructor(parent: XmlStateConsumer, templateProperty: TemplateProperty, setTemplateProperty = true) { |
| 509 | this.parent = parent; |
| 510 | this._context = templateProperty.context; |
| 511 | this._recordedXmlStream = new Array<xml.ParserEvent>(); |
| 512 | this._templateProperty = templateProperty; |
| 513 | this._nestingLevel = 0; |
| 514 | this._state = TemplateParser.State.EXPECTING_START; |
| 515 | this._setTemplateProperty = setTemplateProperty; |
| 516 | } |
| 517 | |
| 518 | public parse(args: xml.ParserEvent): XmlStateConsumer { |
| 519 | if (args.eventType === xml.ParserEventType.StartElement) { |
nothing calls this directly
no outgoing calls
no test coverage detected