Package de.monticore.types.check
Class CompKindExpressionDeSer
java.lang.Object
de.monticore.types.check.CompKindExpressionDeSer
Serializes and deserializes
CompKindExpressions from and to their Json encoding.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CompKindOfComponentTypeDeSerprotected CompKindOfGenericComponentTypeDeSer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeserialize(@NonNull ICompSymbolsScope scope, @NonNull de.monticore.symboltable.serialization.json.JsonElement serialized) Deserialize aCompKindExpressionfrom its Json representation.deserialize(@NonNull ICompSymbolsScope scope, @NonNull String serializedInJson) Deserialize aCompKindExpressionfrom its Json encoding.protected IllegalStateExceptionmissingDeSerException(@NonNull de.monticore.symboltable.serialization.json.JsonObject unloadableElement) protected IllegalStateExceptionmissingDeSerException(@NonNull CompKindExpression unsaveableElement) protected IllegalStateExceptionmissingDeSerException(@NonNull String CompKindExpressionKind) serialize(@NonNull CompKindExpression toSerialize)
-
Field Details
-
kindOfComponentDeSer
-
kindOfGenericComponentDeSer
-
-
Constructor Details
-
CompKindExpressionDeSer
public CompKindExpressionDeSer()
-
-
Method Details
-
serialize
- Parameters:
toSerialize-CompKindExpressionto serialize as Json- Returns:
- Json encoded version of the
CompKindExpression.
-
deserialize
public CompKindExpression deserialize(@NonNull ICompSymbolsScope scope, @NonNull String serializedInJson) Deserialize aCompKindExpressionfrom its Json encoding. -
deserialize
public CompKindExpression deserialize(@NonNull ICompSymbolsScope scope, @NonNull de.monticore.symboltable.serialization.json.JsonElement serialized) Deserialize aCompKindExpressionfrom its Json representation. -
missingDeSerException
protected IllegalStateException missingDeSerException(@NonNull de.monticore.symboltable.serialization.json.JsonObject unloadableElement) -
missingDeSerException
protected IllegalStateException missingDeSerException(@NonNull CompKindExpression unsaveableElement) -
missingDeSerException
-