mirror of
https://github.com/github/semantic.git
synced 2024-12-21 13:51:44 +03:00
Remove until'
This commit is contained in:
parent
8e9999a219
commit
11f452eb36
@ -839,11 +839,6 @@ while' =
|
|||||||
makeTerm <$> symbol While <*> children (Statement.While <$> expression <*> expressions)
|
makeTerm <$> symbol While <*> children (Statement.While <$> expression <*> expressions)
|
||||||
<|> makeTerm <$> symbol WhileModifier <*> children (flip Statement.While <$> expression <*> expression)
|
<|> makeTerm <$> symbol WhileModifier <*> children (flip Statement.While <$> expression <*> expression)
|
||||||
|
|
||||||
until' :: Assignment
|
|
||||||
until' =
|
|
||||||
makeTerm <$> symbol Until <*> children (Statement.While <$> invert expression <*> expressions)
|
|
||||||
<|> makeTerm <$> symbol UntilModifier <*> children (flip Statement.While <$> expression <*> invert expression)
|
|
||||||
|
|
||||||
for :: Assignment
|
for :: Assignment
|
||||||
for = makeTerm <$> symbol For <*> children (Statement.ForEach <$> vars <*> expression <*> expressions)
|
for = makeTerm <$> symbol For <*> children (Statement.ForEach <$> vars <*> expression <*> expressions)
|
||||||
where vars = makeTerm <$> location <*> some expression
|
where vars = makeTerm <$> location <*> some expression
|
||||||
|
Loading…
Reference in New Issue
Block a user