Package org.eclipse.xtext.xtext
Class CurrentTypeFinder
- java.lang.Object
-
- org.eclipse.xtext.xtext.CurrentTypeFinder
-
public class CurrentTypeFinder extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CurrentTypeFinder.Implementation
-
Constructor Summary
Constructors Constructor Description CurrentTypeFinder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.emf.ecore.EClassifier
findCurrentTypeAfter(AbstractElement element)
Find the type of the current variable after an AbstractElement was consumed.
-
-
-
Method Detail
-
findCurrentTypeAfter
public org.eclipse.emf.ecore.EClassifier findCurrentTypeAfter(AbstractElement element)
Find the type of the current variable after an AbstractElement was consumed. If the AbstractElement will instantiate a new type (e.g. is an Action), the instantiated type will be returned. If the element may occur in a path that leads to an unassigned current element,null
may be returned. If the element is optional and changes the type, this method will return the changed type as if the element were consumed.
-
-