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

No Parentheses Operator Expression #59

Closed
19 tasks done
KronicDeth opened this issue Nov 27, 2014 · 0 comments · Fixed by #105
Closed
19 tasks done

No Parentheses Operator Expression #59

KronicDeth opened this issue Nov 27, 2014 · 0 comments · Fixed by #105

Comments

@KronicDeth
Copy link
Owner

Implement no_parens_op_expr to complete match_expr where it uses no_parens_expr.

Prereqs

Features

matched_expr direct-dependencies

no_parens_op_expr

This is matched_expr no_parens_op_expr should be rewritten as binary operations with matchedExpression as the left operand and noParenthesesExpression as the right operand. This can be accomplished with either new binary operations or by changing the matchedExpression*Operations from #50 to accept either a matchedExpression or a noParenthesesExpression as the right operand.

  • Allow noParenthesesExpression as right operand to matchedExpressionMatchOperation
  • Allow noParenthesesExpression as right operand to matchedExpressionAdditionOperation
  • Allow noParenthesesExpression as right operand to matchedExpressionMultiplicationOperation
  • Allow noParenthesesExpression as right operand to matchedExpressionHatOperation
  • Allow noParenthesesExpression as right operand to matchedExpressionTwoOperation
  • Allow noParenthesesExpression as right operand to matchedExpressionAndOperation
  • Allow noParenthesesExpression as right operand to matchedExpressionOrOperation
  • Allow noParenthesesExpression as right operand to matchedExpressionInOperation
  • Allow noParenthesesExpression as right operand to matchedExpressionInMatchOperation
  • Allow noParenthesesExpression as right operand to matchedExpressionTypeOperation
  • Allow noParenthesesExpression as right operand to matchedExpressionPipeOperation
  • Allow noParenthesesExpression as right operand to matchedExpressionComparisonOperation
  • Allow noParenthesesExpression as right operand to matchedExpressionRelationalOperation
  • Allow noParenthesesExpression as right operand to matchedExpressionArrowOperation
  • Allow noParenthesesExpression as right operand to matchedExpressionWhenOperation

when handling for no_parens_op_expr has an additional right operand choice in addition to no_parens_expr: call_args_no_parens_kw

  • Allow call_args_no_parens_kw as right operand to matcheExpressionWhenOperation
@KronicDeth KronicDeth self-assigned this Nov 27, 2014
@KronicDeth KronicDeth added this to the v1.0.0 milestone Nov 27, 2014
@KronicDeth KronicDeth changed the title No Parentheses Operation No Parentheses Operator Expression Nov 27, 2014
@KronicDeth KronicDeth mentioned this issue Nov 27, 2014
24 tasks
@KronicDeth KronicDeth removed their assignment Nov 27, 2014
@KronicDeth KronicDeth self-assigned this Jan 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant