diff options
Diffstat (limited to 'BJC-Utils2/src/main/java/bjc/utils/cli/fds/FDSState.java')
| -rw-r--r-- | BJC-Utils2/src/main/java/bjc/utils/cli/fds/FDSState.java | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/BJC-Utils2/src/main/java/bjc/utils/cli/fds/FDSState.java b/BJC-Utils2/src/main/java/bjc/utils/cli/fds/FDSState.java index 4a6e1c6..bef86ae 100644 --- a/BJC-Utils2/src/main/java/bjc/utils/cli/fds/FDSState.java +++ b/BJC-Utils2/src/main/java/bjc/utils/cli/fds/FDSState.java @@ -34,7 +34,7 @@ public class FDSState<S> { CHORD, /** * Reads every character in the block, but after a terminal - * command, data will be read inline separated by spaces until a + * command, data will be read in-line separated by spaces until a * semicolon is read. * * The semicolon can be escaped with a backslash. @@ -42,11 +42,12 @@ public class FDSState<S> { INLINE, /** * Reads every character in the block, but after a terminal - * command, data will be read inline with each character being a + * command, data will be read in-line with each character being a * separate item until a semicolon is read. * * The semicolon can be escaped with a backslash. */ + CHARINLINE, } /** @@ -62,7 +63,7 @@ public class FDSState<S> { * The modes being used. */ public Stack<FDSMode<S>> modes; - + /** * Function to add a command block to be processed. */ @@ -81,13 +82,19 @@ public class FDSState<S> { * * @param inputMode * The input mode for the interface. + * + * @param comQueue + * The function to call to add a command block. + * + * @param dataQueue + * The function to call to add a data block. */ public FDSState(S stat, InputMode inputMode, Consumer<Block> comQueue, Consumer<Block> dataQueue) { state = stat; mode = inputMode; modes = new SimpleStack<>(); - + enqueCommand = comQueue; enqueData = dataQueue; } |
