Skip to content

Conversation

@PTKu
Copy link
Contributor

@PTKu PTKu commented Mar 24, 2025

This pull request introduces support for multiline pragmas and updates various test cases and sample files to accommodate this new feature. The most important changes include modifications to handle multiline strings in property setters, updates to test cases to ensure correct handling of multiline pragmas, and adjustments to sample files to reflect these changes.

Support for multiline pragmas:

Updates to test cases:

Adjustments to sample files:

Project configuration updates:

closes #388

@PTKu PTKu linked an issue Mar 24, 2025 that may be closed by this pull request
PTKu added 2 commits March 24, 2025 15:58
Modified the Init method of AddedPropertySetterAstNode to handle
InitValue differently based on its content. The text from
AddedPropertyInitializer is first assigned to a variable
asFreeTextLiteral. If asFreeTextLiteral starts with a double quote,
InitValue is prefixed with an @ symbol. Otherwise, InitValue is
assigned the value of asFreeTextLiteral without modification. This
ensures correct formatting of InitValue.
@PTKu PTKu marked this pull request as ready for review March 24, 2025 15:05
@PTKu PTKu requested a review from TomKovac March 24, 2025 15:05
@PTKu PTKu merged commit eb355b5 into dev Mar 24, 2025
2 checks passed
@PTKu PTKu deleted the 388-allow-multiline-pragmas branch March 24, 2025 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow multiline pragmas

2 participants