mirror of
https://github.com/github/semantic.git
synced 2025-01-04 21:47:07 +03:00
Derive an AccessControls instance for TSX.Term.
This commit is contained in:
parent
cbb366235d
commit
78e332d5ba
@ -21,10 +21,12 @@ import qualified Language.PHP.Syntax as PHP
|
||||
import qualified Language.Python.Syntax as Python
|
||||
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 Data.Quieterm
|
||||
|
||||
deriving instance AccessControls1 syntax => AccessControls (Term syntax ann)
|
||||
deriving instance AccessControls (TSX.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