[This is preliminary documentation and is subject to change.]
Loops FSM while token's type is any of the specified or aborts
Namespace: NFX.CodeAnalysisAssembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
public static FSMI LoopWhileAnyOrAbort<TToken, TTokenType>(
this TToken token,
params TTokenType[] types
)
where TToken : Token
where TTokenType : struct, new(), IConvertible
public static FSMI LoopWhileAnyOrAbort<TToken, TTokenType>(
this TToken token,
params TTokenType[] types
)
where TToken : Token
where TTokenType : struct, new(), IConvertible
<ExtensionAttribute>
Public Shared Function LoopWhileAnyOrAbort(Of TToken As Token, TTokenType As {Structure, New, IConvertible}) (
token As TToken,
ParamArray types As TTokenType()
) As FSMI
<ExtensionAttribute>
Public Shared Function LoopWhileAnyOrAbort(Of TToken As Token, TTokenType As {Structure, New, IConvertible}) (
token As TToken,
ParamArray types As TTokenType()
) As FSMI
public:
[ExtensionAttribute]
generic<typename TToken, typename TTokenType>
where TToken : Token
where TTokenType : value class, gcnew(), IConvertible
static FSMI LoopWhileAnyOrAbort(
TToken token,
... array<TTokenType>^ types
)
public:
[ExtensionAttribute]
generic<typename TToken, typename TTokenType>
where TToken : Token
where TTokenType : value class, gcnew(), IConvertible
static FSMI LoopWhileAnyOrAbort(
TToken token,
... array<TTokenType>^ types
)
static member LoopWhileAnyOrAbort :
token : 'TToken *
types : 'TTokenType[] -> FSMI when 'TToken : Token when 'TTokenType : struct, new() and IConvertible
static member LoopWhileAnyOrAbort :
token : 'TToken *
types : 'TTokenType[] -> FSMI when 'TToken : Token when 'TTokenType : struct, new() and IConvertible
Parameters
- token
- Type: TToken
- types
- Type: TTokenType
- TToken
- TTokenType
Return Value
Type:
FSMIUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type . When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).