Method ParseSyntaxAsync
ParseSyntaxAsync(Document, int, int, CancellationToken)
Performs asynchronous syntax analysis of specified document.
public virtual Task ParseSyntaxAsync(Document document, int first, int last, CancellationToken cancellationToken)
Parameters
document
DocumentDocument
to be analyzed.first
intSpecifies first changed line in the source text.
last
intSpecifies last changed line in the source text.
cancellationToken
CancellationTokenRepresents a token handles cancellation operation.