Hets - the Heterogeneous Tool Set
Copyright(c) Klaus Luettich Uni Bremen 2002-2016
LicenseGPLv2 or higher, see LICENSE.txt
Maintainertill@informatik.uni-bremen.de
Stabilityprovisional
Portabilitynon-portable(Grothendieck)
Safe HaskellNone

Syntax.AS_Structured

Description

Abstract syntax of HetCASL (heterogeneous) structured specifications Follows Sect. II:2.2.3 of the CASL Reference Manual. Abstract syntax of DOL OMS and networks Follows the DOL OMG standard, clauses 9.4, 9.5, M.2 and M.3

Synopsis

Documentation

data SPEC Source #

Instances

Instances details
Show SPEC Source # 
Instance details

Defined in Syntax.AS_Structured

Methods

showsPrec :: Int -> SPEC -> ShowS

show :: SPEC -> String

showList :: [SPEC] -> ShowS

GetRange SPEC Source # 
Instance details

Defined in Syntax.AS_Structured

PrettyLG SPEC Source # 
Instance details

Defined in Syntax.Print_AS_Structured

ShATermLG SPEC Source # 
Instance details

Defined in ATC.AS_Structured

Methods

toShATermLG :: ATermTable -> SPEC -> IO (ATermTable, Int) Source #

fromShATermLG :: LogicGraph -> Int -> ATermTable -> (ATermTable, SPEC) Source #

ATermConvertibleSML SPEC Source # 
Instance details

Defined in ATC.Sml_cats

Methods

from_sml_ShATerm :: ATermTable -> SPEC

from_sml_ShATermList :: ATermTable -> [SPEC]

data Network Source #

Instances

Instances details
Eq Network Source # 
Instance details

Defined in Syntax.AS_Structured

Methods

(==) :: Network -> Network -> Bool

(/=) :: Network -> Network -> Bool

Show Network Source # 
Instance details

Defined in Syntax.AS_Structured

Methods

showsPrec :: Int -> Network -> ShowS

show :: Network -> String

showList :: [Network] -> ShowS

GetRange Network Source # 
Instance details

Defined in Syntax.AS_Structured

Pretty Network Source # 
Instance details

Defined in Syntax.Print_AS_Structured

ShATermLG Network Source # 
Instance details

Defined in ATC.AS_Structured

Methods

toShATermLG :: ATermTable -> Network -> IO (ATermTable, Int) Source #

fromShATermLG :: LogicGraph -> Int -> ATermTable -> (ATermTable, Network) Source #

data FILTERING Source #

Instances

Instances details
Eq FILTERING Source # 
Instance details

Defined in Syntax.AS_Structured

Methods

(==) :: FILTERING -> FILTERING -> Bool

(/=) :: FILTERING -> FILTERING -> Bool

Show FILTERING Source # 
Instance details

Defined in Syntax.AS_Structured

Methods

showsPrec :: Int -> FILTERING -> ShowS

show :: FILTERING -> String

showList :: [FILTERING] -> ShowS

GetRange FILTERING Source # 
Instance details

Defined in Syntax.AS_Structured

Pretty FILTERING Source # 
Instance details

Defined in Syntax.Print_AS_Structured

ShATermLG FILTERING Source # 
Instance details

Defined in ATC.AS_Structured

Methods

toShATermLG :: ATermTable -> FILTERING -> IO (ATermTable, Int) Source #

fromShATermLG :: LogicGraph -> Int -> ATermTable -> (ATermTable, FILTERING) Source #

data EXTRACTION Source #

Constructors

ExtractOrRemove Bool [IRI] Range 

Instances

Instances details
Eq EXTRACTION Source # 
Instance details

Defined in Syntax.AS_Structured

Methods

(==) :: EXTRACTION -> EXTRACTION -> Bool

(/=) :: EXTRACTION -> EXTRACTION -> Bool

Show EXTRACTION Source # 
Instance details

Defined in Syntax.AS_Structured

Methods

showsPrec :: Int -> EXTRACTION -> ShowS

show :: EXTRACTION -> String

showList :: [EXTRACTION] -> ShowS

GetRange EXTRACTION Source # 
Instance details

Defined in Syntax.AS_Structured

Pretty EXTRACTION Source # 
Instance details

Defined in Syntax.Print_AS_Structured

ShATermLG EXTRACTION Source # 
Instance details

Defined in ATC.AS_Structured

Methods

toShATermLG :: ATermTable -> EXTRACTION -> IO (ATermTable, Int) Source #

fromShATermLG :: LogicGraph -> Int -> ATermTable -> (ATermTable, EXTRACTION) Source #

data APPROXIMATION Source #

Constructors

ForgetOrKeep Bool [G_hiding] (Maybe IRI) Range 

Instances

Instances details
Eq APPROXIMATION Source # 
Instance details

Defined in Syntax.AS_Structured

Show APPROXIMATION Source # 
Instance details

Defined in Syntax.AS_Structured

Methods

showsPrec :: Int -> APPROXIMATION -> ShowS

show :: APPROXIMATION -> String

showList :: [APPROXIMATION] -> ShowS

GetRange APPROXIMATION Source # 
Instance details

Defined in Syntax.AS_Structured

Pretty APPROXIMATION Source # 
Instance details

Defined in Syntax.Print_AS_Structured

ShATermLG APPROXIMATION Source # 
Instance details

Defined in ATC.AS_Structured

Methods

toShATermLG :: ATermTable -> APPROXIMATION -> IO (ATermTable, Int) Source #

fromShATermLG :: LogicGraph -> Int -> ATermTable -> (ATermTable, APPROXIMATION) Source #

data MINIMIZATION Source #

Constructors

Mini Token [IRI] [IRI] Range 

Instances

Instances details
Eq MINIMIZATION Source # 
Instance details

Defined in Syntax.AS_Structured

Methods

(==) :: MINIMIZATION -> MINIMIZATION -> Bool

(/=) :: MINIMIZATION -> MINIMIZATION -> Bool

Show MINIMIZATION Source # 
Instance details

Defined in Syntax.AS_Structured

Methods

showsPrec :: Int -> MINIMIZATION -> ShowS

show :: MINIMIZATION -> String

showList :: [MINIMIZATION] -> ShowS

GetRange MINIMIZATION Source # 
Instance details

Defined in Syntax.AS_Structured

Pretty MINIMIZATION Source # 
Instance details

Defined in Syntax.Print_AS_Structured

ShATermLG MINIMIZATION Source # 
Instance details

Defined in ATC.AS_Structured

Methods

toShATermLG :: ATermTable -> MINIMIZATION -> IO (ATermTable, Int) Source #

fromShATermLG :: LogicGraph -> Int -> ATermTable -> (ATermTable, MINIMIZATION) Source #

data RENAMING Source #

Constructors

Renaming [G_mapping] Range 

Instances

Instances details
Eq RENAMING Source # 
Instance details

Defined in Syntax.AS_Structured

Methods

(==) :: RENAMING -> RENAMING -> Bool

(/=) :: RENAMING -> RENAMING -> Bool

Show RENAMING Source # 
Instance details

Defined in Syntax.AS_Structured

Methods

showsPrec :: Int -> RENAMING -> ShowS

show :: RENAMING -> String

showList :: [RENAMING] -> ShowS

GetRange RENAMING Source # 
Instance details

Defined in Syntax.AS_Structured

Pretty RENAMING Source # 
Instance details

Defined in Syntax.Print_AS_Structured

ShATermLG RENAMING Source # 
Instance details

Defined in ATC.AS_Structured

Methods

toShATermLG :: ATermTable -> RENAMING -> IO (ATermTable, Int) Source #

fromShATermLG :: LogicGraph -> Int -> ATermTable -> (ATermTable, RENAMING) Source #

ATermConvertibleSML RENAMING Source # 
Instance details

Defined in ATC.Sml_cats

Methods

from_sml_ShATerm :: ATermTable -> RENAMING

from_sml_ShATermList :: ATermTable -> [RENAMING]

data RESTRICTION Source #

Instances

Instances details
Eq RESTRICTION Source # 
Instance details

Defined in Syntax.AS_Structured

Methods

(==) :: RESTRICTION -> RESTRICTION -> Bool

(/=) :: RESTRICTION -> RESTRICTION -> Bool

Show RESTRICTION Source # 
Instance details

Defined in Syntax.AS_Structured

Methods

showsPrec :: Int -> RESTRICTION -> ShowS

show :: RESTRICTION -> String

showList :: [RESTRICTION] -> ShowS

GetRange RESTRICTION Source # 
Instance details

Defined in Syntax.AS_Structured

Pretty RESTRICTION Source # 
Instance details

Defined in Syntax.Print_AS_Structured

ShATermLG RESTRICTION Source # 
Instance details

Defined in ATC.AS_Structured

Methods

toShATermLG :: ATermTable -> RESTRICTION -> IO (ATermTable, Int) Source #

fromShATermLG :: LogicGraph -> Int -> ATermTable -> (ATermTable, RESTRICTION) Source #

ATermConvertibleSML RESTRICTION Source # 
Instance details

Defined in ATC.Sml_cats

Methods

from_sml_ShATerm :: ATermTable -> RESTRICTION

from_sml_ShATermList :: ATermTable -> [RESTRICTION]

data G_mapping Source #

Instances

Instances details
Eq G_mapping Source # 
Instance details

Defined in Syntax.AS_Structured

Methods

(==) :: G_mapping -> G_mapping -> Bool

(/=) :: G_mapping -> G_mapping -> Bool

Show G_mapping Source # 
Instance details

Defined in Syntax.AS_Structured

Methods

showsPrec :: Int -> G_mapping -> ShowS

show :: G_mapping -> String

showList :: [G_mapping] -> ShowS

GetRange G_mapping Source # 
Instance details

Defined in Syntax.AS_Structured

Pretty G_mapping Source # 
Instance details

Defined in Syntax.Print_AS_Structured

ShATermLG G_mapping Source # 
Instance details

Defined in ATC.AS_Structured

Methods

toShATermLG :: ATermTable -> G_mapping -> IO (ATermTable, Int) Source #

fromShATermLG :: LogicGraph -> Int -> ATermTable -> (ATermTable, G_mapping) Source #

data G_hiding Source #

Instances

Instances details
Eq G_hiding Source # 
Instance details

Defined in Syntax.AS_Structured

Methods

(==) :: G_hiding -> G_hiding -> Bool

(/=) :: G_hiding -> G_hiding -> Bool

Show G_hiding Source # 
Instance details

Defined in Syntax.AS_Structured

Methods

showsPrec :: Int -> G_hiding -> ShowS

show :: G_hiding -> String

showList :: [G_hiding] -> ShowS

GetRange G_hiding Source # 
Instance details

Defined in Syntax.AS_Structured

Pretty G_hiding Source # 
Instance details

Defined in Syntax.Print_AS_Structured

ShATermLG G_hiding Source # 
Instance details

Defined in ATC.AS_Structured

Methods

toShATermLG :: ATermTable -> G_hiding -> IO (ATermTable, Int) Source #

fromShATermLG :: LogicGraph -> Int -> ATermTable -> (ATermTable, G_hiding) Source #

data FIT_ARG Source #

Instances

Instances details
Show FIT_ARG Source # 
Instance details

Defined in Syntax.AS_Structured

Methods

showsPrec :: Int -> FIT_ARG -> ShowS

show :: FIT_ARG -> String

showList :: [FIT_ARG] -> ShowS

GetRange FIT_ARG Source # 
Instance details

Defined in Syntax.AS_Structured

PrettyLG FIT_ARG Source # 
Instance details

Defined in Syntax.Print_AS_Structured

ShATermLG FIT_ARG Source # 
Instance details

Defined in ATC.AS_Structured

Methods

toShATermLG :: ATermTable -> FIT_ARG -> IO (ATermTable, Int) Source #

fromShATermLG :: LogicGraph -> Int -> ATermTable -> (ATermTable, FIT_ARG) Source #

ATermConvertibleSML FIT_ARG Source # 
Instance details

Defined in ATC.Sml_cats

Methods

from_sml_ShATerm :: ATermTable -> FIT_ARG

from_sml_ShATermList :: ATermTable -> [FIT_ARG]

data LogicDescr Source #

a logic with serialization or a DOL qualification

Instances

Instances details
Show LogicDescr Source # 
Instance details

Defined in Syntax.AS_Structured

Methods

showsPrec :: Int -> LogicDescr -> ShowS

show :: LogicDescr -> String

showList :: [LogicDescr] -> ShowS

GetRange LogicDescr Source # 
Instance details

Defined in Syntax.AS_Structured

Pretty LogicDescr Source # 
Instance details

Defined in Syntax.Print_AS_Structured

ShATermLG LogicDescr Source # 
Instance details

Defined in ATC.AS_Structured

Methods

toShATermLG :: ATermTable -> LogicDescr -> IO (ATermTable, Int) Source #

fromShATermLG :: LogicGraph -> Int -> ATermTable -> (ATermTable, LogicDescr) Source #

data Logic_code Source #

Constructors

Logic_code (Maybe String) (Maybe Logic_name) (Maybe Logic_name) Range 

Instances

Instances details
Eq Logic_code Source # 
Instance details

Defined in Syntax.AS_Structured

Methods

(==) :: Logic_code -> Logic_code -> Bool

(/=) :: Logic_code -> Logic_code -> Bool

Show Logic_code Source # 
Instance details

Defined in Syntax.AS_Structured

Methods

showsPrec :: Int -> Logic_code -> ShowS

show :: Logic_code -> String

showList :: [Logic_code] -> ShowS

GetRange Logic_code Source # 
Instance details

Defined in Syntax.AS_Structured

Pretty Logic_code Source # 
Instance details

Defined in Syntax.Print_AS_Structured

ShATermLG Logic_code Source # 
Instance details

Defined in ATC.AS_Structured

Methods

toShATermLG :: ATermTable -> Logic_code -> IO (ATermTable, Int) Source #

fromShATermLG :: LogicGraph -> Int -> ATermTable -> (ATermTable, Logic_code) Source #

data Logic_name Source #

Constructors

Logic_name String (Maybe Token) (Maybe SPEC_NAME) 

Instances

Instances details
Eq Logic_name Source # 
Instance details

Defined in Syntax.AS_Structured

Methods

(==) :: Logic_name -> Logic_name -> Bool

(/=) :: Logic_name -> Logic_name -> Bool

Show Logic_name Source # 
Instance details

Defined in Syntax.AS_Structured

Methods

showsPrec :: Int -> Logic_name -> ShowS

show :: Logic_name -> String

showList :: [Logic_name] -> ShowS

GetRange Logic_name Source # 
Instance details

Defined in Syntax.AS_Structured

Pretty Logic_name Source # 
Instance details

Defined in Syntax.Print_AS_Structured

ShATermLG Logic_name Source # 
Instance details

Defined in ATC.AS_Structured

Methods

toShATermLG :: ATermTable -> Logic_name -> IO (ATermTable, Int) Source #

fromShATermLG :: LogicGraph -> Int -> ATermTable -> (ATermTable, Logic_name) Source #

data CORRESPONDENCE Source #

Instances

Instances details
Eq CORRESPONDENCE Source # 
Instance details

Defined in Syntax.AS_Structured

Show CORRESPONDENCE Source # 
Instance details

Defined in Syntax.AS_Structured

Methods

showsPrec :: Int -> CORRESPONDENCE -> ShowS

show :: CORRESPONDENCE -> String

showList :: [CORRESPONDENCE] -> ShowS

GetRange CORRESPONDENCE Source # 
Instance details

Defined in Syntax.AS_Structured

Pretty CORRESPONDENCE Source # 
Instance details

Defined in Syntax.Print_AS_Library

ShATermLG CORRESPONDENCE Source # 
Instance details

Defined in ATC.AS_Structured

Methods

toShATermLG :: ATermTable -> CORRESPONDENCE -> IO (ATermTable, Int) Source #

fromShATermLG :: LogicGraph -> Int -> ATermTable -> (ATermTable, CORRESPONDENCE) Source #

data RELATION_REF Source #

Instances

Instances details
Eq RELATION_REF Source # 
Instance details

Defined in Syntax.AS_Structured

Methods

(==) :: RELATION_REF -> RELATION_REF -> Bool

(/=) :: RELATION_REF -> RELATION_REF -> Bool

Show RELATION_REF Source # 
Instance details

Defined in Syntax.AS_Structured

Methods

showsPrec :: Int -> RELATION_REF -> ShowS

show :: RELATION_REF -> String

showList :: [RELATION_REF] -> ShowS

GetRange RELATION_REF Source # 
Instance details

Defined in Syntax.AS_Structured

ShATermLG RELATION_REF Source # 
Instance details

Defined in ATC.AS_Structured

Methods

toShATermLG :: ATermTable -> RELATION_REF -> IO (ATermTable, Int) Source #

fromShATermLG :: LogicGraph -> Int -> ATermTable -> (ATermTable, RELATION_REF) Source #

type CONFIDENCE = Double Source #

Orphan instances

GetRange Double Source # 
Instance details

Methods

getRange :: Double -> Range Source #

rangeSpan :: Double -> [Pos] Source #