slang::syntax::DeferredSourceRange class

Represents a source range or a way to get one by materializing it from a syntax node.

This exists to avoid computing the source range of a node unless it's actually needed.