debugDescription(includeTrivia:converter:mark:indentString:)

Returns a summarized dump of this node.

SyntaxProtocol.swift:643
func debugDescription(includeTrivia: Bool = false, converter: SourceLocationConverter? = nil, mark: SyntaxProtocol? = nil, indentString: String = "") -> String

Parameters

includeTrivia

Add trivia to each dumped node, which the default dump skips.

converter

The location converter for the root of the tree. Adds [startLine:startCol...endLine:endCol] to each node.

mark

Adds *** around the given node, intended to highlight it in the dump.

indentLevel

The starting indent level, 0 by default. Each level is 2 spaces.