1
1
mirror of https://github.com/github/semantic.git synced 2024-12-27 08:54:14 +03:00

Correct the docs for parseToAST.

This commit is contained in:
Rob Rix 2019-09-26 12:51:10 -04:00
parent 81fca0f6bb
commit 7c40ca0753
No known key found for this signature in database
GPG Key ID: F188A01508EA1CF7

View File

@ -24,8 +24,8 @@ import qualified TreeSitter.Node as TS
import qualified TreeSitter.Parser as TS
import qualified TreeSitter.Tree as TS
-- | Parse 'Source' with the given 'TS.Language' and return its AST.
-- Returns Nothing if the operation timed out.
-- | Parse a 'Blob' with the given 'TS.Language' and return its AST.
-- Returns 'Nothing' if the operation timed out.
parseToAST :: ( Bounded grammar
, Carrier sig m
, Enum grammar