mirror of
https://github.com/github/semantic.git
synced 2024-12-30 18:36:27 +03:00
Add methodContext field to Declaration.Method
This commit is contained in:
parent
7dce32307d
commit
6e6705db27
@ -15,7 +15,7 @@ instance Show1 Function where liftShowsPrec = genericLiftShowsPrec
|
||||
|
||||
-- TODO: How should we represent function types, where applicable?
|
||||
|
||||
data Method a = Method { methodReceiver :: !a, methodName :: !a, methodParameters :: ![a], methodBody :: !a }
|
||||
data Method a = Method { methodContext :: ![a], methodReceiver :: !a, methodName :: !a, methodParameters :: ![a], methodBody :: !a }
|
||||
deriving (Diffable, Eq, Foldable, Functor, GAlign, Generic1, Show, Traversable)
|
||||
|
||||
instance Eq1 Method where liftEq = genericLiftEq
|
||||
|
Loading…
Reference in New Issue
Block a user