public static final class ITypeSystem.NullTypeSystem extends java.lang.Object implements ITypeSystem
ITypeSystem that can be used by the abstract pattern language module.ITypeSystem.NullTypeSystem| Constructor and Description |
|---|
NullTypeSystem() |
| Modifier and Type | Method and Description |
|---|---|
IInputKey |
extractColumnDescriptor(RelationType type,
int columnIndex)
Extracts the model-specific column type of the given index from a RelationType declaration
|
IInputKey |
extractTypeDescriptor(Type type)
Extracts the model-specific types from a Type declaration.
|
boolean |
isConformant(IInputKey expectedType,
IInputKey actualType)
Decides whether the second type is compatible with the first one
|
boolean |
isConformToRelationColumn(IInputKey relationType,
int columnIndex,
IInputKey columnType)
Decides whether the reference can have a selected type at its given column.
|
org.eclipse.xtext.common.types.JvmTypeReference |
toJvmTypeReference(IInputKey type,
org.eclipse.emf.ecore.EObject context)
Creates a type reference for model inference from a selected type.
|
java.lang.String |
typeString(IInputKey type)
Converts a type object to a user-visible description string.
|
public boolean isConformant(IInputKey expectedType, IInputKey actualType)
ITypeSystemisConformant in interface ITypeSystempublic boolean isConformToRelationColumn(IInputKey relationType, int columnIndex, IInputKey columnType)
ITypeSystemisConformToRelationColumn in interface ITypeSystempublic IInputKey extractTypeDescriptor(Type type)
ITypeSystemextractTypeDescriptor in interface ITypeSystemtype - either the Type or the RelationType instancepublic IInputKey extractColumnDescriptor(RelationType type, int columnIndex)
ITypeSystemextractColumnDescriptor in interface ITypeSystempublic org.eclipse.xtext.common.types.JvmTypeReference toJvmTypeReference(IInputKey type, org.eclipse.emf.ecore.EObject context)
ITypeSystemtoJvmTypeReference in interface ITypeSystempublic java.lang.String typeString(IInputKey type)
ITypeSystemtypeString in interface ITypeSystemtype - either a Type, or a model-specific type instance