All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.eclipse.xtext.parsetree.reconstr.ICommentAssociater Maven / Gradle / Ivy

/*******************************************************************************
 * Copyright (c) 2010 itemis AG (http://www.itemis.eu) and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *******************************************************************************/
package org.eclipse.xtext.parsetree.reconstr;

import java.util.Map;
import java.util.Set;

import org.eclipse.emf.ecore.EObject;
import org.eclipse.xtext.nodemodel.ICompositeNode;
import org.eclipse.xtext.nodemodel.ILeafNode;
import org.eclipse.xtext.parsetree.reconstr.impl.DefaultCommentAssociater;

import com.google.inject.ImplementedBy;

/**
 * Associates comments to semantic objects. Used in serialization to recover comments in the right places.
 * 
 * @author Moritz Eysholdt - Initial contribution and API
 */
@ImplementedBy(DefaultCommentAssociater.class)
public interface ICommentAssociater {

	Map associateCommentsWithSemanticEObjects(EObject model, Set roots);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy