Right now, lexing and parsing do not respect cancellation tokens. When an operation is requested, it always runs till the end. If cancellation support is added, older operations can be skipped and therefore resources saved.