Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve and new feature for parser package #413

Merged
merged 17 commits into from
Feb 24, 2025

Conversation

ysugimoto
Copy link
Owner

This PR improves and implement new feature for parser package.

New Feature

For a feature implementation, falco needs to have an ending line and position for each node (declaration, statement, and exression). This PR implements to store the end line and position in the ast.Meta property.

Improvement

Some grouping expression like InfixExpresion should not have any comments (leading, trailing ,infix) and add more tests for parser implementation (underlying types, etc...)

Of course we have a compatibility to current implementation.

@ysugimoto ysugimoto merged commit 47f882e into main Feb 24, 2025
7 checks passed
@ysugimoto ysugimoto deleted the feature/hold-statement-place branch February 24, 2025 14:40
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.

1 participant