TSqlParser.Parse Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
| Nom | Description |
|---|---|
| Parse(IList<TSqlParserToken>, IList<ParseError>) |
Analyse les jetons spécifiés dans un TSqlFragment. |
| Parse(TextReader, IList<ParseError>) |
Méthode d’analyse bloquante. |
| Parse(TextReader, IList<ParseError>, Int32, Int32, Int32) |
Méthode d’analyse bloquante. |
Parse(IList<TSqlParserToken>, IList<ParseError>)
Analyse les jetons spécifiés dans un TSqlFragment.
public abstract Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment Parse(System.Collections.Generic.IList<Microsoft.SqlServer.TransactSql.ScriptDom.TSqlParserToken> tokens, out System.Collections.Generic.IList<Microsoft.SqlServer.TransactSql.ScriptDom.ParseError> errors);
abstract member Parse : System.Collections.Generic.IList<Microsoft.SqlServer.TransactSql.ScriptDom.TSqlParserToken> * IList -> Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
Public MustOverride Function Parse (tokens As IList(Of TSqlParserToken), ByRef errors As IList(Of ParseError)) As TSqlFragment
Paramètres
- tokens
- IList<TSqlParserToken>
Jetons d’entrée.
- errors
- IList<ParseError>
IList auquel les erreurs d’analyse seront ajoutées.
Retours
S’applique à
Parse(TextReader, IList<ParseError>)
Méthode d’analyse bloquante.
public Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment Parse(System.IO.TextReader input, out System.Collections.Generic.IList<Microsoft.SqlServer.TransactSql.ScriptDom.ParseError> errors);
member this.Parse : System.IO.TextReader * IList -> Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
Public Function Parse (input As TextReader, ByRef errors As IList(Of ParseError)) As TSqlFragment
Paramètres
- input
- TextReader
Script qui sera analysé.
- errors
- IList<ParseError>
Erreurs d’analyse.
Retours
Fragment créé.
S’applique à
Parse(TextReader, IList<ParseError>, Int32, Int32, Int32)
Méthode d’analyse bloquante.
public Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment Parse(System.IO.TextReader input, out System.Collections.Generic.IList<Microsoft.SqlServer.TransactSql.ScriptDom.ParseError> errors, int startOffset, int startLine, int startColumn);
member this.Parse : System.IO.TextReader * IList * int * int * int -> Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
Public Function Parse (input As TextReader, ByRef errors As IList(Of ParseError), startOffset As Integer, startLine As Integer, startColumn As Integer) As TSqlFragment
Paramètres
- input
- TextReader
Script qui sera analysé.
- errors
- IList<ParseError>
Erreurs d’analyse.
- startOffset
- Int32
Décalage de départ de l’entrée.
- startLine
- Int32
Numéro de ligne de départ de l’entrée.
- startColumn
- Int32
Position de la colonne de départ pour l’entrée.
Retours
Fragment créé.