Commentable indicates if the AST node supports adding comments. Any number of comments are supported and can be attached to a typescript AST node.
| 8 | // Commentable indicates if the AST node supports adding comments. |
| 9 | // Any number of comments are supported and can be attached to a typescript AST node. |
| 10 | type Commentable interface { |
| 11 | AppendComment(comment SyntheticComment) |
| 12 | Comments() []SyntheticComment |
| 13 | } |
| 14 | |
| 15 | // SyntheticComment is the state of a comment for a given AST node. |
| 16 | // See the compiler for how these are serialized. |
no outgoing calls
no test coverage detected
searching dependent graphs…