diff options
| author | bculkin2442 <bjculkin@mix.wvu.edu> | 2017-04-11 21:57:37 -0400 |
|---|---|---|
| committer | bculkin2442 <bjculkin@mix.wvu.edu> | 2017-04-11 21:57:37 -0400 |
| commit | 3f74e1e25fd572adab34e53eb90edcf49404fbe5 (patch) | |
| tree | 1a960016d2e58414f91fb1e43348c29c2ab6db20 /JPratt/src/main/java/bjc/pratt/commands/BlockInitialCommand.java | |
| parent | 7a510ceb37780a7d0da37117a5cfce23c2919257 (diff) | |
Cleanup
Diffstat (limited to 'JPratt/src/main/java/bjc/pratt/commands/BlockInitialCommand.java')
| -rw-r--r-- | JPratt/src/main/java/bjc/pratt/commands/BlockInitialCommand.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/JPratt/src/main/java/bjc/pratt/commands/BlockInitialCommand.java b/JPratt/src/main/java/bjc/pratt/commands/BlockInitialCommand.java index f0448f7..ca2d31a 100644 --- a/JPratt/src/main/java/bjc/pratt/commands/BlockInitialCommand.java +++ b/JPratt/src/main/java/bjc/pratt/commands/BlockInitialCommand.java @@ -8,33 +8,33 @@ 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 ParseBlock<K, V, C> blck; + private final ParseBlock<K, V, C> blck; /** * Create a new block initial command. - * + * * @param block * The block to delegate to. */ - public BlockInitialCommand(ParseBlock<K, V, C> block) { + public BlockInitialCommand(final ParseBlock<K, V, C> block) { blck = block; } @Override - protected ITree<Token<K, V>> intNullDenotation(Token<K, V> operator, ParserContext<K, V, C> ctx) + protected ITree<Token<K, V>> intNullDenotation(final Token<K, V> operator, final ParserContext<K, V, C> ctx) throws ParserException { return blck.parse(ctx); } |
