SyntaxFactory.ParseSyntaxTree 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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
- diagnosticOptions
- ImmutableDictionary<String,ReportDiagnostic>
- 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
- diagnosticOptions
- ImmutableDictionary<String,ReportDiagnostic>
- cancellationToken
- CancellationToken