1
1
mirror of https://github.com/github/semantic.git synced 2024-11-24 08:54:07 +03:00

actually add contents to AST

This commit is contained in:
Ayman Nadeem 2020-01-27 14:33:52 -05:00
parent 806b9352a1
commit 1d82bcde1c

View File

@ -1 +1,21 @@
module Language.Python.AST () where
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE DeriveAnyClass #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DeriveTraversable #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE TypeApplications #-}
module Language.Python.AST
( module Language.Python.AST
) where
import Prelude hiding (False, Float, Integer, String, True)
import TreeSitter.GenerateSyntax
import qualified TreeSitter.Python as Grammar
astDeclarationsForLanguage Grammar.tree_sitter_python "../../../vendor/tree-sitter-python/src/node-types.json"