1
1
mirror of https://github.com/github/semantic.git synced 2024-12-31 19:20:19 +03:00

Add term to augmentedAssignmentExpression and add MinusEqual

This commit is contained in:
joshvera 2018-01-25 18:55:28 -05:00
parent 0a1cbef254
commit 7f9b397ede

View File

@ -201,11 +201,12 @@ assignmentExpression :: Assignment
assignmentExpression = makeTerm <$> symbol AssignmentExpression <*> children (Statement.Assignment [] <$> (variable <|> list) <*> (expression <|> variable))
augmentedAssignmentExpression :: Assignment
augmentedAssignmentExpression = makeTerm' <$> symbol AugmentedAssignmentExpression <*> children (infixTerm variable expression [
augmentedAssignmentExpression = makeTerm' <$> symbol AugmentedAssignmentExpression <*> children (infixTerm variable (term expression) [
assign Expression.Power <$ symbol AnonStarStarEqual
, assign Expression.Times <$ symbol AnonStarEqual
, assign Expression.DividedBy <$ symbol AnonSlashEqual
, assign Expression.Plus <$ symbol AnonPlusEqual
, assign Expression.Minus <$ symbol AnonMinusEqual
, assign Expression.Times <$ symbol AnonDotEqual
, assign Expression.LShift <$ symbol AnonLAngleLAngleEqual
, assign Expression.RShift <$ symbol AnonRAngleRAngleEqual