endLocation(converter:afterTrailingTrivia:)

The ending location, in the provided file, of this Syntax node.

SourceLocation.swift:450
func endLocation(converter: SourceLocationConverter, afterTrailingTrivia: Bool = false) -> SourceLocation

Parameters

converter

The SourceLocationConverter that was previously initialized using the root tree of this node.

afterTrailingTrivia

Whether to skip trailing trivia when getting the node’s location. Defaults to false.