Package de.monticore.symboltable
Class SymbolWithScopeOfUnknownKindDeSer
java.lang.Object
de.monticore.symboltable.SymbolWithScopeOfUnknownKindDeSer
- All Implemented Interfaces:
ISymbolDeSer<SymbolWithScopeOfUnknownKind,Object>
public class SymbolWithScopeOfUnknownKindDeSer
extends Object
implements ISymbolDeSer<SymbolWithScopeOfUnknownKind,Object>
A deserializer for a
SymbolWithScopeOfUnknownKind.
This DeSer only supports deserialization. Calling serialize(SymbolWithScopeOfUnknownKind, Object) will
fail.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSymbolWithScopeOfUnknownKindDeSer(IDeSer<?, ?, ?> parent, Supplier<IScope> scopeFactory) Creates a newSymbolWithScopeOfUnknownKindDeSer. -
Method Summary
Modifier and TypeMethodDescriptiondeserialize(JsonObject symbolJson) Deserialize a passed Json Object to an instance of the type Tserialize(SymbolWithScopeOfUnknownKind toSerialize, Object s2j) serialize a passed object to a String that is returned.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.monticore.symboltable.serialization.ISymbolDeSer
deserialize, deserialize, deserialize
-
Field Details
-
parent
-
scopeFactory
-
-
Constructor Details
-
SymbolWithScopeOfUnknownKindDeSer
Creates a newSymbolWithScopeOfUnknownKindDeSer.- Parameters:
parent- the language DeSer to delegate to when parsing spanned scopesscopeFactory- the factory used to create language-specific spanned scopes
-
-
Method Details
-
getSerializedKind
- Specified by:
getSerializedKindin interfaceISymbolDeSer<SymbolWithScopeOfUnknownKind,Object>
-
serialize
Description copied from interface:ISymbolDeSerserialize a passed object to a String that is returned.- Specified by:
serializein interfaceISymbolDeSer<SymbolWithScopeOfUnknownKind,Object> - Parameters:
toSerialize-s2j-- Returns:
-
deserialize
Description copied from interface:ISymbolDeSerDeserialize a passed Json Object to an instance of the type T- Specified by:
deserializein interfaceISymbolDeSer<SymbolWithScopeOfUnknownKind,Object> - Parameters:
symbolJson-- Returns:
-