Hets - the Heterogeneous Tool Set

Copyright(c) Uni Bremen 2002-2008
LicenseGPLv2 or higher, see LICENSE.txt
Maintainerr.pascanu@gmail.com
Stabilityprovisional
Portabilitynon-portable (imports Logic)
Safe HaskellNone

Interfaces.DataTypes

Description

Different data structures that are (or should be) shared by all interfaces of Hets

Synopsis

Documentation

data IntState

Internal state of the interface, it contains the development graph and a full history. While this in most cases describes the state of development graph at a given time for GUI it is not the same for the PGIP ( it does not describe selected nodes). If one switches from one interface to the other passing this informations should be sufficient with minimal loss of information ( like selected nodes, unfinished script .. and so on)

Constructors

IntState 

Fields

i_hist :: IntHistory

global history management

i_state :: Maybe IntIState

internal state

filename :: String
 

Instances

data IntHistory

Contains the detailed global history as two list, a list of actions for undo, and a list of action for redo commands

Constructors

IntHistory 

Instances

data CmdHistory

Contains command description needed for undo/redo actions and for displaying commands in the history

Constructors

CmdHistory 

Instances

data IntIState

full description of the internal state required by all interfaces

Instances

data Int_NodeInfo

Constructors

Element ProofState Int 

Instances

data UndoRedoElem

History elements for the proof state, only LibName would be used by GUI because it keeps track only to changes to the development graph, the other are for PGIP but in order to integrate both they should use same structure

Instances