summaryrefslogtreecommitdiff
path: root/base/src/bjc/dicelang/scl/StreamEngine.java
diff options
context:
space:
mode:
authorstudent <student@localhost>2018-02-12 12:59:01 -0500
committerstudent <student@localhost>2018-02-12 12:59:01 -0500
commit8094fc813a29d447555863b6c32816229ff01958 (patch)
tree375a00a4f72477dcf711fe2c4ab1293950614209 /base/src/bjc/dicelang/scl/StreamEngine.java
parenta15873fb42e8db3b2101330514b2208ef3490d70 (diff)
Formatting pass
Diffstat (limited to 'base/src/bjc/dicelang/scl/StreamEngine.java')
-rw-r--r--base/src/bjc/dicelang/scl/StreamEngine.java19
1 files changed, 9 insertions, 10 deletions
diff --git a/base/src/bjc/dicelang/scl/StreamEngine.java b/base/src/bjc/dicelang/scl/StreamEngine.java
index 2e0a6d7..2d931b9 100644
--- a/base/src/bjc/dicelang/scl/StreamEngine.java
+++ b/base/src/bjc/dicelang/scl/StreamEngine.java
@@ -30,8 +30,8 @@ public class StreamEngine {
DiceLangEngine eng;
/* Our streams. */
- Tape<IList<String>> streams;
- IList<String> currStream;
+ Tape<IList<String>> streams;
+ IList<String> currStream;
/* Saved streams */
TapeLibrary<IList<String>> savedStreams;
@@ -43,7 +43,7 @@ public class StreamEngine {
* Create a new stream engine.
*
* @param engine
- * The dice engine we're attached to.
+ * The dice engine we're attached to.
*/
public StreamEngine(final DiceLangEngine engine) {
eng = engine;
@@ -66,10 +66,10 @@ public class StreamEngine {
* Process a possibly interleaved set of streams.
*
* @param toks
- * The raw token to read streams from.
+ * The raw token to read streams from.
*
* @param dest
- * The list to write the final stream to.
+ * The list to write the final stream to.
*
* @return Whether or not the streams were successfully processed.
*/
@@ -81,10 +81,10 @@ public class StreamEngine {
* Process a possibly interleaved set of streams.
*
* @param toks
- * The raw token to read streams from.
+ * The raw token to read streams from.
*
* @param dest
- * The list to write the final stream to.
+ * The list to write the final stream to.
*
* @return Whether or not the streams were successfully processed.
*/
@@ -212,9 +212,8 @@ public class StreamEngine {
/* Process each command. */
/*
- * @TODO 10/09/17 Ben Culkin :StreamCommands
- * This should probably be refactored in some way, so as to
- * make it easier to add new commands.
+ * @TODO 10/09/17 Ben Culkin :StreamCommands This should probably be refactored
+ * in some way, so as to make it easier to add new commands.
*/
for (final char comm : comms) {
switch (comm) {