UnionEntityExtension extension
Extension to obtain the span for a sequence of SyntacticEntity.
Properties
- span → FileSpan
-
Creates the span covered by all of the entities in this iterable.
no setter
- spanOrNull → FileSpan?
-
Returns the common span of these syntactic entities, or
null
if the iterable is empty.no setter - toSingleEntity → SyntacticEntity
-
Returns a single SyntacticEntity representing this range of entities.
no setter