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
- textStream
Type: System.Dataflow. . :: . .ITextStream
- errorReporter
Type: System.Dataflow. . :: . .ErrorReporter
- initialStateId
Type: System. . :: . .Int32
- startLoc
Type: System.Dataflow. . :: . .SourcePoint
- lineMode
Type: System. . :: . .Boolean
Return Value
Type: System.Collections.Generic. . :: . .IEnumerator< (Of < ( <'List< (Of < ( <'ParseToken> ) > ) >> ) > ) >
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see https://msdn.microsoft.com/en-us/library/8skskf63(v=vs.85).