1
1
mirror of https://github.com/github/semantic.git synced 2024-11-24 08:54:07 +03:00

formatting

This commit is contained in:
joshvera 2020-02-07 18:13:43 -05:00
parent c3e8a15b81
commit fe18cdaed2

View File

@ -232,6 +232,7 @@ instance ToScopeGraph Py.Integer where scopeGraph = mempty
instance ToScopeGraph Py.ImportStatement where scopeGraph = todo instance ToScopeGraph Py.ImportStatement where scopeGraph = todo
instance ToScopeGraph Py.ImportFromStatement where instance ToScopeGraph Py.ImportFromStatement where
scopeGraph (Py.ImportFromStatement _ [] (L1 (Py.DottedName _ names)) (Just (Py.WildcardImport _ _))) = do scopeGraph (Py.ImportFromStatement _ [] (L1 (Py.DottedName _ names)) (Just (Py.WildcardImport _ _))) = do
let toName (Py.Identifier _ name) = Name.name name let toName (Py.Identifier _ name) = Name.name name
@ -248,7 +249,6 @@ instance ToScopeGraph Py.ImportFromStatement where
complete complete
instance ToScopeGraph Py.Lambda where scopeGraph = todo instance ToScopeGraph Py.Lambda where scopeGraph = todo
instance ToScopeGraph Py.List where scopeGraph = onChildren instance ToScopeGraph Py.List where scopeGraph = onChildren