Skip to content

Refactor parsing utility functions into shared module #41

@coderabbitai

Description

@coderabbitai

The utility functions parse_name_type_pairs and parse_type_after_colon are currently used by multiple AST nodes (Function and Relation). Moving these functions into a shared parsing-utility module would reduce code duplication and improve maintainability.

Background:
These functions were extracted during the implementation of function parsing and are now used by both Function and Relation AST nodes. Creating a shared module for parsing utilities would follow the DRY principle and make the codebase more maintainable.

Reference:

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions