1
1
mirror of https://github.com/github/semantic.git synced 2024-12-29 18:06:14 +03:00

use getNodeTypesPath for Java

This commit is contained in:
Ayman Nadeem 2020-02-04 16:31:14 -05:00
parent 21d9ba3ae1
commit 2172c9b37e

View File

@ -15,7 +15,7 @@ module Language.Java.AST
) where
import AST.GenerateSyntax
import qualified Language.Java.Grammar as Grammar
import AST.Token
import qualified TreeSitter.Java as Java
astDeclarationsForLanguage Grammar.tree_sitter_java "../../../vendor/tree-sitter-java/src/node-types.json"
runIO Java.getNodeTypesPath >>= astDeclarationsForLanguage Java.tree_sitter_java