Share via


TSqlParser.GetTokenStream Method (TextReader, IList<ParseError>)

Returns a list of parser tokens by using the provided text reader and list of parser errors.

Namespace:  Microsoft.Data.Schema.ScriptDom.Sql
Assembly:  Microsoft.Data.Schema.ScriptDom.Sql (in Microsoft.Data.Schema.ScriptDom.Sql.dll)

Syntax

'Declaration
Public Function GetTokenStream ( _
    input As TextReader, _
    errors As IList(Of ParseError) _
) As IList(Of TSqlParserToken)
public IList<TSqlParserToken> GetTokenStream(
    TextReader input,
    IList<ParseError> errors
)
public:
IList<TSqlParserToken^>^ GetTokenStream(
    TextReader^ input, 
    IList<ParseError^>^ errors
)
member GetTokenStream : 
        input:TextReader * 
        errors:IList<ParseError> -> IList<TSqlParserToken> 
public function GetTokenStream(
    input : TextReader, 
    errors : IList<ParseError>
) : IList<TSqlParserToken>

Parameters

Return Value

Type: System.Collections.Generic.IList<TSqlParserToken>
A list of parser tokens.

.NET Framework Security

See Also

Reference

TSqlParser Class

GetTokenStream Overload

Microsoft.Data.Schema.ScriptDom.Sql Namespace

TSqlParserToken