(uri)
| 389 | } |
| 390 | |
| 391 | export function ComponentSourceTracker(uri): SourceTracker { |
| 392 | return (component: any, p: xml.Position) => { |
| 393 | if (!Source.get(component)) { |
| 394 | const source = p ? new Source(uri, p.line, p.column) : new Source(uri, -1, -1); |
| 395 | Source.set(component, source); |
| 396 | } |
| 397 | }; |
| 398 | } |
| 399 | |
| 400 | export class PlatformFilter extends XmlProducerBase implements XmlProducer, XmlConsumer { |
| 401 | private currentPlatformContext: string; |