API Browser

Method

WithSyntaxRoot

func WithSyntaxRoot(root: SyntaxNode) -> Document

Declaring type: Document
Namespace: Raven.CodeAnalysis
Assembly: Raven.CodeAnalysis.dll
Source file: Document.cs

Creates a new document with the specified syntax root.

Parameters

Name Type Description
root SyntaxNode

Return value

Document