Поделиться через


SyntaxFactory.ParseSyntaxTree Метод

Определение

Перегрузки

ParseSyntaxTree(String, ParseOptions, String, Encoding, ImmutableDictionary<String,ReportDiagnostic>, CancellationToken)

Создает дерево синтаксиса, анализируя исходный текст.

ParseSyntaxTree(String, ParseOptions, String, Encoding, CancellationToken)

Создает дерево синтаксиса, анализируя исходный текст.

ParseSyntaxTree(SourceText, ParseOptions, String, CancellationToken)

Создает дерево синтаксиса, анализируя исходный текст.

ParseSyntaxTree(SourceText, ParseOptions, String, ImmutableDictionary<String,ReportDiagnostic>, CancellationToken)

Создает дерево синтаксиса, анализируя исходный текст.

ParseSyntaxTree(String, ParseOptions, String, Encoding, ImmutableDictionary<String,ReportDiagnostic>, CancellationToken)

Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb

Создает дерево синтаксиса, анализируя исходный текст.

public static Microsoft.CodeAnalysis.SyntaxTree ParseSyntaxTree (string text, Microsoft.CodeAnalysis.ParseOptions options = default, string path = "", System.Text.Encoding encoding = default, System.Collections.Immutable.ImmutableDictionary<string,Microsoft.CodeAnalysis.ReportDiagnostic> diagnosticOptions = default, System.Threading.CancellationToken cancellationToken = default);
static member ParseSyntaxTree : string * Microsoft.CodeAnalysis.ParseOptions * string * System.Text.Encoding * System.Collections.Immutable.ImmutableDictionary<string, Microsoft.CodeAnalysis.ReportDiagnostic> * System.Threading.CancellationToken -> Microsoft.CodeAnalysis.SyntaxTree
Public Shared Function ParseSyntaxTree (text As String, Optional options As ParseOptions = Nothing, Optional path As String = "", Optional encoding As Encoding = Nothing, Optional diagnosticOptions As ImmutableDictionary(Of String, ReportDiagnostic) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As SyntaxTree

Параметры

text
String
options
ParseOptions
path
String
encoding
Encoding
cancellationToken
CancellationToken

Возвращаемое значение

Применяется к

ParseSyntaxTree(String, ParseOptions, String, Encoding, CancellationToken)

Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb

Создает дерево синтаксиса, анализируя исходный текст.

public static Microsoft.CodeAnalysis.SyntaxTree ParseSyntaxTree (string text, Microsoft.CodeAnalysis.ParseOptions options = default, string path = "", System.Text.Encoding encoding = default, System.Threading.CancellationToken cancellationToken = default);
public static Microsoft.CodeAnalysis.SyntaxTree ParseSyntaxTree (string text, Microsoft.CodeAnalysis.ParseOptions options, string path, System.Text.Encoding encoding, System.Threading.CancellationToken cancellationToken);
static member ParseSyntaxTree : string * Microsoft.CodeAnalysis.ParseOptions * string * System.Text.Encoding * System.Threading.CancellationToken -> Microsoft.CodeAnalysis.SyntaxTree
Public Shared Function ParseSyntaxTree (text As String, Optional options As ParseOptions = Nothing, Optional path As String = "", Optional encoding As Encoding = Nothing, Optional cancellationToken As CancellationToken = Nothing) As SyntaxTree
Public Shared Function ParseSyntaxTree (text As String, options As ParseOptions, path As String, encoding As Encoding, cancellationToken As CancellationToken) As SyntaxTree

Параметры

text
String
options
ParseOptions
path
String
encoding
Encoding
cancellationToken
CancellationToken

Возвращаемое значение

Применяется к

ParseSyntaxTree(SourceText, ParseOptions, String, CancellationToken)

Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb

Создает дерево синтаксиса, анализируя исходный текст.

public static Microsoft.CodeAnalysis.SyntaxTree ParseSyntaxTree (Microsoft.CodeAnalysis.Text.SourceText text, Microsoft.CodeAnalysis.ParseOptions options = default, string path = "", System.Threading.CancellationToken cancellationToken = default);
public static Microsoft.CodeAnalysis.SyntaxTree ParseSyntaxTree (Microsoft.CodeAnalysis.Text.SourceText text, Microsoft.CodeAnalysis.ParseOptions options, string path, System.Threading.CancellationToken cancellationToken);
static member ParseSyntaxTree : Microsoft.CodeAnalysis.Text.SourceText * Microsoft.CodeAnalysis.ParseOptions * string * System.Threading.CancellationToken -> Microsoft.CodeAnalysis.SyntaxTree
Public Shared Function ParseSyntaxTree (text As SourceText, Optional options As ParseOptions = Nothing, Optional path As String = "", Optional cancellationToken As CancellationToken = Nothing) As SyntaxTree
Public Shared Function ParseSyntaxTree (text As SourceText, options As ParseOptions, path As String, cancellationToken As CancellationToken) As SyntaxTree

Параметры

text
SourceText
options
ParseOptions
path
String
cancellationToken
CancellationToken

Возвращаемое значение

Применяется к

ParseSyntaxTree(SourceText, ParseOptions, String, ImmutableDictionary<String,ReportDiagnostic>, CancellationToken)

Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb
Source:
SyntaxNodeFactories.vb

Создает дерево синтаксиса, анализируя исходный текст.

public static Microsoft.CodeAnalysis.SyntaxTree ParseSyntaxTree (Microsoft.CodeAnalysis.Text.SourceText text, Microsoft.CodeAnalysis.ParseOptions options = default, string path = "", System.Collections.Immutable.ImmutableDictionary<string,Microsoft.CodeAnalysis.ReportDiagnostic> diagnosticOptions = default, System.Threading.CancellationToken cancellationToken = default);
static member ParseSyntaxTree : Microsoft.CodeAnalysis.Text.SourceText * Microsoft.CodeAnalysis.ParseOptions * string * System.Collections.Immutable.ImmutableDictionary<string, Microsoft.CodeAnalysis.ReportDiagnostic> * System.Threading.CancellationToken -> Microsoft.CodeAnalysis.SyntaxTree
Public Shared Function ParseSyntaxTree (text As SourceText, Optional options As ParseOptions = Nothing, Optional path As String = "", Optional diagnosticOptions As ImmutableDictionary(Of String, ReportDiagnostic) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As SyntaxTree

Параметры

text
SourceText
options
ParseOptions
path
String
cancellationToken
CancellationToken

Возвращаемое значение

Применяется к