toggle menu
moonlight
1.0-SNAPSHOT
jvm
switch theme
search in API
engine
/
io.github.moonlightsuite.moonlight.io
/
FormulaJSonIO
/
FormulaSerialiser
Formula
Serialiser
public
class
FormulaSerialiser
implements
JsonSerializer
<
T
>
,
FormulaVisitor
<
P
,
M
>
Members
Constructors
Formula
JSon
IO.
Formula
Serialiser
Link copied to clipboard
public
void
FormulaJSonIO.FormulaSerialiser
(
)
Functions
generate
Exception
Link copied to clipboard
public
static
IllegalArgumentException
generateException
(
Class
<
? extends
Object
>
c
)
serialize
Link copied to clipboard
public
JsonElement
serialize
(
Formula
src
,
Type
typeOfSrc
,
JsonSerializationContext
context
)
visit
Link copied to clipboard
public
M
visit
(
EscapeFormula
escapeFormula
,
P
parameters
)
public
M
visit
(
EverywhereFormula
everywhereFormula
,
P
parameters
)
public
M
visit
(
ReachFormula
reachFormula
,
P
parameters
)
public
M
visit
(
SomewhereFormula
somewhereFormula
,
P
parameters
)
public
JsonElement
visit
(
AtomicFormula
atomicFormula
,
JsonSerializationContext
parameters
)
public
JsonElement
visit
(
AndFormula
andFormula
,
JsonSerializationContext
parameters
)
public
JsonElement
visit
(
NegationFormula
negationFormula
,
JsonSerializationContext
parameters
)
public
JsonElement
visit
(
OrFormula
orFormula
,
JsonSerializationContext
parameters
)
public
JsonElement
visit
(
EventuallyFormula
eventuallyFormula
,
JsonSerializationContext
parameters
)
public
JsonElement
visit
(
GloballyFormula
globallyFormula
,
JsonSerializationContext
parameters
)
public
JsonElement
visit
(
HistoricallyFormula
historicallyFormula
,
JsonSerializationContext
parameters
)
public
JsonElement
visit
(
OnceFormula
onceFormula
,
JsonSerializationContext
parameters
)
public
JsonElement
visit
(
SinceFormula
sinceFormula
,
JsonSerializationContext
parameters
)
public
JsonElement
visit
(
UntilFormula
untilFormula
,
JsonSerializationContext
parameters
)