diff options
| author | student <student@localhost> | 2018-03-05 16:48:49 -0500 |
|---|---|---|
| committer | student <student@localhost> | 2018-03-05 16:48:49 -0500 |
| commit | ccd92f9b09dfbf1f16f50787ef2510e038dccf06 (patch) | |
| tree | 707bf9635c9a9609175dd9025b0d0b04c9cb97f2 /JPratt/src/main/java/bjc/pratt/commands/MetaNonInitialCommand.java | |
| parent | 40f7102be6f0871bcae97458a2ab8044db33f886 (diff) | |
Update
Diffstat (limited to 'JPratt/src/main/java/bjc/pratt/commands/MetaNonInitialCommand.java')
| -rw-r--r-- | JPratt/src/main/java/bjc/pratt/commands/MetaNonInitialCommand.java | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/JPratt/src/main/java/bjc/pratt/commands/MetaNonInitialCommand.java b/JPratt/src/main/java/bjc/pratt/commands/MetaNonInitialCommand.java index 9d09eef..956dcec 100644 --- a/JPratt/src/main/java/bjc/pratt/commands/MetaNonInitialCommand.java +++ b/JPratt/src/main/java/bjc/pratt/commands/MetaNonInitialCommand.java @@ -8,14 +8,21 @@ import bjc.pratt.ParserContext; * @author bjculkin * * @param <K> - * The token key type. + * The token key type. * * @param <V> - * The token value type. + * The token value type. * * @param <C> - * The parser state type. + * The parser state type. */ public interface MetaNonInitialCommand<K, V, C> { + /** + * Get the command to use. + * + * @param ctx + * The context to use. + * @return The command to use. + */ NonInitialCommand<K, V, C> getCommand(ParserContext<K, V, C> ctx); } |
