From 5028ad9a1faad0e363d017f18363e8062ba59871 Mon Sep 17 00:00:00 2001 From: bjculkin Date: Thu, 15 Feb 2018 15:25:09 -0500 Subject: Formatting and things --- .../main/java/bjc/pratt/commands/impls/ChainCommand.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'JPratt/src/main/java/bjc/pratt/commands/impls/ChainCommand.java') diff --git a/JPratt/src/main/java/bjc/pratt/commands/impls/ChainCommand.java b/JPratt/src/main/java/bjc/pratt/commands/impls/ChainCommand.java index 2a9bf35..e971586 100644 --- a/JPratt/src/main/java/bjc/pratt/commands/impls/ChainCommand.java +++ b/JPratt/src/main/java/bjc/pratt/commands/impls/ChainCommand.java @@ -15,13 +15,13 @@ import bjc.utils.parserutils.ParserException; * @author bjculkin * * @param - * The key type of the tokens. + * The key type of the tokens. * * @param - * The value type of the tokens. + * The value type of the tokens. * * @param - * The state type of the parser. + * The state type of the parser. */ public class ChainCommand extends BinaryPostCommand { private final Set chainWith; @@ -32,13 +32,13 @@ public class ChainCommand extends BinaryPostCommand { * Create a new chained operator. * * @param precedence - * The precedence of this operator. + * The precedence of this operator. * * @param chainSet - * The operators to chain with. + * The operators to chain with. * * @param chainMarker - * The token to use as the node in the AST. + * The token to use as the node in the AST. */ public ChainCommand(final int precedence, final Set chainSet, final Token chainMarker) { super(precedence); @@ -55,7 +55,7 @@ public class ChainCommand extends BinaryPostCommand { final ITree> res = new Tree<>(operator, operand, tree); - if (chainWith.contains(ctx.tokens.current().getKey())) { + if(chainWith.contains(ctx.tokens.current().getKey())) { final Token tok = ctx.tokens.current(); ctx.tokens.next(); -- cgit v1.2.3