mirror of
https://github.com/github/semantic.git
synced 2024-11-24 08:54:07 +03:00
Add a typescript syntax module & grammar datatype.
This commit is contained in:
parent
99b574cdd1
commit
be9c4a42ff
@ -44,11 +44,12 @@ library
|
||||
, Language
|
||||
, Language.C
|
||||
, Language.JavaScript
|
||||
, Language.TypeScript
|
||||
, Language.Markdown
|
||||
, Language.Go
|
||||
, Language.Ruby
|
||||
, Language.Ruby.Syntax
|
||||
, Language.TypeScript
|
||||
, Language.TypeScript.Syntax
|
||||
, Parser
|
||||
, Patch
|
||||
, Paths_semantic_diff
|
||||
|
9
src/Language/TypeScript/Syntax.hs
Normal file
9
src/Language/TypeScript/Syntax.hs
Normal file
@ -0,0 +1,9 @@
|
||||
{-# LANGUAGE TemplateHaskell #-}
|
||||
module Language.TypeScript.Syntax where
|
||||
|
||||
import Language.Haskell.TH
|
||||
import Text.Parser.TreeSitter.Language
|
||||
import Text.Parser.TreeSitter.TypeScript
|
||||
|
||||
-- | Statically-known rules corresponding to symbols in the grammar.
|
||||
mkSymbolDatatype (mkName "Grammar") tree_sitter_typescript
|
Loading…
Reference in New Issue
Block a user