Skip to content

Add an intermediate Placeable production for Expressions within Patterns #52

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

Merged
merged 1 commit into from
Aug 9, 2017

Conversation

stasm
Copy link
Contributor

@stasm stasm commented Aug 8, 2017

Fixes #47.

Added the Placeable production as a wrapper for expressions in
patterns. This allows storing more precise information about the
whitespace around the placeable's braces.

Separated the expr type into inline_expr and block_expr. This
mirrors the EBNF, where a select expression cannot by an argument to
a call expression nor selector of another select expression without
being wrapped in braces.

Added the `Placeable` production as a wrapper for expressions in
patterns.  This allows storing more precise information about the
whitespace around the placeable's braces.

Separated the `expr` type into `inline_expr` and `block_expr`.  This
mirrors the EBNF, where a select expression cannot by an argument to
a call expression nor selector of another select expression without
being wrapped in braces.
@stasm stasm requested a review from zbraniecki August 8, 2017 13:51
@stasm stasm merged commit e3d169e into projectfluent:master Aug 9, 2017
@stasm stasm deleted the intermediate-placeable branch August 9, 2017 16:17
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.

2 participants