(
attrData: { attrName: string; attrValue: IPublicTypeCompositeValue },
scope: IScope,
config?: NodeGeneratorConfig,
)
| 58 | } |
| 59 | |
| 60 | function generateAttrValue( |
| 61 | attrData: { attrName: string; attrValue: IPublicTypeCompositeValue }, |
| 62 | scope: IScope, |
| 63 | config?: NodeGeneratorConfig, |
| 64 | ): CodePiece[] { |
| 65 | const valueStr = generateCompositeType(attrData.attrValue, scope, { |
| 66 | handlers: config?.handlers, |
| 67 | nodeGenerator: config?.self, |
| 68 | }); |
| 69 | return [ |
| 70 | { |
| 71 | type: PIECE_TYPE.ATTR, |
| 72 | name: attrData.attrName, |
| 73 | value: valueStr, |
| 74 | }, |
| 75 | ]; |
| 76 | } |
| 77 | |
| 78 | function generateAttr( |
| 79 | attrName: string, |
no test coverage detected
searching dependent graphs…