mirror of
https://github.com/github/semantic.git
synced 2024-12-29 18:06:14 +03:00
derive Read instance
This commit is contained in:
parent
7c221edcb7
commit
54d4cb9111
@ -27,7 +27,7 @@ generateAST (SemanticAST file _) = do
|
||||
bytestring <- Data.ByteString.readFile file
|
||||
print =<< parseByteString @TreeSitter.Python.AST.Module @(Range, Span) tree_sitter_python bytestring
|
||||
-- TODO: Define formats for json, sexpression, etc.
|
||||
data Format = Show
|
||||
data Format = Show deriving (Read)
|
||||
|
||||
data SemanticAST = SemanticAST
|
||||
{ sourceFilePath :: Prelude.String
|
||||
|
Loading…
Reference in New Issue
Block a user