1
1
mirror of https://github.com/github/semantic.git synced 2025-01-03 13:02:37 +03:00

🔥 Declaration.Interface constructor

This commit is contained in:
Rick Winfrey 2017-10-10 13:28:56 -07:00
parent 0be9d6adf2
commit 7dd673ada9
2 changed files with 0 additions and 7 deletions

View File

@ -96,12 +96,6 @@ instance Eq1 Module where liftEq = genericLiftEq
instance Ord1 Module where liftCompare = genericLiftCompare
instance Show1 Module where liftShowsPrec = genericLiftShowsPrec
data Interface a = Interface { interfaceIdentifier :: !a, interfaceBody :: ![a] }
deriving (Diffable, Eq, Foldable, Functor, GAlign, Generic1, Show, Traversable)
instance Eq1 Interface where liftEq = genericLiftEq
instance Show1 Interface where liftShowsPrec = genericLiftShowsPrec
-- | A decorator in Python
data Decorator a = Decorator { decoratorIdentifier :: !a, decoratorParamaters :: ![a], decoratorBody :: !a }
deriving (Diffable, Eq, Foldable, Functor, GAlign, Generic1, Mergeable, Ord, Show, Traversable)

View File

@ -29,7 +29,6 @@ type Syntax =
, Declaration.Constructor
, Declaration.Function
, Declaration.Import
, Declaration.Interface
, Declaration.Method
, Declaration.Module
, Expression.Arithmetic