summaryrefslogtreecommitdiff
path: root/dice-lang/src/bjc/dicelang/examples/DiceExpressionPreparer.java
diff options
context:
space:
mode:
Diffstat (limited to 'dice-lang/src/bjc/dicelang/examples/DiceExpressionPreparer.java')
-rw-r--r--dice-lang/src/bjc/dicelang/examples/DiceExpressionPreparer.java11
1 files changed, 9 insertions, 2 deletions
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<String> prepareCommand(String currentLine) {
- // Split the command into tokens
+ // Split the command into tokens
IList<String> tokens = FunctionalStringTokenizer
.fromString(currentLine).toList();