* Method that will be called for each property doc. Properties that are Angular inputs or * outputs will be marked. Aliases for the inputs or outputs will be stored as well.
(propertyDoc: CategorizedPropertyMemberDoc)
| 192 | * outputs will be marked. Aliases for the inputs or outputs will be stored as well. |
| 193 | */ |
| 194 | private _decoratePropertyDoc(propertyDoc: CategorizedPropertyMemberDoc) { |
| 195 | decorateDeprecatedDoc(propertyDoc); |
| 196 | |
| 197 | const metadata = |
| 198 | propertyDoc.containerDoc.docType === 'class' |
| 199 | ? (propertyDoc.containerDoc as CategorizedClassDoc).metadata |
| 200 | : null; |
| 201 | |
| 202 | const inputMetadata = metadata ? getInputBindingData(propertyDoc, metadata) : null; |
| 203 | const outputMetadata = metadata ? getOutputBindingData(propertyDoc, metadata) : null; |
| 204 | |
| 205 | propertyDoc.isInput = !!inputMetadata; |
| 206 | propertyDoc.inputAlias = (inputMetadata && inputMetadata.alias) || ''; |
| 207 | |
| 208 | propertyDoc.isOutput = !!outputMetadata; |
| 209 | propertyDoc.outputAlias = (outputMetadata && outputMetadata.alias) || ''; |
| 210 | } |
| 211 | |
| 212 | /** |
| 213 | * Walks through every method of the specified class doc and replaces the method |
no test coverage detected