sortedCommentAndAnnotations property

List<AstNode> get sortedCommentAndAnnotations

A list containing the comment and annotations associated with this node, sorted in lexical order.

If there are neither annotations nor a comment, then the returned list is empty.

Implementation

List<AstNode> get sortedCommentAndAnnotations;