org.eclipse.xtend.shared.ui.core
Interface IXtendXpandResource
- All Superinterfaces:
- org.eclipse.core.runtime.IAdaptable, Resource
- All Known Subinterfaces:
- IXpandResource, IXtendResource
- All Known Implementing Classes:
- AbstractResource, CheckResourceImpl, XpandResourceImpl, XtendResourceImpl
public interface IXtendXpandResource
- extends Resource, org.eclipse.core.runtime.IAdaptable
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
getAdapter |
getUnderlyingStorage
org.eclipse.core.resources.IStorage getUnderlyingStorage()
analyze
void analyze(ExecutionContext ctx)
- analyzes the underlying AST and adds respective markers to the underlying
IFile (getCorrspondingFile())
refresh
boolean refresh()
- updates the underlying AST
- Returns:
- true if the source could be parsed and an AST is available
getExtXptResource
Resource getExtXptResource()
- returns the root element of the AST
- Returns:
getFileExtension
java.lang.String getFileExtension()