/** * <copyright> * </copyright> * * */ package org.dresdenocl.language.ocl.resource.ocl; import java.util.Collection; import org.eclipse.emf.ecore.EObject; /** * An interface used to access the result of parsing a document. */ public interface IOclParseResult { /** * Returns the root object of the document. */ public EObject getRoot(); /** * Returns a list of commands that must be executed after parsing the document. */ public Collection<org.dresdenocl.language.ocl.resource.ocl.IOclCommand<org.dresdenocl.language.ocl.resource.ocl.IOclTextResource>> getPostParseCommands(); /** * Returns a map that can be used to retrieve the position of objects in the * parsed text. */ public org.dresdenocl.language.ocl.resource.ocl.IOclLocationMap getLocationMap(); }