Created
April 2, 2019 13:39
-
-
Save Aleksandyr/d386088cd45f081205cc8b3eefbd9207 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Triggers per every reflection object. | |
| * @param reflection | |
| */ | |
| private resolve(context, reflection) { | |
| switch(reflection.kind) { | |
| ... | |
| case ReflectionKind.GetSignature: | |
| case ReflectionKind.SetSignature: | |
| const accessorName = reflection.parent.name; | |
| const accessorType = reflection.kind; | |
| const accessorData = this.getCommentInfo(reflection); | |
| this.factoryInstance.appendAccessorAttributes( | |
| this.jsonObjectName, | |
| reflection.parent.kind, | |
| accessorName, | |
| accessorType, | |
| accessorData); | |
| ... | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment