VisualBasicSyntaxTree.ParseText Метод
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Перегрузки
ParseText(SourceText, VisualBasicParseOptions, String, CancellationToken) |
Создает дерево синтаксиса, анализируя исходный текст. |
ParseText(SourceText, VisualBasicParseOptions, String, ImmutableDictionary<String,ReportDiagnostic>, CancellationToken) |
Создает дерево синтаксиса, анализируя исходный текст. |
ParseText(String, VisualBasicParseOptions, String, Encoding, CancellationToken) | |
ParseText(String, VisualBasicParseOptions, String, Encoding, ImmutableDictionary<String,ReportDiagnostic>, CancellationToken) |
ParseText(SourceText, VisualBasicParseOptions, String, CancellationToken)
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
Создает дерево синтаксиса, анализируя исходный текст.
public static Microsoft.CodeAnalysis.SyntaxTree ParseText (Microsoft.CodeAnalysis.Text.SourceText text, Microsoft.CodeAnalysis.VisualBasic.VisualBasicParseOptions options = default, string path = "", System.Threading.CancellationToken cancellationToken = default);
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
public static Microsoft.CodeAnalysis.SyntaxTree ParseText (Microsoft.CodeAnalysis.Text.SourceText text, Microsoft.CodeAnalysis.VisualBasic.VisualBasicParseOptions options, string path, System.Threading.CancellationToken cancellationToken);
static member ParseText : Microsoft.CodeAnalysis.Text.SourceText * Microsoft.CodeAnalysis.VisualBasic.VisualBasicParseOptions * string * System.Threading.CancellationToken -> Microsoft.CodeAnalysis.SyntaxTree
[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]
static member ParseText : Microsoft.CodeAnalysis.Text.SourceText * Microsoft.CodeAnalysis.VisualBasic.VisualBasicParseOptions * string * System.Threading.CancellationToken -> Microsoft.CodeAnalysis.SyntaxTree
Public Shared Function ParseText (text As SourceText, Optional options As VisualBasicParseOptions = Nothing, Optional path As String = "", Optional cancellationToken As CancellationToken = Nothing) As SyntaxTree
Public Shared Function ParseText (text As SourceText, options As VisualBasicParseOptions, path As String, cancellationToken As CancellationToken) As SyntaxTree
Параметры
- text
- SourceText
- options
- VisualBasicParseOptions
- path
- String
- cancellationToken
- CancellationToken
Возвращаемое значение
- Атрибуты
Применяется к
ParseText(SourceText, VisualBasicParseOptions, String, ImmutableDictionary<String,ReportDiagnostic>, CancellationToken)
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
Создает дерево синтаксиса, анализируя исходный текст.
public static Microsoft.CodeAnalysis.SyntaxTree ParseText (Microsoft.CodeAnalysis.Text.SourceText text, Microsoft.CodeAnalysis.VisualBasic.VisualBasicParseOptions options = default, string path = "", System.Collections.Immutable.ImmutableDictionary<string,Microsoft.CodeAnalysis.ReportDiagnostic> diagnosticOptions = default, System.Threading.CancellationToken cancellationToken = default);
static member ParseText : Microsoft.CodeAnalysis.Text.SourceText * Microsoft.CodeAnalysis.VisualBasic.VisualBasicParseOptions * string * System.Collections.Immutable.ImmutableDictionary<string, Microsoft.CodeAnalysis.ReportDiagnostic> * System.Threading.CancellationToken -> Microsoft.CodeAnalysis.SyntaxTree
Public Shared Function ParseText (text As SourceText, Optional options As VisualBasicParseOptions = Nothing, Optional path As String = "", Optional diagnosticOptions As ImmutableDictionary(Of String, ReportDiagnostic) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As SyntaxTree
Параметры
- text
- SourceText
- options
- VisualBasicParseOptions
- path
- String
- diagnosticOptions
- ImmutableDictionary<String,ReportDiagnostic>
- cancellationToken
- CancellationToken
Возвращаемое значение
Применяется к
ParseText(String, VisualBasicParseOptions, String, Encoding, CancellationToken)
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
public static Microsoft.CodeAnalysis.SyntaxTree ParseText (string text, Microsoft.CodeAnalysis.VisualBasic.VisualBasicParseOptions options = default, string path = "", System.Text.Encoding encoding = default, System.Threading.CancellationToken cancellationToken = default);
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
public static Microsoft.CodeAnalysis.SyntaxTree ParseText (string text, Microsoft.CodeAnalysis.VisualBasic.VisualBasicParseOptions options, string path, System.Text.Encoding encoding, System.Threading.CancellationToken cancellationToken);
static member ParseText : string * Microsoft.CodeAnalysis.VisualBasic.VisualBasicParseOptions * string * System.Text.Encoding * System.Threading.CancellationToken -> Microsoft.CodeAnalysis.SyntaxTree
[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]
static member ParseText : string * Microsoft.CodeAnalysis.VisualBasic.VisualBasicParseOptions * string * System.Text.Encoding * System.Threading.CancellationToken -> Microsoft.CodeAnalysis.SyntaxTree
Public Shared Function ParseText (text As String, Optional options As VisualBasicParseOptions = Nothing, Optional path As String = "", Optional encoding As Encoding = Nothing, Optional cancellationToken As CancellationToken = Nothing) As SyntaxTree
Public Shared Function ParseText (text As String, options As VisualBasicParseOptions, path As String, encoding As Encoding, cancellationToken As CancellationToken) As SyntaxTree
Параметры
- text
- String
- options
- VisualBasicParseOptions
- path
- String
- encoding
- Encoding
- cancellationToken
- CancellationToken
Возвращаемое значение
- Атрибуты
Применяется к
ParseText(String, VisualBasicParseOptions, String, Encoding, ImmutableDictionary<String,ReportDiagnostic>, CancellationToken)
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
public static Microsoft.CodeAnalysis.SyntaxTree ParseText (string text, Microsoft.CodeAnalysis.VisualBasic.VisualBasicParseOptions 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 ParseText : string * Microsoft.CodeAnalysis.VisualBasic.VisualBasicParseOptions * string * System.Text.Encoding * System.Collections.Immutable.ImmutableDictionary<string, Microsoft.CodeAnalysis.ReportDiagnostic> * System.Threading.CancellationToken -> Microsoft.CodeAnalysis.SyntaxTree
Public Shared Function ParseText (text As String, Optional options As VisualBasicParseOptions = 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
- VisualBasicParseOptions
- path
- String
- encoding
- Encoding
- diagnosticOptions
- ImmutableDictionary<String,ReportDiagnostic>
Устаревший параметр. Теперь параметры диагностики должны передаваться вместе с SyntaxTreeOptionsProvider
- cancellationToken
- CancellationToken