TSqlParser.Parse Method (IList<TSqlParserToken>, IList<ParseError>)
When overridden in a derived class, returns a script fragment by using the provided tokens and errors.
Namespace: Microsoft.Data.Schema.ScriptDom.Sql
Assembly: Microsoft.Data.Schema.ScriptDom.Sql (in Microsoft.Data.Schema.ScriptDom.Sql.dll)
Syntax
'Declaration
Public MustOverride Function Parse ( _
tokens As IList(Of TSqlParserToken), _
errors As IList(Of ParseError) _
) As TSqlFragment
public abstract TSqlFragment Parse(
IList<TSqlParserToken> tokens,
IList<ParseError> errors
)
public:
virtual TSqlFragment^ Parse(
IList<TSqlParserToken^>^ tokens,
IList<ParseError^>^ errors
) abstract
abstract Parse :
tokens:IList<TSqlParserToken> *
errors:IList<ParseError> -> TSqlFragment
public abstract function Parse(
tokens : IList<TSqlParserToken>,
errors : IList<ParseError>
) : TSqlFragment
Parameters
- tokens
Type: System.Collections.Generic.IList<TSqlParserToken>
List of parser tokens
- errors
Type: System.Collections.Generic.IList<ParseError>
The parse errors
Return Value
Type: Microsoft.Data.Schema.ScriptDom.Sql.TSqlFragment
A script fragment.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.