Description
Represents the reflected node of a decorator call
Methods
- 
            getNamecodeThe name of the decorator getName(): stringReturnsstring:The name of the decorator 
- 
            getTSNodecodeThe internal TypeScript node getTSNode(): DecoratorReturnsDecorator:The TypeScript AST node related to this reflected node 
- 
            getContextcodeThe context includes useful APIs that are shared across all the reflected symbols. Some APIs include the parsed configuration options, the system interface, the type checker getContext(): ProjectContextReturnsProjectContext:The analyser context 
- 
            getJSDoccodeThe reflected documentation comment getJSDoc(): CommentNodeReturnsCommentNode:The JSDoc node 
- 
            hasArgumentscodeIf there are arguments supplied hasArguments(): booleanReturnsboolean:True if there are arguments, otherwise false 
- 
            getArgumentscodeThe values of the arguments supplied in the call getArguments(): unknown[]Returnsunknown[]:An array with the argument expression values 
- 
            getLinecodeThe line number where the decorator is defined (not where it’s used) getLine(): number | nullReturnsnumber | null:The start line position 
- 
            getPathcodeThe source file path where the decorator is defined (not where it’s used) getPath(): stringReturnsstring:The relative source file path where the declaration is defined 
- 
            serializecodeSerializes the reflected node serialize(): DecoratorReturnsDecorator:The reflected node as a serializable object