org.eclipse.xtext.xbase.jvmmodel
Class AbstractModelInferrer
java.lang.Object
org.eclipse.xtext.xbase.jvmmodel.AbstractModelInferrer
- All Implemented Interfaces:
- IJvmModelInferrer
- Direct Known Subclasses:
- PureXbaseJvmModelInferrer
public abstract class AbstractModelInferrer
- extends java.lang.Object
- implements IJvmModelInferrer
A base dispatch class to be subclassed by Xtend.
- Author:
- Sven Efftinge - Initial contribution and API
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractModelInferrer
public AbstractModelInferrer()
infer
public void infer(org.eclipse.emf.ecore.EObject e,
IAcceptor<JvmDeclaredType> acceptor,
boolean prelinkingPhase)
- Description copied from interface:
IJvmModelInferrer
- is called for the root element of a resource just once.
- Specified by:
infer
in interface IJvmModelInferrer
- Parameters:
e
- - the root element from the parse resultacceptor
- - an acceptor awaiting derived JvmDeclaredType
sprelinkingPhase
- - whether the call is done in a pre-linking phase. During this phase clients may not do linking which
relies on indexed information, because the index might not be fully computed yet.
_infer
public void _infer(org.eclipse.emf.ecore.EObject e,
IAcceptor<JvmDeclaredType> acceptor,
boolean prelinkingPhase)