Member group
ParseText
Declaring type: SyntaxTree
Namespace: Raven.CodeAnalysis.Syntax
Assembly: Raven.CodeAnalysis.dll
Source file: SyntaxTree.GeneratedCode.cs, SyntaxTree.Submissions.cs, SyntaxTree.cs
Overloads / Variants
ParseText
static func ParseText(sourceText: SourceText, options: ParseOptions? = null, path: string? = null) -> SyntaxTree
Source file: SyntaxTree.GeneratedCode.cs, SyntaxTree.Submissions.cs, SyntaxTree.cs
Parameters
| Name | Type | Description |
|---|---|---|
sourceText |
SourceText | |
options |
ParseOptions? | |
path |
String? |
Return value
ParseText
static func ParseText(text: string, options: ParseOptions? = null, encoding: Encoding? = null, path: string? = null) -> SyntaxTree
Source file: SyntaxTree.GeneratedCode.cs, SyntaxTree.Submissions.cs, SyntaxTree.cs
Parameters
| Name | Type | Description |
|---|---|---|
text |
String | |
options |
ParseOptions? | |
encoding |
Encoding? | |
path |
String? |