public interface ITypeInferrer
Modifier and Type | Interface and Description |
---|---|
static class |
ITypeInferrer.NullTypeInferrer
An empty implementation of
ITypeInferrer that can be used by the abstract pattern language module. |
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 |
getDeclaredType(Variable ex) |
IInputKey |
getInferredType(Expression ex)
Returns the inferred type of a variable
|
IInputKey |
getInferredVariableType(Variable ex)
Deprecated.
|
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)
Deprecated.
use
getJvmType(Expression, EObject) instead |
IInputKey |
getVariableReferenceType(VariableReference ref)
Deprecated.
use
getType(Expression) instead |
IInputKey |
getVariableType(Variable var)
Deprecated.
use
getType(Expression) instead |
IInputKey getDeclaredType(Expression ex)
ex
- IInputKey getInferredType(Expression ex)
ex
- java.util.Set<IInputKey> getAllPossibleTypes(Expression ex)
IInputKey getType(Expression ex)
@Deprecated IInputKey getVariableReferenceType(VariableReference ref)
getType(Expression)
instead@Deprecated IInputKey getVariableType(Variable var)
getType(Expression)
insteadorg.eclipse.xtext.common.types.JvmTypeReference getJvmType(Expression ex, org.eclipse.emf.ecore.EObject context)
ex
- context
- @Deprecated org.eclipse.xtext.common.types.JvmTypeReference getVariableJvmType(Variable ex, org.eclipse.emf.ecore.EObject context)
getJvmType(Expression, EObject)
instead