TSqlParser.Parse Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
| Nome | Description |
|---|---|
| Parse(IList<TSqlParserToken>, IList<ParseError>) |
Analisa os tokens especificados em um TSqlFragment. |
| Parse(TextReader, IList<ParseError>) |
O método de análise de bloqueio. |
| Parse(TextReader, IList<ParseError>, Int32, Int32, Int32) |
O método de análise de bloqueio. |
Parse(IList<TSqlParserToken>, IList<ParseError>)
Analisa os tokens especificados em um 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
Parâmetros
- tokens
- IList<TSqlParserToken>
Os tokens de entrada.
- errors
- IList<ParseError>
A IList à qual os erros de análise serão adicionados.
Retornos
Aplica-se a
Parse(TextReader, IList<ParseError>)
O método de análise de bloqueio.
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
Parâmetros
- input
- TextReader
O script que será analisado.
- errors
- IList<ParseError>
Os erros de análise.
Retornos
O fragmento que é criado.
Aplica-se a
Parse(TextReader, IList<ParseError>, Int32, Int32, Int32)
O método de análise de bloqueio.
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
Parâmetros
- input
- TextReader
O script que será analisado.
- errors
- IList<ParseError>
Os erros de análise.
- startOffset
- Int32
O deslocamento inicial da entrada.
- startLine
- Int32
O número de linha inicial da entrada.
- startColumn
- Int32
A posição da coluna inicial para a entrada.
Retornos
O fragmento que é criado.