PatternSearch LoopUntilAny TToken, TTokenType  Method (TToken,  TTokenType )NFX Class Library

[This is preliminary documentation and is subject to change.]

Advances FSM when token's type is any of specified or loops FSM

Namespace: NFX.CodeAnalysis
Assembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
Syntax

public static FSMI LoopUntilAny<TToken, TTokenType>(
	this TToken token,
	params TTokenType[] types
)
where TToken : Token 
where TTokenType : struct, new(), IConvertible

Parameters

token
Type: TToken
types
Type:  TTokenType 
Type Parameters

TToken
TTokenType

Return Value

Type: FSMI

Usage 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 OnlineExtension Methods (Visual Basic) or OnlineExtension Methods (C# Programming Guide).
See Also