mirror of
https://github.com/github/semantic.git
synced 2024-12-21 13:51:44 +03:00
Add FieldDecl Syntax
This commit is contained in:
parent
ce8de2b833
commit
9d9e3e295f
@ -98,6 +98,8 @@ data Syntax a f
|
|||||||
| ParameterDecl (Maybe f) f
|
| ParameterDecl (Maybe f) f
|
||||||
-- | A type declaration.
|
-- | A type declaration.
|
||||||
| TypeDecl f f
|
| TypeDecl f f
|
||||||
|
-- | A field declaration.
|
||||||
|
| FieldDecl f (Maybe f)
|
||||||
deriving (Eq, Foldable, Functor, Generic, Generic1, Mergeable, Ord, Show, Traversable, ToJSON)
|
deriving (Eq, Foldable, Functor, Generic, Generic1, Mergeable, Ord, Show, Traversable, ToJSON)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user