mirror of
https://github.com/github/semantic.git
synced 2024-12-18 04:11:48 +03:00
Add a Leaf type with some constructors.
This commit is contained in:
parent
af0ebfa696
commit
9a4d1725fc
@ -22,6 +22,10 @@ main = do
|
||||
return (a', b')
|
||||
return ()
|
||||
|
||||
data Leaf =
|
||||
HsQName HsQName
|
||||
| HsCName HsCName
|
||||
|
||||
parseModuleFile :: FilePath -> IO (ParseResult HsModule)
|
||||
parseModuleFile file = do
|
||||
contents <- readFile file
|
||||
|
Loading…
Reference in New Issue
Block a user