DocumentationParser

Provides functionality to parse documentation comments and extract relevant information from syntax nodes in a C# code syntax tree.

Public Methods

ParseDocumentation

public static DocumentationInfo ParseDocumentation(SyntaxNode node)

Parses the documentation associated with a given syntax node.

Parameters:

  • node (SyntaxNode): The syntax node from which to extract documentation.

Returns: DocumentationInfo

  • An instance of DocumentationInfo containing the extracted documentation details, including raw content and a summary if applicable.