From 407e41489cc22fbf0518fd370530f8857b8c3ed0 Mon Sep 17 00:00:00 2001 From: Josh Rahm Date: Thu, 3 Oct 2024 18:23:50 -0600 Subject: Clean up warnings and remove unused files. --- src/Language/Fiddle/Ast/FileInterface.hs | 38 -------------------------------- 1 file changed, 38 deletions(-) delete mode 100644 src/Language/Fiddle/Ast/FileInterface.hs (limited to 'src/Language/Fiddle/Ast/FileInterface.hs') diff --git a/src/Language/Fiddle/Ast/FileInterface.hs b/src/Language/Fiddle/Ast/FileInterface.hs deleted file mode 100644 index c1cfac8..0000000 --- a/src/Language/Fiddle/Ast/FileInterface.hs +++ /dev/null @@ -1,38 +0,0 @@ -module Language.Fiddle.Ast.FileInterface where - --- Definitions for file interfaces. These interfaces contain an abstract --- representation of the symbols and information exported by a fiddle file. --- These interfaces are also serializable, and when compiling a fiddle file, all --- the import statements should supply an fdi (fiddle interface) file to speed --- up subsequent compilations. - -import Data.Text -import Data.Word - -data ObjectType = ObjectType - { objectTypeSize :: Word32 - } - -data Metatype - = Object - { objectLocation :: Word64, - objectType :: Text - } - | Type - { typeSizeBytes :: Word32 - } - -data Element a = Element - { elementFullyQualifiedSymbol :: Text, - elementDocumentation :: Maybe Text, - elementMetatype :: Metatype, - elementAnnotation :: a - } - -data ResolvedImport a = ResolvedImport { - dependencies :: [String] -} - -data FileInterface a = FiddleInterface - { exportedElements :: [Element a] - } -- cgit