(id: Id)
| 16 | protected _exprInput: Ref<Id>; |
| 17 | |
| 18 | constructor(id: Id) { |
| 19 | super(); |
| 20 | this._exprInput = ref(id); |
| 21 | if (typeof id === 'string' || isSymbol(id)) { |
| 22 | this.name.set(id); |
| 23 | } else if (isNode(id)) { |
| 24 | this.name.set(id.name); |
| 25 | } |
| 26 | } |
| 27 | |
| 28 | override analyze(ctx: AnalysisContext): void { |
| 29 | super.analyze(ctx); |