diff options
| author | bjculkin <bjculkin@WIT-136XG42.wvu-ad.wvu.edu> | 2017-04-12 10:46:51 -0400 |
|---|---|---|
| committer | bjculkin <bjculkin@WIT-136XG42.wvu-ad.wvu.edu> | 2017-04-12 10:46:51 -0400 |
| commit | f394306a4b65a3328551f9f6b8d4abff8bfd5b27 (patch) | |
| tree | 08b0de69bf15ae49077851eecfa3ca2efbc9e736 /JPratt/src/main/java/bjc/pratt/commands/BlockInitialCommand.java | |
| parent | 694bed833470393ee00eae0a85bff0c6c90e692a (diff) | |
Package reorganization
Diffstat (limited to 'JPratt/src/main/java/bjc/pratt/commands/BlockInitialCommand.java')
| -rw-r--r-- | JPratt/src/main/java/bjc/pratt/commands/BlockInitialCommand.java | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/JPratt/src/main/java/bjc/pratt/commands/BlockInitialCommand.java b/JPratt/src/main/java/bjc/pratt/commands/BlockInitialCommand.java deleted file mode 100644 index ca2d31a..0000000 --- a/JPratt/src/main/java/bjc/pratt/commands/BlockInitialCommand.java +++ /dev/null @@ -1,41 +0,0 @@ -package bjc.pratt.commands; - -import bjc.pratt.ParseBlock; -import bjc.pratt.ParserContext; -import bjc.pratt.Token; -import bjc.utils.data.ITree; -import bjc.utils.parserutils.ParserException; - -/** - * An initial command that delegates all the work to a {@link ParseBlock} - * - * @author bjculkin - * @param <K> - * The token key type. - * - * @param <V> - * The token value type. - * - * @param <C> - * The parser state type. - * - */ -public class BlockInitialCommand<K, V, C> extends AbstractInitialCommand<K, V, C> { - private final ParseBlock<K, V, C> blck; - - /** - * Create a new block initial command. - * - * @param block - * The block to delegate to. - */ - public BlockInitialCommand(final ParseBlock<K, V, C> block) { - blck = block; - } - - @Override - protected ITree<Token<K, V>> intNullDenotation(final Token<K, V> operator, final ParserContext<K, V, C> ctx) - throws ParserException { - return blck.parse(ctx); - } -}
\ No newline at end of file |
