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

Adds parse_expr utility #144

Merged
merged 9 commits into from
Dec 5, 2022
Merged

Adds parse_expr utility #144

merged 9 commits into from
Dec 5, 2022

Conversation

odashi
Copy link
Collaborator

@odashi odashi commented Dec 3, 2022

Overview

Adds ast_utils.parse_expr, which parses an expression and generates a corresponding AST.
This function prevents writing a tricky subscription ast.parse(code).body[0].value in some tests.

Details

NA

References

NA

Blocked by

Copy link
Collaborator

@ShigekiKarita ShigekiKarita left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@odashi odashi merged commit fb233b5 into main Dec 5, 2022
@odashi odashi deleted the parse-expr branch December 5, 2022 02:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants