def comment_from_tag(tag):
if not tag:<EOL><INDENT>return None<EOL><DEDENT>comment = Comment(name=tag.name,<EOL>meta={'<STR_LIT:description>': tag.description},<EOL>annotations=tag.annotations)<EOL>return comment<EOL>
Convenience function to create a full-fledged comment for a
given tag, for example it is convenient to assign a Comment
to a ReturnValueSymbol.