mirror of
https://github.com/github/semantic.git
synced 2024-12-01 00:33:59 +03:00
reformat Format
This commit is contained in:
parent
fc97a71b1e
commit
b83e28b8de
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user