package slangc.parser; public final class CommentAnnotation extends Annotation { private final Token comment; public CommentAnnotation(Token comment) { this.comment = comment; } public Token getComment() { return comment; } @Override public AnnotationType getAnnotationType() { return AnnotationType.COMMENT; } @Override public String toString() { return "CommentAnnotation(" + comment.toString() + ")"; } }