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


Method Summary
 void analyze(ExecutionContext ctx)
          analyzes the underlying AST and adds respective markers to the underlying IFile (getCorrspondingFile())
 Resource getExtXptResource()
          returns the root element of the AST
 java.lang.String getFileExtension()
           
 org.eclipse.core.resources.IStorage getUnderlyingStorage()
           
 boolean refresh()
          updates the underlying AST
 
Methods inherited from interface org.eclipse.xtend.expression.Resource
getFullyQualifiedName, getImportedExtensions, getImportedNamespaces, setFullyQualifiedName
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Method Detail

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()