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, waitgetAllPossibleTypes, getInferredTypepublic IInputKey getType(Expression ex)
ITypeInferrergetType in interface ITypeInferrerpublic IInputKey getDeclaredType(Expression ex)
ITypeInferrergetDeclaredType in interface ITypeInferrerpublic org.eclipse.xtext.common.types.JvmTypeReference getJvmType(Expression ex, org.eclipse.emf.ecore.EObject context)
ITypeInferrergetJvmType in interface ITypeInferrerpublic IInputKey getInferredVariableType(Variable ex)
getInferredVariableType in interface ITypeInferrerpublic org.eclipse.xtext.common.types.JvmTypeReference getVariableJvmType(Variable ex, org.eclipse.emf.ecore.EObject context)
getVariableJvmType in interface ITypeInferrerpublic IInputKey getDeclaredType(Variable ex)
getDeclaredType in interface ITypeInferrerpublic IInputKey getVariableReferenceType(VariableReference ref)
getVariableReferenceType in interface ITypeInferrerpublic IInputKey getVariableType(Variable var)
getVariableType in interface ITypeInferrer