Module parser

Source
Expand description

A module for parsing and extracting content based on patterns from files.

This module provides functionality to parse files and extract content based on specified patterns.

Structsยง

Config
Represents configuration for the parser, including patterns to match.
Content
Represents content associated with a file path and a list of patterns.
ContentBlock
Represents a block of content with metadata and lines.
ContentMetadata
Represents metadata associated with content, including an ID.
ContentResults
Represents the final results after extracting content, including metadata and cleaned-up data.
Parser
Represents a parser for extracting content from files.