指定されたトークンとエラーを使用してスクリプト フラグメントを返します。
名前空間: Microsoft.SqlServer.TransactSql.ScriptDom
アセンブリ: Microsoft.SqlServer.TransactSql.ScriptDom (Microsoft.SqlServer.TransactSql.ScriptDom.dll)
構文
'宣言
Public Overrides Function Parse ( _
tokens As IList(Of TSqlParserToken), _
<OutAttribute> ByRef errors As IList(Of ParseError) _
) As TSqlFragment
'使用
Dim instance As TSql100Parser
Dim tokens As IList(Of TSqlParserToken)
Dim errors As IList(Of ParseError)
Dim returnValue As TSqlFragment
returnValue = instance.Parse(tokens, errors)
public override TSqlFragment Parse(
IList<TSqlParserToken> tokens,
out IList<ParseError> errors
)
public:
virtual TSqlFragment^ Parse(
IList<TSqlParserToken^>^ tokens,
[OutAttribute] IList<ParseError^>^% errors
) override
abstract Parse :
tokens:IList<TSqlParserToken> *
errors:IList<ParseError> byref -> TSqlFragment
override Parse :
tokens:IList<TSqlParserToken> *
errors:IList<ParseError> byref -> TSqlFragment
public override function Parse(
tokens : IList<TSqlParserToken>,
errors : IList<ParseError>
) : TSqlFragment
パラメーター
- tokens
型: System.Collections.Generic.IList<TSqlParserToken>
パーサー トークンの一覧です。
- errors
型: System.Collections.Generic.IList<ParseError>%
このメソッドから制御が戻ったとき、解析中に発生したエラーの一覧が含まれます。
戻り値
型: Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
スクリプト フラグメントです。