SyntaxTree Class Extensions
Extension Method | Summary |
---|---|
GetEndLine(SyntaxTree, TextSpan, CancellationToken) | Returns zero-based index of the end line of the specified span. |
GetStartLine(SyntaxTree, TextSpan, CancellationToken) | Returns zero-based index of the start line of the specified span. |
IsMultiLineSpan(SyntaxTree, TextSpan, CancellationToken) | Returns true if the specified TextSpan spans over multiple lines. |
IsSingleLineSpan(SyntaxTree, TextSpan, CancellationToken) | Returns true if the specified TextSpan does not span over multiple lines. |