summaryrefslogtreecommitdiff
path: root/JPratt/src/main/java/bjc/pratt/commands/MetaNonInitialCommand.java
blob: 9d09eef95733be729c6fe4b6fbf4fe8b734b0510 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package bjc.pratt.commands;

import bjc.pratt.ParserContext;

/**
 * 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);
}