integrated-application-development / integrated-application-development/pasfmt

Support adding new tokens and lines

Open
#289 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Rust
Stars
105
Forks
20
PR merge metrics
No merged PRs in 30d

Description

At the moment, `pasfmt` doesn't have a good way to insert new tokens into lines or insert entirely new lines.

This addition would allow for features such as:

- Adding `begin`/`end` blocks to single statements
- Adding method separators

The complexity of this all the machinery that has been built atop the existing structures.
Adding new logical lines would become complex when attempting to add multiple lines that are linked, e.g., an `if` statement.
Additionally, when adding new tokens, there would need to be a way to add tokens to the middle of the list of tokens.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.