public interface ITypeInferrer
Modifier and Type | Method and Description |
---|---|
java.util.Set<IInputKey> |
getAllPossibleTypes(Expression ex)
Returns a collection of possible inferred types.
|
IInputKey |
getDeclaredType(Expression ex)
Returns the declared type of a variable
|
IInputKey |
getDeclaredType(Variable ex) |
IInputKey |
getInferredType(Expression ex)
Returns the inferred type of a variable
|
org.eclipse.xtext.common.types.JvmTypeReference |
getJvmType(Expression ex,
org.eclipse.emf.ecore.EObject context)
Creates a Jvm Type Reference for a selected expression.
|
IInputKey |
getType(Expression ex)
Returns the type of a variable.
|
IInputKey getDeclaredType(Expression ex)
ex
- IInputKey getInferredType(Expression ex)
ex
- java.util.Set<IInputKey> getAllPossibleTypes(Expression ex)
IInputKey getType(Expression ex)
org.eclipse.xtext.common.types.JvmTypeReference getJvmType(Expression ex, org.eclipse.emf.ecore.EObject context)
ex
- context
-