A text to be eventually typed.
An option object.
A text to be eventually typed.
The key combos so far.
The entire supplied keystrokes so far.
Parsed keystrokes that is supplied so far.
The current keystrokes that are not yet resolved.
The part of supplied keystrokes which are already resolved.
The text that are resolved from keystrokes.
The current interpretation of keystrokes in string form.
Returns a boolean that indicates whether the given keystrokes are acceptable.
Keystrokes to test if acceptable.
True if acceptable, and false if not.
Returns the first valid key combos to type the goal text.
A zero-based index that indicates the position of text to start typing.
The valid first key combos.
Returns a sequence of key combos for entire goal text based on sequence chooser function.
A zero-based index that indicates the position of text to start typing.
A key combo chooser function; uses the instance's default if not specified.
Key combos to choose from.
A chosen key combo.
A sequence of key combos for entire goal text.
Returns the first valid key combo to type the current position of goal text.
The valid first key combos.
Returns the first possible key combo to type the current position of goal text.
The possible first key combos taking the pending inputs into consideration.
Returns a sequence of key combo from the current position to the end of goal text based on key combo chooser function.
A key combo chooser function; uses the instance's default if not specified.
Key combos to choose from.
A chosen key combo.
A sequence of key combos from the current position to the end of goal text based on key combo chooser function.
Returns a part of the goal text that are not yet typed.
The text that is not typed yet.
Returns whether the supplied key inputs are interpreted to be the goal text.
True if solved, and false if not.
Supply keystrokes as an answer. If the given keystrokes is invalid as an answer to the goal text, throws a RangeError.
Keystrokes to supply.
Parsing result of the given keystrokes.
Generated using TypeDoc
Class represents a question.