org.eclipse.xtend.middleend.plugins
Interface FunctionDefContextProvider


public interface FunctionDefContextProvider

Author:
aarnold - Initial contribution and API

Method Summary
 boolean canHandle(java.lang.String resourceName)
          gives the middle end a way to declare if it can and wants to handle a given source file / resource.
 FunctionDefContext getFdc(java.lang.String resourceName)
           
 java.lang.String getName()
           
 void setMiddleEnd(MiddleEnd middleEnd)
          This method is used to break the circular dependency between MiddleEnd and the language specific handlers.
 

Method Detail

setMiddleEnd

void setMiddleEnd(MiddleEnd middleEnd)
This method is used to break the circular dependency between MiddleEnd and the language specific handlers. It is called by the MiddleEnd on creation.


getName

java.lang.String getName()

canHandle

boolean canHandle(java.lang.String resourceName)
gives the middle end a way to declare if it can and wants to handle a given source file / resource. If and only if it returns true, it will be asked for the functions and advice provided in this resource.


getFdc

FunctionDefContext getFdc(java.lang.String resourceName)