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 |
---|---|
IInputKey |
getDeclaredType(Variable var)
Returns the declared type of a variable
|
IInputKey |
getInferredVariableType(Variable var)
Returns the inferred 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.
|
IInputKey getDeclaredType(Variable var)
var
- IInputKey getInferredVariableType(Variable var)
var
- IInputKey getVariableType(Variable var)
var
- IInputKey getVariableReferenceType(VariableReference reference)
reference
- org.eclipse.xtext.common.types.JvmTypeReference getVariableJvmType(Variable var, org.eclipse.emf.ecore.EObject context)
var
- context
-