1
1
mirror of https://github.com/github/semantic.git synced 2024-11-23 08:27:56 +03:00

change function name

This commit is contained in:
Ayman Nadeem 2020-01-30 13:44:27 -05:00
parent 9a476cefc1
commit 5f4d11bdf1
6 changed files with 16 additions and 18 deletions

View File

@ -5,11 +5,11 @@ module Language.Go.Grammar
) where
import Language.Haskell.TH
import TreeSitter.Go.Internal
import TreeSitter.Language
import TreeSitter.Go (tree_sitter_go)
import AST.Grammar.TH
-- Regenerate template haskell code when these files change:
addDependentFileRelative "../../../vendor/tree-sitter-go/src/parser.c"
-- | Statically-known rules corresponding to symbols in the grammar.
mkSymbolDatatype (mkName "Grammar") tree_sitter_go
mkStaticallyKnownRuleGrammarData (mkName "Grammar") tree_sitter_go

View File

@ -5,12 +5,11 @@ module Language.Java.Grammar
) where
import Language.Haskell.TH
-- import TreeSitter.Java.Internal
import TreeSitter.Java (tree_sitter_java)
import TreeSitter.Language
import AST.Grammar.TH
-- Regenerate template haskell code when these files change:
addDependentFileRelative "../../../vendor/tree-sitter-java/src/parser.c"
-- | Statically-known rules corresponding to symbols in the grammar.
mkSymbolDatatype (mkName "Grammar") tree_sitter_java
mkStaticallyKnownRuleGrammarData (mkName "Grammar") tree_sitter_java

View File

@ -6,11 +6,10 @@ module Language.JSON.Grammar
import Language.Haskell.TH
import TreeSitter.JSON (tree_sitter_json)
-- import TreeSitter.JSON.Internal
import TreeSitter.Language
import AST.Grammar.TH
-- Regenerate template haskell code when these files change:
addDependentFileRelative "../../../vendor/tree-sitter-json/src/parser.c"
-- | Statically-known rules corresponding to symbols in the grammar.
mkSymbolDatatype (mkName "Grammar") tree_sitter_json
mkStaticallyKnownRuleGrammarData (mkName "Grammar") tree_sitter_json

View File

@ -5,11 +5,11 @@ module Language.Python.Grammar
) where
import Language.Haskell.TH
import TreeSitter.Python.Internal
import TreeSitter.Language
import TreeSitter.Python (tree_sitter_python)
import AST.Grammar.TH
-- Regenerate template haskell code when these files change:
addDependentFileRelative "../../../vendor/tree-sitter-python/src/parser.c"
-- | Statically-known rules corresponding to symbols in the grammar.
mkSymbolDatatype (mkName "Grammar") tree_sitter_python
mkStaticallyKnownRuleGrammarData (mkName "Grammar") tree_sitter_python

View File

@ -5,11 +5,11 @@ module Language.Ruby.Grammar
) where
import Language.Haskell.TH
import TreeSitter.Ruby.Internal
import TreeSitter.Language
import TreeSitter.Ruby (tree_sitter_ruby)
import AST.Grammar.TH
-- Regenerate template haskell code when these files change:
addDependentFileRelative "../../../vendor/tree-sitter-ruby/src/parser.c"
-- | Statically-known rules corresponding to symbols in the grammar.
mkSymbolDatatype (mkName "Grammar") tree_sitter_ruby
mkStaticallyKnownRuleGrammarData (mkName "Grammar") tree_sitter_ruby

View File

@ -5,11 +5,11 @@ module Language.TypeScript.Grammar
) where
import Language.Haskell.TH
import TreeSitter.TypeScript.Internal
import TreeSitter.Language
import TreeSitter.TypeScript (tree_sitter_typescript)
import AST.Grammar.TH
-- Regenerate template haskell code when these files change:
addDependentFileRelative "../../vendor/tree-sitter-typescript/typescript/src/parser.c"
-- | Statically-known rules corresponding to symbols in the grammar.
mkSymbolDatatype (mkName "Grammar") tree_sitter_typescript
mkStaticallyKnownRuleGrammarData (mkName "Grammar") tree_sitter_typescript