public abstract class AbstractTypeInferrer extends java.lang.Object implements ITypeInferrer
ITypeInferrer.NullTypeInferrer
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) |
IInputKey |
getInferredVariableType(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.
|
org.eclipse.xtext.common.types.JvmTypeReference |
getVariableJvmType(Variable ex,
org.eclipse.emf.ecore.EObject context) |
IInputKey |
getVariableReferenceType(VariableReference ref) |
IInputKey |
getVariableType(Variable var) |
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 getInferredVariableType(Variable ex)
getInferredVariableType
in interface ITypeInferrer
public org.eclipse.xtext.common.types.JvmTypeReference getVariableJvmType(Variable ex, org.eclipse.emf.ecore.EObject context)
getVariableJvmType
in interface ITypeInferrer
public IInputKey getDeclaredType(Variable ex)
getDeclaredType
in interface ITypeInferrer
public IInputKey getVariableReferenceType(VariableReference ref)
getVariableReferenceType
in interface ITypeInferrer
public IInputKey getVariableType(Variable var)
getVariableType
in interface ITypeInferrer