[This is preliminary documentation and is subject to change.]
Performs FSM instruction unless token's type is any of the specified, then advances FSM
Namespace: NFX.CodeAnalysisAssembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
public static FSMI DoUntilAny<TToken, TTokenType>(
this TToken token,
FSMI instruction,
params TTokenType[] types
)
where TToken : Token
where TTokenType : struct, new(), IConvertible
public static FSMI DoUntilAny<TToken, TTokenType>(
this TToken token,
FSMI instruction,
params TTokenType[] types
)
where TToken : Token
where TTokenType : struct, new(), IConvertible
<ExtensionAttribute>
Public Shared Function DoUntilAny(Of TToken As Token, TTokenType As {Structure, New, IConvertible}) (
token As TToken,
instruction As FSMI,
ParamArray types As TTokenType()
) As FSMI
<ExtensionAttribute>
Public Shared Function DoUntilAny(Of TToken As Token, TTokenType As {Structure, New, IConvertible}) (
token As TToken,
instruction As FSMI,
ParamArray types As TTokenType()
) As FSMI
public:
[ExtensionAttribute]
generic<typename TToken, typename TTokenType>
where TToken : Token
where TTokenType : value class, gcnew(), IConvertible
static FSMI DoUntilAny(
TToken token,
FSMI instruction,
... array<TTokenType>^ types
)
public:
[ExtensionAttribute]
generic<typename TToken, typename TTokenType>
where TToken : Token
where TTokenType : value class, gcnew(), IConvertible
static FSMI DoUntilAny(
TToken token,
FSMI instruction,
... array<TTokenType>^ types
)
static member DoUntilAny :
token : 'TToken *
instruction : FSMI *
types : 'TTokenType[] -> FSMI when 'TToken : Token when 'TTokenType : struct, new() and IConvertible
static member DoUntilAny :
token : 'TToken *
instruction : FSMI *
types : 'TTokenType[] -> FSMI when 'TToken : Token when 'TTokenType : struct, new() and IConvertible
- 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).