mirror of
https://github.com/github/semantic.git
synced 2025-01-02 12:23:08 +03:00
Add VarDecl/VarAssignment to Syntax
This commit is contained in:
parent
bc50df3cc6
commit
1b1682c57c
@ -32,4 +32,6 @@ data Syntax
|
|||||||
-- | The list of arguments to a method call.
|
-- | The list of arguments to a method call.
|
||||||
-- | TODO: It might be worth removing this and using Fixed instead.
|
-- | TODO: It might be worth removing this and using Fixed instead.
|
||||||
| Args [f]
|
| Args [f]
|
||||||
|
| VarDecl f
|
||||||
|
| VarAssignment { varId :: f, varValue :: f }
|
||||||
deriving (Functor, Show, Eq, Foldable, Traversable)
|
deriving (Functor, Show, Eq, Foldable, Traversable)
|
||||||
|
Loading…
Reference in New Issue
Block a user