mirror of
https://github.com/github/semantic.git
synced 2024-12-22 14:21:31 +03:00
Add TypeScript.Grammar
This commit is contained in:
parent
1f3a8ec26f
commit
59a42346c5
10
src/Language/TypeScript/Grammar.hs
Normal file
10
src/Language/TypeScript/Grammar.hs
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{-# LANGUAGE TemplateHaskell #-}
|
||||||
|
module Language.TypeScript.Grammar where
|
||||||
|
|
||||||
|
import Language.Haskell.TH
|
||||||
|
import Text.Parser.TreeSitter.Language
|
||||||
|
import Text.Parser.TreeSitter.TypeScript
|
||||||
|
|
||||||
|
-- | Statically-known rules corresponding to symbols in the grammar.
|
||||||
|
-- v2 - bump this to regenerate
|
||||||
|
mkSymbolDatatype (mkName "Grammar") tree_sitter_typescript
|
Loading…
Reference in New Issue
Block a user