public static class ITypeInferrer.NullTypeInferrer extends AbstractTypeInferrer
ITypeInferrer
that can be used by the abstract pattern language module.ITypeInferrer.NullTypeInferrer
Constructor and Description |
---|
NullTypeInferrer() |
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 |
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.
|
getDeclaredType, getInferredVariableType, getVariableJvmType, getVariableReferenceType, getVariableType
public IInputKey getInferredType(Expression ex)
ITypeInferrer
public org.eclipse.xtext.common.types.JvmTypeReference getJvmType(Expression ex, org.eclipse.emf.ecore.EObject context)
ITypeInferrer
getJvmType
in interface ITypeInferrer
getJvmType
in class AbstractTypeInferrer
public IInputKey getType(Expression ex)
ITypeInferrer
getType
in interface ITypeInferrer
getType
in class AbstractTypeInferrer
public IInputKey getDeclaredType(Expression ex)
ITypeInferrer
getDeclaredType
in interface ITypeInferrer
getDeclaredType
in class AbstractTypeInferrer
public java.util.Set<IInputKey> getAllPossibleTypes(Expression ex)
ITypeInferrer