From e7a7cf10e2e9e05a6b12fd7c4d8d0ff2146901d9 Mon Sep 17 00:00:00 2001 From: bculkin2442 Date: Wed, 16 Nov 2016 11:32:45 -0500 Subject: Documentation update --- .../src/bjc/dicelang/examples/DiceExpressionPreparer.java | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'dice-lang/src/bjc/dicelang/examples/DiceExpressionPreparer.java') diff --git a/dice-lang/src/bjc/dicelang/examples/DiceExpressionPreparer.java b/dice-lang/src/bjc/dicelang/examples/DiceExpressionPreparer.java index 5488b5d..14dad7c 100644 --- a/dice-lang/src/bjc/dicelang/examples/DiceExpressionPreparer.java +++ b/dice-lang/src/bjc/dicelang/examples/DiceExpressionPreparer.java @@ -50,9 +50,16 @@ public class DiceExpressionPreparer { // to a variable expression } - // Prepare a command, turning raw tokens into input for the tree builder + /** + * Prepare a command, turning raw tokens into input for the tree + * builder + * + * @param currentLine + * The command to prepare + * @return A stream of tokens representing the command + */ public static IList prepareCommand(String currentLine) { - // Split the command into tokens + // Split the command into tokens IList tokens = FunctionalStringTokenizer .fromString(currentLine).toList(); -- cgit v1.2.3