org.eclipse.xtext.serializer.tokens.IValueSerializer Maven / Gradle / Ivy
package org.eclipse.xtext.serializer.tokens;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.xtext.RuleCall;
import org.eclipse.xtext.nodemodel.INode;
import org.eclipse.xtext.serializer.diagnostic.ISerializationDiagnostic;
import com.google.inject.ImplementedBy;
@ImplementedBy(ValueSerializer.class)
public interface IValueSerializer {
// boolean equalsOrReplacesNode(EObject context, RuleCall ruleCall, Object value, INode node);
boolean isValid(EObject context, RuleCall ruleCall, Object value, ISerializationDiagnostic.Acceptor errorAcceptor);
String serializeAssignedValue(EObject context, RuleCall ruleCall, Object value, INode node,
ISerializationDiagnostic.Acceptor errorAcceptor);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy