klyn.code.ast.SourceRange.lineSpan
property
public readonly property lineSpan as Long
Description

Total number of lines spanned by this range (endLine - startLine + 1).

Returns

Positive line count.

Example
import klyn.code.ast

r = SourceRange(10, 0, 14, 0)
assert r.lineSpan == 5