ASTComment.fromCommentToken constructor

ASTComment.fromCommentToken(
  1. TokenComment token
)

Implementation

ASTComment.fromCommentToken(TokenComment token)
    : this(
        content: token.literal,
        isDocumentation: token.isDocumentation,
        isMultiLine: token.isMultiLine,
        isTrailing: token.isTrailing,
      );