public abstract class AbstractTypeInferrer extends java.lang.Object implements ITypeInferrer
ITypeInferrer.NullTypeInferrer
Constructor and Description |
---|
AbstractTypeInferrer() |
Modifier and Type | Method and Description |
---|---|
IInputKey |
getDeclaredType(Variable var)
Returns the declared type of a variable
|
org.eclipse.xtext.common.types.JvmTypeReference |
getVariableJvmType(Variable var,
org.eclipse.emf.ecore.EObject context)
Creates a Jvm Type Reference for a selected variable.
|
IInputKey |
getVariableReferenceType(VariableReference reference)
Calculates the type of a variable reference.
|
IInputKey |
getVariableType(Variable var)
Returns the type of a variable.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getInferredVariableType
public IInputKey getVariableType(Variable var)
ITypeInferrer
getVariableType
in interface ITypeInferrer
public IInputKey getDeclaredType(Variable var)
ITypeInferrer
getDeclaredType
in interface ITypeInferrer
public IInputKey getVariableReferenceType(VariableReference reference)
ITypeInferrer
getVariableReferenceType
in interface ITypeInferrer
public org.eclipse.xtext.common.types.JvmTypeReference getVariableJvmType(Variable var, org.eclipse.emf.ecore.EObject context)
ITypeInferrer
getVariableJvmType
in interface ITypeInferrer