Compartir a través de


GetTokens Method (ITextStream, ErrorReporter, Int32, SourcePoint, Boolean)

[This content is no longer valid. For the latest information on "M", "Quadrant", SQL Server Modeling Services, and the Repository, see the Model Citizen blog.]

Namespace:  System.Dataflow
Assembly:  System.Dataflow (in System.Dataflow.dll)

Syntax

'Declaration
PublicFunctionGetTokens ( _
    textStreamAsITextStream, _
    errorReporterAsErrorReporter, _
    initialStateIdAsInteger, _
    startLocAsSourcePoint, _
    lineModeAsBoolean _
) AsIEnumerator(OfList(OfParseToken))
'Usage
DiminstanceAsParserDimtextStreamAsITextStreamDimerrorReporterAsErrorReporterDiminitialStateIdAsIntegerDimstartLocAsSourcePointDimlineModeAsBooleanDimreturnValueAsIEnumerator(OfList(OfParseToken))

returnValue = instance.GetTokens(textStream, _
    errorReporter, initialStateId, startLoc, _
    lineMode)
publicIEnumerator<List<ParseToken>> GetTokens(
    ITextStreamtextStream,
    ErrorReportererrorReporter,
    intinitialStateId,
    SourcePointstartLoc,
    boollineMode
)
public:
IEnumerator<List<ParseToken^>^>^ GetTokens(
    ITextStream^ textStream, 
    ErrorReporter^ errorReporter, 
    intinitialStateId, 
    SourcePointstartLoc, 
    boollineMode
)
publicfunctionGetTokens(
    textStream : ITextStream, 
    errorReporter : ErrorReporter, 
    initialStateId : int, 
    startLoc : SourcePoint, 
    lineMode : boolean
) : IEnumerator<List<ParseToken>>

Parameters

Return Value

Type: System.Collections.Generic. . :: . .IEnumerator< (Of < ( <'List< (Of < ( <'ParseToken> ) > ) >> ) > ) >

.NET Framework Security

See Also

Reference

Parser Class

Parser Members

GetTokens Overload

System.Dataflow Namespace