SyntaxFactory.ParseSyntaxTree Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ParseSyntaxTree(String, ParseOptions, String, Encoding, ImmutableDictionary<String,ReportDiagnostic>, CancellationToken) |
Produces a syntax tree by parsing the source text. |
ParseSyntaxTree(String, ParseOptions, String, Encoding, CancellationToken) |
Produces a syntax tree by parsing the source text. |
ParseSyntaxTree(SourceText, ParseOptions, String, CancellationToken) |
Produces a syntax tree by parsing the source text. |
ParseSyntaxTree(SourceText, ParseOptions, String, ImmutableDictionary<String,ReportDiagnostic>, CancellationToken) |
Produces a syntax tree by parsing the source text. |
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
Produces a syntax tree by parsing the source text.
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
Parameters
- text
- String
- options
- ParseOptions
- path
- String
- encoding
- Encoding
- diagnosticOptions
- ImmutableDictionary<String,ReportDiagnostic>
- cancellationToken
- CancellationToken
Returns
Applies to
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
Produces a syntax tree by parsing the source text.
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
Parameters
- text
- String
- options
- ParseOptions
- path
- String
- encoding
- Encoding
- cancellationToken
- CancellationToken
Returns
Applies to
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
Produces a syntax tree by parsing the source text.
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
Parameters
- text
- SourceText
- options
- ParseOptions
- path
- String
- cancellationToken
- CancellationToken
Returns
Applies to
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
Produces a syntax tree by parsing the source text.
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
Parameters
- text
- SourceText
- options
- ParseOptions
- path
- String
- diagnosticOptions
- ImmutableDictionary<String,ReportDiagnostic>
- cancellationToken
- CancellationToken