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