summaryrefslogtreecommitdiff
path: root/JPratt/src/main/java/bjc/pratt/MetaNonInitialCommand.java
diff options
context:
space:
mode:
Diffstat (limited to 'JPratt/src/main/java/bjc/pratt/MetaNonInitialCommand.java')
-rw-r--r--JPratt/src/main/java/bjc/pratt/MetaNonInitialCommand.java19
1 files changed, 19 insertions, 0 deletions
diff --git a/JPratt/src/main/java/bjc/pratt/MetaNonInitialCommand.java b/JPratt/src/main/java/bjc/pratt/MetaNonInitialCommand.java
new file mode 100644
index 0000000..444c0e4
--- /dev/null
+++ b/JPratt/src/main/java/bjc/pratt/MetaNonInitialCommand.java
@@ -0,0 +1,19 @@
+package bjc.pratt;
+
+/**
+ * A 'meta-command' for non-initial commands.
+ *
+ * @author bjculkin
+ *
+ * @param <K>
+ * The token key type.
+ *
+ * @param <V>
+ * The token value type.
+ *
+ * @param <C>
+ * The parser state type.
+ */
+public interface MetaNonInitialCommand<K, V, C> {
+ NonInitialCommand<K, V, C> getCommand(ParserContext<K, V, C> ctx);
+}