Jelajahi Sumber

Moved inerTypeForLiteral method from ISTextTypeSystem to ITypeSystem. Added TODOs.

Alexander Nyßen 12 tahun lalu
induk
melakukan
9f2082558f

+ 0 - 15
plugins/org.yakindu.sct.model.stext/src/org/yakindu/sct/model/stext/types/ISTextTypeSystem.java

@@ -121,19 +121,4 @@ public interface ISTextTypeSystem extends ITypeSystem {
 
 	public boolean isStringType(Type type);
 
-	/**
-	 * Infer a type for a given literal. The literal may represent a primitive
-	 * value (primitive type literal) or an instance specification (complex type
-	 * literal).
-	 * 
-	 * @param literal
-	 *            The literal for which to infer a type
-	 * @return An {@link InferenceResult} containing the {@link InferredType}
-	 *         for the literal (or <code>null</code> in case no type could be
-	 *         inferred) and potential {@link InferenceIssue}s that occurred
-	 *         during the type inference. The result may also contain both, an
-	 *         inferred type and issues.
-	 */
-	public InferenceResult inferTypeForLiteral(Object literal);
-
 }