]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.scl.commands/src/org/simantics/scl/commands/internal/checker/CheckItem.java
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.scl.commands / src / org / simantics / scl / commands / internal / checker / CheckItem.java
diff --git a/bundles/org.simantics.scl.commands/src/org/simantics/scl/commands/internal/checker/CheckItem.java b/bundles/org.simantics.scl.commands/src/org/simantics/scl/commands/internal/checker/CheckItem.java
new file mode 100644 (file)
index 0000000..8eb9383
--- /dev/null
@@ -0,0 +1,16 @@
+package org.simantics.scl.commands.internal.checker;\r
+\r
+import java.util.List;\r
+\r
+import org.simantics.scl.compiler.types.Type;\r
+\r
+/**\r
+ * Internal object used in the implementation of Checker for\r
+ * doing one checking step.\r
+ * \r
+ * @author Hannu Niemistö\r
+ */\r
+public interface CheckItem {\r
+    boolean check(Object check, Object[] parameters, int pos);\r
+    void collectParameterTypes(List<Type> types);\r
+}\r