* This function should read one token from the stream it is given as an argument, optionally update its state, * and return a style string, or null for tokens that do not have to be styled. Multiple styles can be returned, separated by spaces.
(stream: StringStream, state: T)
| 1025 | * and return a style string, or null for tokens that do not have to be styled. Multiple styles can be returned, separated by spaces. |
| 1026 | */ |
| 1027 | token(stream: StringStream, state: T): string; |
| 1028 | |
| 1029 | /** |
| 1030 | * A function that produces a state object to be used at the start of a document. |