1
1
mirror of https://github.com/github/semantic.git synced 2024-12-01 00:33:59 +03:00

reformat Format

This commit is contained in:
Ayman Nadeem 2019-10-10 13:13:51 -04:00
parent fc97a71b1e
commit b83e28b8de

View File

@ -28,12 +28,13 @@ generateAST (SemanticAST file _) = do
print =<< parseByteString @TreeSitter.Python.AST.Module @(Range, Span) tree_sitter_python bytestring
-- TODO: Define formats for json, sexpression, etc.
data Format = Show deriving (Read)
data SemanticAST = SemanticAST
{ sourceFilePath :: Prelude.String
, format :: Format
}
data Format = Show
deriving (Read)
data Input
= FileInput FilePath