1
1
mirror of https://github.com/github/semantic.git synced 2024-12-30 18:36:27 +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.
-- | TODO: It might be worth removing this and using Fixed instead.
| Args [f]
| VarDecl f
| VarAssignment { varId :: f, varValue :: f }
deriving (Functor, Show, Eq, Foldable, Traversable)