rusty-todo-md 1.4.0

A multi-language TODO comment extractor for source code files.
Documentation
1
2
3
4
5
6
7
8
9
// src/languages/common.rs

use crate::todo_extractor_internal::aggregator::CommentLine;

/// A trait for parsing comments from source code.
pub trait CommentParser {
    /// Parses the provided file content and returns a vector of comment lines.
    fn parse_comments(file_content: &str) -> Vec<CommentLine>;
}