From 654a69ca0a0c1ab86aea2f6be63fe60eac61105a Mon Sep 17 00:00:00 2001 From: student Date: Mon, 12 Feb 2018 16:20:10 -0500 Subject: Formatting pass --- base/src/bjc/dicelang/expr/Lexer.java | 13 ++++++------- 1 file changed, 6 insertions(+), 7 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 7530ba5..c7dd92f 100644 --- a/base/src/bjc/dicelang/expr/Lexer.java +++ b/base/src/bjc/dicelang/expr/Lexer.java @@ -7,10 +7,9 @@ import bjc.utils.funcdata.IList; import bjc.utils.parserutils.splitter.ConfigurableTokenSplitter; /* - * @TODO 10/08/18 :IntExpressions - * Add support for integer constants, and maybe floating-point ones as well - * if you feel like. Heck, you could even go for ratio constants and things - * as well. + * @TODO 10/08/18 :IntExpressions Add support for integer constants, and maybe + * floating-point ones as well if you feel like. Heck, you could even go for + * ratio constants and things as well. */ /** * Implements the lexer for simple expression operations. @@ -35,10 +34,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. */ @@ -52,7 +51,7 @@ public class Lexer { for (final String spacedToken : spacedTokens) { /* Split on operators. */ final IList splitTokens = split.split(spacedToken); - + /* Convert strings to tokens. */ final IList rawTokens = splitTokens.map(tok -> { return tks.lexToken(tok, spacedToken); -- cgit v1.2.3