-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | AST and parser for the ZeroC Slice language (Specification language for ICE) -- -- AST and parser for the ZeroC Slice language (Specification language -- for ICE) @package language-slice @version 0.2.1.0 module Language.Slice.Syntax.AST data IncludeDelimiters AngleBrackets :: IncludeDelimiters Quotes :: IncludeDelimiters data SliceType STVoid :: SliceType STBool :: SliceType STByte :: SliceType STShort :: SliceType STInt :: SliceType STLong :: SliceType STFloat :: SliceType STDouble :: SliceType STString :: SliceType STUserDefined :: String -> SliceType STUserDefinedPrx :: String -> SliceType data SliceVal SliceBool :: Bool -> SliceVal SliceStr :: String -> SliceVal SliceInteger :: Integer -> SliceVal SliceDouble :: Double -> SliceVal SliceIdentifier :: String -> SliceVal data SliceDecl ModuleDecl :: String -> [SliceDecl] -> SliceDecl IncludeDecl :: IncludeDelimiters -> String -> SliceDecl EnumDecl :: String -> [String] -> SliceDecl StructDecl :: String -> [FieldDecl] -> SliceDecl ClassDecl :: String -> (Maybe String) -> [MethodOrFieldDecl] -> SliceDecl InterfaceDecl :: String -> [String] -> [MethodDecl] -> SliceDecl InterfaceFDecl :: String -> SliceDecl SequenceDecl :: SliceType -> String -> SliceDecl DictionaryDecl :: SliceType -> SliceType -> String -> SliceDecl ExceptionDecl :: String -> [String] -> [FieldDecl] -> SliceDecl ConstDecl :: SliceType -> String -> SliceVal -> SliceDecl data Annotation Idempotent :: Annotation data FieldDecl FieldDecl :: SliceType -> String -> (Maybe SliceVal) -> FieldDecl data MethodDecl MethodDecl :: SliceType -> String -> [FieldDecl] -> [String] -> (Maybe Annotation) -> MethodDecl data MethodOrFieldDecl MDecl :: MethodDecl -> MethodOrFieldDecl FDecl :: FieldDecl -> MethodOrFieldDecl instance Show IncludeDelimiters instance Read IncludeDelimiters instance Eq IncludeDelimiters instance Show SliceType instance Read SliceType instance Eq SliceType instance Show SliceVal instance Read SliceVal instance Eq SliceVal instance Show Annotation instance Read Annotation instance Eq Annotation instance Show FieldDecl instance Read FieldDecl instance Eq FieldDecl instance Show MethodDecl instance Read MethodDecl instance Eq MethodDecl instance Show MethodOrFieldDecl instance Read MethodOrFieldDecl instance Eq MethodOrFieldDecl instance Show SliceDecl instance Read SliceDecl instance Eq SliceDecl module Language.Slice.Syntax.Parser parseSlice :: ByteString -> Either String [SliceDecl] parseMethod :: Parser MethodDecl parseField :: Parser FieldDecl parseList :: Parser b -> Parser [b] -- | Run a parser that cannot be resupplied via a Partial result. parseOnly :: Parser a -> ByteString -> Either String a parseType :: Parser SliceType parseSemTermField :: Parser FieldDecl parseConst :: Parser SliceDecl