Class EolCompilationContext
- java.lang.Object
-
- org.eclipse.epsilon.eol.compile.context.EolCompilationContext
-
- All Implemented Interfaces:
IEolCompilationContext
public class EolCompilationContext extends java.lang.Object implements IEolCompilationContext
-
-
Field Summary
Fields Modifier and Type Field Description protected FrameStack
frameStack
protected java.util.List<ModuleMarker>
markers
protected java.util.List<ModelDeclaration>
modelDeclarations
protected IModelFactory
modelFactory
protected IRelativePathResolver
relativePathResolver
protected IEolContext
runtimeContext
-
Constructor Summary
Constructors Constructor Description EolCompilationContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addErrorMarker(AbstractModuleElement element, java.lang.String message)
void
addWarningMarker(AbstractModuleElement element, java.lang.String message)
FrameStack
getFrameStack()
java.util.List<ModuleMarker>
getMarkers()
java.util.List<ModelDeclaration>
getModelDeclarations()
EolModelElementType
getModelElementType(java.lang.String modelAndType)
IModelFactory
getModelFactory()
IRelativePathResolver
getRelativePathResolver()
void
setModelDeclarations(java.util.List<ModelDeclaration> modelDeclarations)
void
setModelFactory(IModelFactory modelFactory)
void
setRelativePathResolver(IRelativePathResolver relativePathResolver)
void
setRuntimeContext(IEolContext context)
-
-
-
Field Detail
-
markers
protected java.util.List<ModuleMarker> markers
-
runtimeContext
protected IEolContext runtimeContext
-
frameStack
protected FrameStack frameStack
-
modelFactory
protected IModelFactory modelFactory
-
relativePathResolver
protected IRelativePathResolver relativePathResolver
-
modelDeclarations
protected java.util.List<ModelDeclaration> modelDeclarations
-
-
Method Detail
-
getMarkers
public java.util.List<ModuleMarker> getMarkers()
- Specified by:
getMarkers
in interfaceIEolCompilationContext
-
setRuntimeContext
public void setRuntimeContext(IEolContext context)
- Specified by:
setRuntimeContext
in interfaceIEolCompilationContext
-
addWarningMarker
public void addWarningMarker(AbstractModuleElement element, java.lang.String message)
- Specified by:
addWarningMarker
in interfaceIEolCompilationContext
-
addErrorMarker
public void addErrorMarker(AbstractModuleElement element, java.lang.String message)
- Specified by:
addErrorMarker
in interfaceIEolCompilationContext
-
getFrameStack
public FrameStack getFrameStack()
- Specified by:
getFrameStack
in interfaceIEolCompilationContext
-
getModelFactory
public IModelFactory getModelFactory()
- Specified by:
getModelFactory
in interfaceIEolCompilationContext
-
setModelFactory
public void setModelFactory(IModelFactory modelFactory)
- Specified by:
setModelFactory
in interfaceIEolCompilationContext
-
getRelativePathResolver
public IRelativePathResolver getRelativePathResolver()
- Specified by:
getRelativePathResolver
in interfaceIEolCompilationContext
-
setRelativePathResolver
public void setRelativePathResolver(IRelativePathResolver relativePathResolver)
- Specified by:
setRelativePathResolver
in interfaceIEolCompilationContext
-
setModelDeclarations
public void setModelDeclarations(java.util.List<ModelDeclaration> modelDeclarations)
- Specified by:
setModelDeclarations
in interfaceIEolCompilationContext
-
getModelDeclarations
public java.util.List<ModelDeclaration> getModelDeclarations()
- Specified by:
getModelDeclarations
in interfaceIEolCompilationContext
-
getModelElementType
public EolModelElementType getModelElementType(java.lang.String modelAndType)
- Specified by:
getModelElementType
in interfaceIEolCompilationContext
-
-