1
1
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:
joshvera 2016-06-14 17:44:10 -07:00
parent bc50df3cc6
commit 1b1682c57c

View File

@ -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)