private static Result parseDocComment(IdlInternalTokenizer tokenizer, SourceLocation location) {
        String result = tokenizer.removePendingDocCommentLines();
        if (result == null) {
            return null;
        } else {
            Node value = new StringNode(result, location);
            return new Result(DocumentationTrait.ID.toString(), value, TraitType.DOC_COMMENT);
        }
    }
Assumes that the tokenizer is potentially before a shape or member definition, and parses out documentation
comments and applied traits into a list of {@link Result} values that can later be turned into instances of
{@link Trait}s to apply to shapes.

@param loader IDL parser.
@return Return the parsed traits.
smithy-model/src/main/java/software/amazon/smithy/model/loader/IdlTraitParser.java