MCPcopy
hub / github.com/angular/angular / TagPlaceholder

Class TagPlaceholder

packages/compiler/src/i18n/i18n_ast.ts:117–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115}
116
117export class TagPlaceholder implements Node {
118 constructor(
119 public tag: string,
120 public attrs: {[k: string]: string},
121 public startName: string,
122 public closeName: string,
123 public children: Node[],
124 public isVoid: boolean,
125 // TODO sourceSpan should cover all (we need a startSourceSpan and endSourceSpan)
126 public sourceSpan: ParseSourceSpan,
127 public startSourceSpan: ParseSourceSpan | null,
128 public endSourceSpan: ParseSourceSpan | null,
129 ) {}
130
131 visit(visitor: Visitor, context?: any): any {
132 return visitor.visitTagPlaceholder(this, context);
133 }
134}
135
136export class Placeholder implements Node {
137 constructor(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…