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:
parent
81fca0f6bb
commit
7c40ca0753
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user