mirror of
https://github.com/github/semantic.git
synced 2024-12-21 22:01:46 +03:00
Moving things around
This commit is contained in:
parent
1d2bd7342a
commit
e2c2bedde2
@ -144,12 +144,6 @@ scopeResolution = symbol ScopeResolution *> children identifier
|
||||
method :: Assignment
|
||||
method = makeTerm <$> symbol Method <*> children (Declaration.Method <$> methodName <*> pure [] <*> statements)
|
||||
|
||||
-- lvalue :: Assignment
|
||||
-- lvalue = identifier
|
||||
|
||||
-- expression :: Assignment
|
||||
-- expression = identifier <|> statement
|
||||
|
||||
comment :: Assignment
|
||||
comment = makeTerm <$> symbol Comment <*> (Comment.Comment <$> source)
|
||||
|
||||
@ -185,6 +179,12 @@ until' =
|
||||
for :: Assignment
|
||||
for = makeTerm <$> symbol For <*> children (Statement.ForEach <$> identifier <*> statement <*> statements)
|
||||
|
||||
-- lvalue :: Assignment
|
||||
-- lvalue = identifier
|
||||
|
||||
-- expression :: Assignment
|
||||
-- expression = identifier <|> statement
|
||||
|
||||
-- assignment' :: Assignment
|
||||
-- assignment'
|
||||
-- = makeTerm <$> symbol Assignment <*> children (Statement.Assignment <$> lvalue <*> expression)
|
||||
|
Loading…
Reference in New Issue
Block a user