StringStream
Encapsulates a single line of input. Given to stream syntax code, which uses it to tokenize the content.
Functions
Continue matching characters for which the predicate returns true. Return true if any characters were consumed.
Continue matching characters that match the given string. Return true if any characters were consumed.
Continue matching characters that match the given regex. Return true if any characters were consumed.
Get the indentation column of the current line.
Match the input against the given regex (which should start with ^). If consume is true (default), advance past the matched text. Returns the match result if it matches at the current position, or null.
Match the input against the given string. If consume is true (default), advance past the matched text. When caseInsensitive is true, the match is case-insensitive.