--- /dev/null
+package org.simantics.scl.reflection;\r
+\r
+import org.simantics.scl.compiler.types.Type;\r
+\r
+/**\r
+ * SCL together with its type.\r
+ * @author Hannu Niemistö\r
+ */\r
+public class TypedValue {\r
+ final Type type;\r
+ final Object value;\r
+ \r
+ public TypedValue(Type type, Object value) {\r
+ this.type = type;\r
+ this.value = value;\r
+ }\r
+ \r
+ @Override\r
+ public String toString() {\r
+ return value.toString() + " :: " + type;\r
+ }\r
+ \r
+ public Type getType() {\r
+ return type;\r
+ }\r
+ \r
+ public Object getValue() {\r
+ return value;\r
+ }\r
+}
\ No newline at end of file