Expand description
Defines the interface of the JSON Specification for various versions. The versions are gated using features.
The interfaces are implemented as serde
-structs, which can be
serialized to- and deserialized from specification-compliant JSON.
Modules§
- Defines practical structs that are extremely convenient and spec-compliant, but not necessary mentioned in it.
- Defines Rust errors, which are not part of the spec but generated by it.
Structs§
- Defines how to give a range of values as a domain for an atomic fact.
- Defines how to give a set of values as a domain for an atomic fact.
- Represents common fields for all duty-like definition phrases.
- Represents an error returned by the server.
- Represents common fields for all event-like definition phrases.
- Defines a constructor application in eFLINT.
- Defines an iterator expression in eFLINT.
- Defines an operator application in eFLINT.
- Defines a type projection in eFLINT.
- Represents a variable reference in eFLINT.
- Defines an automatic transition between Facts instantiated by a particular actor, e.g.,
- Represents the definition of an atomic Fact, e.g.,
- Represents a boolean query within eFLINT, e.g.,
- Represents the definition of a composite Fact, e.g.,
- Represents a true-postulation within eFLINT, e.g.,
- Defines an obligation that two actors have, e.g.,
- Defines an automatic transition between Facts, e.g.,
- Defines an extension to an existing Act, e.g.,
- Defines an extension to an existing Act, e.g.,
- Defines an extension to an existing Event, e.g.,
- Defines an extension to an existing Fact, e.g.,
- Represents an instance query within eFLINT, e.g.,
- Represents the removal of postulation within eFLINT, e.g.,
- Represents a Placeholder definition for Fact for e.g.,
- Represents a predicate that can be queried but not instantiated, e.g.,
- Defines the result given by the server when a boolean query is processed.
- Defines the fields common to all PhraseResult variants.
- Defines the result given by the server when an instance query is processed.
- Defines state changes that are induced after executing a Phrase.
- Represents a false-postulation within eFLINT, e.g.,
- Represents the execution of an Event or Act, e.g.,
- Determines the common fields for all requests.
- Represents a Handshake-request.
- Represents an Inspect-request.
- Represents a Phrases-request.
- Represents a Ping-request.
- Determines the common fields for all responses.
- Represents the reply to a Handshake-request.
- Represents the reply to an Inspect-request.
- Represents the reply to a Phrases-request.
- Represents the reply to a Ping-request.
- Encodes the trigger of an Event or Act that occurs when running an eFLINT spec.
- Represents common fields for all type definition phrases.
- Encodes a violation that occurs when running an eFLINT spec.
Enums§
- Defines the input to a constructor application.
- Defines how to specify a closed domain of an atomic eFLINT Fact when we declare it.
- Defines an eFLINT expression that evaluates to a value.
- Represents a primitive eFLINT type.
- Represents an eFLINT statement, essentially.
- Defines an extension to an existing type, e.g.,
- Defines the execution result of a particular
Phrase
. - The toplevel request of the JSON specification.