(kind, decorators, modifiers)
| 22773 | return baseFactory.createBaseNode(kind); |
| 22774 | } |
| 22775 | function createBaseDeclaration(kind, decorators, modifiers) { |
| 22776 | var node = createBaseNode(kind); |
| 22777 | node.decorators = asNodeArray(decorators); |
| 22778 | node.modifiers = asNodeArray(modifiers); |
| 22779 | node.transformFlags |= |
| 22780 | propagateChildrenFlags(node.decorators) | |
| 22781 | propagateChildrenFlags(node.modifiers); |
| 22782 | // NOTE: The following properties are commonly set by the binder and are added here to |
| 22783 | // ensure declarations have a stable shape. |
| 22784 | node.symbol = undefined; // initialized by binder |
| 22785 | node.localSymbol = undefined; // initialized by binder |
| 22786 | node.locals = undefined; // initialized by binder |
| 22787 | node.nextContainer = undefined; // initialized by binder |
| 22788 | return node; |
| 22789 | } |
| 22790 | function createBaseNamedDeclaration(kind, decorators, modifiers, name) { |
| 22791 | var node = createBaseDeclaration(kind, decorators, modifiers); |
| 22792 | name = asName(name); |
no test coverage detected
searching dependent graphs…