mirror of
https://github.com/github/semantic.git
synced 2024-12-20 21:31:48 +03:00
Reflow Method
data declaration and add methodAccessibility
field
This commit is contained in:
parent
22102308a0
commit
668afa20a5
@ -72,7 +72,12 @@ instance FreeVariables1 Function where
|
||||
liftFreeVariables freeVariables f@Function{..} = foldMap freeVariables f `Set.difference` foldMap freeVariables functionParameters
|
||||
|
||||
|
||||
data Method a = Method { methodContext :: ![a], methodReceiver :: !a, methodName :: !a, methodParameters :: ![a], methodBody :: !a }
|
||||
data Method a = Method { methodContext :: [a]
|
||||
, methodAccessibility :: a
|
||||
, methodReceiver :: a
|
||||
, methodName :: a
|
||||
, methodParameters :: [a]
|
||||
, methodBody :: a }
|
||||
deriving (Eq, Ord, Show, Foldable, Traversable, Functor, Generic1, Hashable1, ToJSONFields1, Named1, Message1, NFData1)
|
||||
|
||||
instance Eq1 Method where liftEq = genericLiftEq
|
||||
|
Loading…
Reference in New Issue
Block a user