From 8094fc813a29d447555863b6c32816229ff01958 Mon Sep 17 00:00:00 2001 From: student Date: Mon, 12 Feb 2018 12:59:01 -0500 Subject: Formatting pass --- base/src/bjc/dicelang/expr/Lexer.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'base/src/bjc/dicelang/expr/Lexer.java') diff --git a/base/src/bjc/dicelang/expr/Lexer.java b/base/src/bjc/dicelang/expr/Lexer.java index dfa0f76..a8fbcaa 100644 --- a/base/src/bjc/dicelang/expr/Lexer.java +++ b/base/src/bjc/dicelang/expr/Lexer.java @@ -33,10 +33,10 @@ public class Lexer { * Convert a string from a input command to a series of infix tokens. * * @param inp - * The input command. + * The input command. * * @param tks - * The token state. + * The token state. * * @return A series of infix tokens representing the command. */ @@ -44,14 +44,14 @@ public class Lexer { /* Split tokens on whitespace. */ final String[] spacedTokens = inp.split("[ \t]"); /* Tokens to return. */ - final List tokens = new LinkedList<>(); + final List tokens = new LinkedList<>(); /* Process each token. */ for (final String spacedToken : spacedTokens) { /* Split on operators. */ final IList splitTokens = split.split(spacedToken); /* Convert strings to tokens. */ - final IList rawTokens = splitTokens.map(tok -> tks.lexToken(tok, spacedToken)); + final IList rawTokens = splitTokens.map(tok -> tks.lexToken(tok, spacedToken)); /* Add tokens to results. */ rawTokens.forEach(tokens::add); -- cgit v1.2.3