PatternSearch LoopUntilMatch TToken  Method (LazyFSMState TToken ,  LazyFSMPredicate TToken  )NFX Class Library

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

Loops until token pattern match succeeds, considering only primary language tokens. Keeps state machine if match was found on the first matching token

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

public static FSMI LoopUntilMatch<TToken>(
	this LazyFSMState<TToken> state,
	params LazyFSMPredicate<TToken>[] predicates
)
where TToken : Token

Parameters

state
Type: NFX.CodeAnalysis LazyFSMState TToken 
predicates
Type:  NFX.CodeAnalysis LazyFSMPredicate TToken  
Type Parameters

TToken

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 LazyFSMState TToken . 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