mirror of
https://github.com/github/semantic.git
synced 2025-01-04 21:47:07 +03:00
Derive an AcessControls instance for TypeScript.Term.
This commit is contained in:
parent
dbc12c4ee6
commit
293c2f77df
@ -23,10 +23,12 @@ import qualified Language.Ruby.Syntax as Ruby
|
||||
import qualified Language.TSX.Syntax as TSX
|
||||
import qualified Language.TSX.Term as TSX
|
||||
import qualified Language.TypeScript.Syntax as TypeScript
|
||||
import qualified Language.TypeScript.Term as TypeScript
|
||||
import Data.Quieterm
|
||||
|
||||
deriving instance AccessControls1 syntax => AccessControls (Term syntax ann)
|
||||
deriving instance AccessControls (TSX.Term ann)
|
||||
deriving instance AccessControls (TypeScript.Term ann)
|
||||
|
||||
instance (AccessControls recur, AccessControls1 syntax) => AccessControls (TermF syntax ann recur) where
|
||||
termToAccessControl = liftTermToAccessControl termToAccessControl . termFOut
|
||||
|
Loading…
Reference in New Issue
Block a user