Helper method that takes a set of tokens (of whatever type) and
converts them into LineToken
objects with Delim
objects in between.
Helper method that takes a set of tokens (of whatever type) and
converts them into LineToken
objects with Delim
objects in between. To get the string to put in the LineToken
objects, this method uses the toString()
method on each passed
token.
the tokens to map
a list of CompletionToken
objects consisting of the
tokens, as strings, with intervening Delim
characters
Get the token that precedes the cursor in a list of completion tokens.
Get the token that precedes the cursor in a list of completion tokens.
the completion tokens
the token preceding the cursor, or None if the cursor is first.