public abstract class AbstractTypeInferrer extends java.lang.Object implements ITypeInferrer
Constructor and Description |
---|
AbstractTypeInferrer() |
Modifier and Type | Method and Description |
---|---|
IInputKey |
getDeclaredType(Expression ex)
Returns the declared type of a variable
|
IInputKey |
getDeclaredType(Variable ex) |
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAllPossibleTypes, getInferredType
public IInputKey getType(Expression ex)
ITypeInferrer
getType
in interface ITypeInferrer
public IInputKey getDeclaredType(Expression ex)
ITypeInferrer
getDeclaredType
in interface ITypeInferrer
public org.eclipse.xtext.common.types.JvmTypeReference getJvmType(Expression ex, org.eclipse.emf.ecore.EObject context)
ITypeInferrer
getJvmType
in interface ITypeInferrer
public IInputKey getDeclaredType(Variable ex)
getDeclaredType
in interface ITypeInferrer